[llvm] [CmpInstAnalysis] Decompose icmp eq (and x, C) C2 (PR #136367)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 23 00:54:16 PDT 2025


================
@@ -95,24 +95,28 @@ namespace llvm {
   /// Represents the operation icmp (X & Mask) pred C, where pred can only be
   /// eq or ne.
   struct DecomposedBitTest {
-    Value *X;
+    Value *X = nullptr;
----------------
dtcxzyw wrote:

```suggestion
    Value *X;
```

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


More information about the llvm-commits mailing list