[llvm] [InstCombine] Decompose more icmps into masks (PR #110836)

via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 2 08:42:47 PDT 2024


================
@@ -92,18 +92,21 @@ namespace llvm {
   Constant *getPredForFCmpCode(unsigned Code, Type *OpTy,
                                CmpInst::Predicate &Pred);
 
-  /// Represents the operation icmp (X & Mask) pred 0, where pred can only be
+  /// Represents the operation icmp (X & Mask) pred Cmp, where pred can only be
----------------
goldsteinn wrote:

Just an initial thought, but imo `Cmp` implies we are doing `(icmp pred (X & Mask), (another icmp)`. How about `Val`? 

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


More information about the llvm-commits mailing list