aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorMichele Scandale <michele.scandale@gmail.com>2024-03-19 09:47:07 -0700
committerGitHub <noreply@github.com>2024-03-19 09:47:07 -0700
commit09eb9f1136c8572c4c3f2ec46be50899c32fc881 (patch)
tree1ebefba155679c8ba95c3a3f8afb2ede47df10fc /llvm/lib/CodeGen
parent24f22b3f93f950348cbff35feb7ad9a5d16d916d (diff)
downloadllvm-09eb9f1136c8572c4c3f2ec46be50899c32fc881.zip
llvm-09eb9f1136c8572c4c3f2ec46be50899c32fc881.tar.gz
llvm-09eb9f1136c8572c4c3f2ec46be50899c32fc881.tar.bz2
[InstCombine] Fix for folding `select` into floating point binary operators. (#83200)
Folding a `select` into a floating point binary operators can only be done if the result is preserved for both case. In particular, if the other operand of the `select` can be a NaN, then the transformation won't preserve the result value.
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions