diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2018-07-28 16:48:44 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2018-07-28 16:48:44 +0000 |
| commit | 818b253d3a33e4881b5378beee1fa72a0bece912 (patch) | |
| tree | 4e2a50682ef795d3c2989882d7a8ce112a2e9764 /llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp | |
| parent | 376051820d17cdc2feccb1878896d571db07f068 (diff) | |
| download | bcm5719-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

