[llvm] [LLVM] Add FP instruction intrinsics (PR #193588)
Princeton Ferro via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 29 02:59:45 PDT 2026
================
@@ -7296,6 +7322,14 @@ static Value *simplifyIntrinsic(CallBase *Call, Value *Callee,
return nullptr;
}
+ case Intrinsic::fcmp: {
----------------
Prince781 wrote:
Added `if (Call->hasOperandBundles()) return nullptr;` guard to the llvm.fcmp case. In principle FCMP_TRUE and FCMP_FALSE don't inspect operands, but to be conservative we bail out when operand bundles are present since they could enable FP exception tracking that might change the observable behavior.
https://github.com/llvm/llvm-project/pull/193588
More information about the llvm-commits
mailing list