diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2019-05-31 09:47:16 +0000 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2019-05-31 09:47:16 +0000 |
commit | 39390d8317003ffc0627a30ae913bba3b3616efb (patch) | |
tree | 58fc645808b33f13107a1c1ac6c0d63f7c484863 /llvm/lib/Analysis/LoopPass.cpp | |
parent | 886c4ef35aacefd33dab1d1b674a872d08036f00 (diff) | |
download | llvm-39390d8317003ffc0627a30ae913bba3b3616efb.zip llvm-39390d8317003ffc0627a30ae913bba3b3616efb.tar.gz llvm-39390d8317003ffc0627a30ae913bba3b3616efb.tar.bz2 |
[InstCombine] 'C-(C2-X) --> X+(C-C2)' constant-fold
It looks this fold was already partially happening, indirectly
via some other folds, but with one-use limitation.
No other fold here has that restriction.
https://rise4fun.com/Alive/ftR
llvm-svn: 362217
Diffstat (limited to 'llvm/lib/Analysis/LoopPass.cpp')
0 files changed, 0 insertions, 0 deletions