summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-objcopy/CopyConfig.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2019-04-30 14:37:15 +0000
committerSanjay Patel <spatel@rotateright.com>2019-04-30 14:37:15 +0000
commit0387bf5269114d2607dda6a53e370d0a3d5e7103 (patch)
tree92ba34ff5e69e99153527e4e0c00415e0ee880b1 /llvm/tools/llvm-objcopy/CopyConfig.cpp
parent24896d304df91f0093f033acd53c95120b18f5ac (diff)
downloadbcm5719-llvm-0387bf5269114d2607dda6a53e370d0a3d5e7103.tar.gz
bcm5719-llvm-0387bf5269114d2607dda6a53e370d0a3d5e7103.zip
[SelectionDAG] remove div-by-zero constant folding restriction
We don't have this restriction in IR, so it should not be here either simply out of consistency. Code that wants to handle FP exceptions is expected to use the 'strict' variants of these nodes. We don't get the frem case because frem by 0.0 produces NaN (invalid), and that's the remaining check here (so the removed check for frem was dead code AFAIK). This is the only place in SDAG that uses "HasFPExceptions", so I think we should remove that entirely as a follow-up patch. llvm-svn: 359566
Diffstat (limited to 'llvm/tools/llvm-objcopy/CopyConfig.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud