diff options
| author | Sergei Barannikov <barannikov88@gmail.com> | 2024-12-12 00:41:44 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-12 00:41:44 +0300 |
| commit | 6b2232606d01a029f640b61b4f985d9dea79d4b6 (patch) | |
| tree | e9829d0be4c76bbf0bfaaafe56462965994f893e /llvm/utils/TableGen/Basic | |
| parent | 4993a30365309c5a0406fb63647be96e93fa3516 (diff) | |
[TableGen] Replace WantRoot/WantParent SDNode properties with flags (#119599)
These properties are only valid on ComplexPatterns. Having them as flags
is more convenient because one can now use "let = ... in" syntax to set
these flags on several patterns at a time. This is also less error-prone
as it makes it impossible to specify these properties on records derived
from SDPatternOperator.
Pull Request: https://github.com/llvm/llvm-project/pull/119599
Diffstat (limited to 'llvm/utils/TableGen/Basic')
| -rw-r--r-- | llvm/utils/TableGen/Basic/SDNodeProperties.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/Basic/SDNodeProperties.h b/llvm/utils/TableGen/Basic/SDNodeProperties.h index 1fe4044edcea..97813067341f 100644 --- a/llvm/utils/TableGen/Basic/SDNodeProperties.h +++ b/llvm/utils/TableGen/Basic/SDNodeProperties.h @@ -28,8 +28,6 @@ enum SDNP { SDNPSideEffect, SDNPMemOperand, SDNPVariadic, - SDNPWantRoot, - SDNPWantParent }; unsigned parseSDPatternOperatorProperties(const Record *R); |
