[llvm-branch-commits] [llvm] Update transformations sensitive to signaling NaNs (PR #199557)
Paul Walker via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue May 26 05:28:08 PDT 2026
================
@@ -126,6 +126,14 @@ struct SimplifyQuery {
/// Otherwise always return false.
LLVM_ABI bool isUndefValue(Value *V) const;
+ bool expectsSignalingNaNs() const {
----------------
paulwalker-arm wrote:
Would it be safer to reverse the polarity of this function? As it stands today, when there is no context instruction available the function will return false and subsequently allow transformations that are not necessary valid?
https://github.com/llvm/llvm-project/pull/199557
More information about the llvm-branch-commits
mailing list