summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2018-11-24 19:00:45 +0000
committerNikita Popov <nikita.ppv@gmail.com>2018-11-24 19:00:45 +0000
commit2c779c0e342b310ead9461d5eac0b58886241c75 (patch)
tree5b5d26900984e7ba4633e3291d23e4c59420ab63 /compiler-rt/lib
parent42720603c44a398b0ffeeecf8d15dc9adf808e17 (diff)
downloadbcm5719-llvm-2c779c0e342b310ead9461d5eac0b58886241c75.tar.gz
bcm5719-llvm-2c779c0e342b310ead9461d5eac0b58886241c75.zip
[InstCombine] Determine demanded and known bits for funnel shifts
Support funnel shifts in InstCombine demanded bits simplification. If the shift amount is constant, we can determine both the demanded bits of the operands, as well as the known bits of the result. If one of the operands has no demanded bits, it will be replaced by undef and the funnel shift will be simplified into a simple shift due to the simplifications added in D54778. Differential Revision: https://reviews.llvm.org/D54869 llvm-svn: 347515
Diffstat (limited to 'compiler-rt/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud