[llvm] [ConstandFolding][SVE] Do not fold fcmp of denormal without known mode. (PR #150614)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 26 01:01:26 PDT 2025
================
@@ -1390,6 +1390,9 @@ Constant *llvm::FlushFPConstant(Constant *Operand, const Instruction *Inst,
Ty = VecTy->getElementType();
}
+ if (isa<ConstantExpr>(Operand))
+ return Operand;
----------------
dtcxzyw wrote:
See https://github.com/llvm/llvm-project/pull/115407#discussion_r1834002800.
https://github.com/llvm/llvm-project/pull/150614
More information about the llvm-commits
mailing list