aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorYingwei Zheng <dtcxzyw2333@gmail.com>2024-03-19 17:16:48 +0800
committerGitHub <noreply@github.com>2024-03-19 17:16:48 +0800
commita747e86caacf0ba3d5272474da8c10eb0b67dbc2 (patch)
treeee823b589ac316655038366062ec44e8a325d63a /flang/lib/Frontend/CompilerInvocation.cpp
parent6aaf9c83099b80e73ef2208ae9f7f300c7808659 (diff)
downloadllvm-a747e86caacf0ba3d5272474da8c10eb0b67dbc2.zip
llvm-a747e86caacf0ba3d5272474da8c10eb0b67dbc2.tar.gz
llvm-a747e86caacf0ba3d5272474da8c10eb0b67dbc2.tar.bz2
[InstCombine] Fold `fpto{s|u}i non-norm` to zero (#85569)
This patch enables more optimization after canonicalizing `fmul X, 0.0` into a copysign. I decide to implement this fold in InstCombine because `computeKnownFPClass` may be expensive. Alive2: https://alive2.llvm.org/ce/z/ASM8tQ
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions