summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-07-28 16:48:44 +0000
committerSanjay Patel <spatel@rotateright.com>2018-07-28 16:48:44 +0000
commit818b253d3a33e4881b5378beee1fa72a0bece912 (patch)
tree4e2a50682ef795d3c2989882d7a8ce112a2e9764 /llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
parent376051820d17cdc2feccb1878896d571db07f068 (diff)
downloadbcm5719-llvm-818b253d3a33e4881b5378beee1fa72a0bece912.tar.gz
bcm5719-llvm-818b253d3a33e4881b5378beee1fa72a0bece912.zip
[InstCombine] try to fold 'sub' to 'not'
https://rise4fun.com/Alive/jDd Patterns with add/sub combos can be improved using 'not' ops. This is better for analysis and may lead to follow-on transforms because 'xor' and 'add' are commutative/associative. It can also help codegen. llvm-svn: 338200
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud