[llvm] [SDAG] Simplifies `SDNodeFlags` with bitwise logic (PR #114061)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 29 22:06:59 PDT 2024
================
@@ -1006,6 +1016,7 @@ END_TWO_BYTE_PACK()
SDNodeFlags getFlags() const { return Flags; }
void setFlags(SDNodeFlags NewFlags) { Flags = NewFlags; }
+ void clearFlags(unsigned Mask) { Flags &= ~Mask; }
----------------
topperc wrote:
I'm ok with `dropFlags`
https://github.com/llvm/llvm-project/pull/114061
More information about the llvm-commits
mailing list