aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineDebugify.cpp
diff options
context:
space:
mode:
authorJim Lin <jim@andestech.com>2021-05-21 22:50:44 +0800
committerJim Lin <jim@andestech.com>2021-05-21 23:02:19 +0800
commit445680593889199667d60207e302bc870f650fa5 (patch)
tree210c058f78fcd13259de05dcec4bbc527e00681e /llvm/lib/CodeGen/MachineDebugify.cpp
parent35e5c3310fb0d974b6a151c775ac46a3c3a0e151 (diff)
downloadllvm-445680593889199667d60207e302bc870f650fa5.zip
llvm-445680593889199667d60207e302bc870f650fa5.tar.gz
llvm-445680593889199667d60207e302bc870f650fa5.tar.bz2
[X86] Don't fold (fneg (fma (fneg X), Y, (fneg Z))) to (fma X, Y, Z)
Check if it has no signed zeros flag (nsz) in getNegatedExpression for x86. This patch fixed miscompilation: https://alive2.llvm.org/ce/z/XxwBAJ Reviewed By: RKSimon, spatel Differential Revision: https://reviews.llvm.org/D90901
Diffstat (limited to 'llvm/lib/CodeGen/MachineDebugify.cpp')
0 files changed, 0 insertions, 0 deletions