[llvm] [IRCE] Skip icmp ptr in `InductiveRangeCheck::parseRangeCheckICmp` (PR #89967)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 26 02:56:56 PDT 2024


================
@@ -279,6 +279,9 @@ bool InductiveRangeCheck::parseRangeCheckICmp(Loop *L, ICmpInst *ICI,
   Value *LHS = ICI->getOperand(0);
   Value *RHS = ICI->getOperand(1);
 
+  if (!LHS->getType()->isIntegerTy())
----------------
fhahn wrote:

Ah my bad, thanks for clarifying

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


More information about the llvm-commits mailing list