aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2017-05-08 20:49:59 +0000
committerSanjay Patel <spatel@rotateright.com>2017-05-08 20:49:59 +0000
commita1c88148910f71841b3ab1deafb7d1b285a24a07 (patch)
treef044bb2ada370ef0bf52ee1876f8dc9151eab01e /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentaa42a100513a040a2e8276287011a36c7e042e7b (diff)
downloadllvm-a1c88148910f71841b3ab1deafb7d1b285a24a07.zip
llvm-a1c88148910f71841b3ab1deafb7d1b285a24a07.tar.gz
llvm-a1c88148910f71841b3ab1deafb7d1b285a24a07.tar.bz2
[InstCombine] add folds for not-of-shift-right
This is another step towards getting rid of dyn_castNotVal, so we can recommit: https://reviews.llvm.org/rL300977 As the tests show, we were missing the lshr case for constants and both ashr/lshr vector splat folds. The ashr case with constant was being performed inefficiently in 2 steps. It's also possible there was a latent bug in that case because we can't do that fold if the constant is positive: http://rise4fun.com/Alive/Bge llvm-svn: 302465
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions