[llvm] [IR] Remove zext and sext constant expressions (PR #71040)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 3 02:45:06 PDT 2023


================
@@ -1461,17 +1411,13 @@ static ICmpInst::Predicate evaluateICmpRelation(Constant *V1, Constant *V2,
       [[fallthrough]];
     case Instruction::UIToFP:
     case Instruction::SIToFP:
-    case Instruction::ZExt:
----------------
nikic wrote:

I agree that this doesn't make sense. I'll clean it up in a followup change.

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


More information about the llvm-commits mailing list