summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2019-04-24 22:28:58 +0000
committerSanjay Patel <spatel@rotateright.com>2019-04-24 22:28:58 +0000
commit6f41bf948b5f34aec8f03ec0fbb1f6eabea26984 (patch)
tree28e3e6a9603d78b2e2f366f01385f0eb0ce5d78f /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent8372b467f18da0ff92ff59ba878365e8f4790212 (diff)
downloadbcm5719-llvm-6f41bf948b5f34aec8f03ec0fbb1f6eabea26984.tar.gz
bcm5719-llvm-6f41bf948b5f34aec8f03ec0fbb1f6eabea26984.zip
[DAGCombiner] scale repeated FP divisor by splat factor
If we have a vector FP division with a splatted divisor, use the existing transform that converts 'x/y' into 'x * (1.0/y)' to allow more conversions. This can then potentially be converted into a scalar FP division by existing combines (rL358984) as seen in the tests here. That can be a potentially big perf difference if scalar fdiv has better timing (including avoiding possible frequency throttling for vector ops). Differential Revision: https://reviews.llvm.org/D61028 llvm-svn: 359147
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud