[llvm] [PowerPC]redesign the target flags (PR #69695)
Qiu Chaofan via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 9 23:00:41 PST 2023
================
@@ -102,79 +102,99 @@ class ModulePass;
// PPC Specific MachineOperand flags.
MO_NO_FLAG,
+ /// On PPC, the 12 bits are not enough for all target operand flags.
+ /// Treat all PPC target flags as direct flags. This also means we can not
+ /// use a bitmask flag, so if one operand has two or more flags, a fake
+ /// combination flag must be created. See example MO_GOT_TPREL_PCREL_FLAG.
+
----------------
ecnelises wrote:
Yes, I did not catch meaning of _direct flag_ when I wrote the comment. Is `fake combination flag` still confusing though? Maybe `... a new direct flag must be created ...`.
https://github.com/llvm/llvm-project/pull/69695
More information about the llvm-commits
mailing list