aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2022-11-10 17:35:36 -0500
committerSanjay Patel <spatel@rotateright.com>2022-11-11 08:42:44 -0500
commit21f1b2da95a32307d42128d9fb446c57f0fb8ee9 (patch)
treeb5ee449804c2c6f16e075b1fa63d37b0f735f1b9 /clang/lib/Frontend/CompilerInvocation.cpp
parent15b2702e83fa1e99e56b51a4254e8dc4f331ca9d (diff)
downloadllvm-21f1b2da95a32307d42128d9fb446c57f0fb8ee9.zip
llvm-21f1b2da95a32307d42128d9fb446c57f0fb8ee9.tar.gz
llvm-21f1b2da95a32307d42128d9fb446c57f0fb8ee9.tar.bz2
[InstSimplify] fold fsub nnan with Inf operand
Similar to fbc2c8f2fbbb, but if we have a non-canonical fsub with constant operand 1, then flip the sign of the Infinity: https://alive2.llvm.org/ce/z/vKWfhW If Infinity is operand 0, then the sign remains: https://alive2.llvm.org/ce/z/73d97C
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions