aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/IR/ConstantRangeTest.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2021-02-20 09:02:39 -0500
committerSanjay Patel <spatel@rotateright.com>2021-02-20 16:02:58 -0500
commite772618f1ee2fe7709a17e6d850623a97e23a8dc (patch)
tree6f6005a726ba8c585e33d76344b732fedf0d5e7a /llvm/unittests/IR/ConstantRangeTest.cpp
parentfbca27bf2967aff047bb6c2842e0de344b67cf7b (diff)
downloadllvm-e772618f1ee2fe7709a17e6d850623a97e23a8dc.zip
llvm-e772618f1ee2fe7709a17e6d850623a97e23a8dc.tar.gz
llvm-e772618f1ee2fe7709a17e6d850623a97e23a8dc.tar.bz2
[InstCombine] fold fdiv with exp/exp2 divisor (PR49147)
Follow-up to: D96648 / b40fde062 ...for the special-case base calls. From the earlier commit: This is unusual in the general (non-reciprocal) case because we need an extra instruction, but that should be better for general FP reassociation and codegen. We conservatively check for "arcp" FMF here as we do with existing fdiv folds, but it is not strictly necessary to have that.
Diffstat (limited to 'llvm/unittests/IR/ConstantRangeTest.cpp')
0 files changed, 0 insertions, 0 deletions