diff options
Diffstat (limited to 'llvm/lib/IR/ConstantFold.cpp')
-rw-r--r-- | llvm/lib/IR/ConstantFold.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/ConstantFold.cpp b/llvm/lib/IR/ConstantFold.cpp index 3c01a48..1dfd528 100644 --- a/llvm/lib/IR/ConstantFold.cpp +++ b/llvm/lib/IR/ConstantFold.cpp @@ -1574,7 +1574,7 @@ static ICmpInst::Predicate evaluateICmpRelation(Constant *V1, Constant *V2, case Instruction::ZExt: case Instruction::SExt: // We can't evaluate floating point casts or truncations. - if (CE1Op0->getType()->isFloatingPointTy()) + if (CE1Op0->getType()->isFPOrFPVectorTy()) break; // If the cast is not actually changing bits, and the second operand is a |