aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2021-12-09 09:54:45 -0800
committerPhilip Reames <listmail@philipreames.com>2021-12-09 10:04:49 -0800
commit98f5ab6af3eda88e82c93ca05f82485b156d6126 (patch)
treebd0f3137de926ed6fbb6d518ce174abc76c54704 /llvm/lib/Transforms/Utils/LoopUtils.cpp
parent4c7de4fbda03f38514c4aebed34dc2bbfb7e62a5 (diff)
downloadllvm-98f5ab6af3eda88e82c93ca05f82485b156d6126.zip
llvm-98f5ab6af3eda88e82c93ca05f82485b156d6126.tar.gz
llvm-98f5ab6af3eda88e82c93ca05f82485b156d6126.tar.bz2
[instcombine] Do demanded elts last when visiting extractelement
This reorders existing transforms to put demanded elements last. The reasoning here is that when we have an example which can be scalarized or handled via demanded bits, we should prefer scalarization as that doesn't require dropping flags on arithmetic instructions. This doesn't show major changes in the tests today, but once I add support for fast math flags to dropPoisonGeneratingFlags this becomes glaringly obvious. Differential Revision: https://reviews.llvm.org/D115394
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions