[llvm] [DAG][PatternMatch] Add support for matchers with flags; NFC (PR #103060)

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 13 10:14:26 PDT 2024


================
@@ -452,6 +452,20 @@ struct SDNodeFlags {
   bool hasNoFPExcept() const { return NoFPExcept; }
   bool hasUnpredictable() const { return Unpredictable; }
 
+  bool operator==(const SDNodeFlags &other) const {
----------------
mshockwave wrote:

```suggestion
  bool operator==(const SDNodeFlags &Other) const {
```

https://github.com/llvm/llvm-project/pull/103060


More information about the llvm-commits mailing list