summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-objcopy/llvm-objcopy.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-05-21 23:54:19 +0000
committerSanjay Patel <spatel@rotateright.com>2018-05-21 23:54:19 +0000
commit17a870f07cf41372fe85c603e2338f605b3f196b (patch)
tree5e14280f606e26f12354e2da6b810980eab6fc20 /llvm/tools/llvm-objcopy/llvm-objcopy.cpp
parent5cb2e30c9805e175739cfd80a94f8022a8a84b64 (diff)
downloadbcm5719-llvm-17a870f07cf41372fe85c603e2338f605b3f196b.tar.gz
bcm5719-llvm-17a870f07cf41372fe85c603e2338f605b3f196b.zip
[DAG] fold FP binops with undef operands to NaN
This is the FP sibling of D43141 with the corresponding IR change in rL327212. We can't propagate undef here because if a variable operand is a NaN, these binops must propagate NaN. Neither global nor node-level fast-math makes a difference. If we have 'nnan', I think later folds can turn the NaN into undef. The tests in X86/fp-undef.ll are meant to be the definitive verification for these folds - everything reduces identically now. The other test changes are collateral damage. They may need to be altered to preserve their intent. Differential Revision: https://reviews.llvm.org/D47026 llvm-svn: 332920
Diffstat (limited to 'llvm/tools/llvm-objcopy/llvm-objcopy.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud