summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstSimplify/shift-knownbits.ll
diff options
context:
space:
mode:
authorZvi Rackover <zvi.rackover@intel.com>2017-05-07 18:16:37 +0000
committerZvi Rackover <zvi.rackover@intel.com>2017-05-07 18:16:37 +0000
commit973ff7c74c6eb1073376834ce27588caeebfb034 (patch)
tree0e2372f7ab375fb5a9fe5e6254be02b624147cf5 /llvm/test/Transforms/InstSimplify/shift-knownbits.ll
parentff41150ddb5a722c6e614e31f89e8fa52e2f7595 (diff)
downloadbcm5719-llvm-973ff7c74c6eb1073376834ce27588caeebfb034.tar.gz
bcm5719-llvm-973ff7c74c6eb1073376834ce27588caeebfb034.zip
InstructionSimplify: Relanding r301766
Summary: Re-applying r301766 with a fix to a typo and a regression test. The log message for r301766 was: ================================================================================== InstructionSimplify: Canonicalize shuffle operands. NFC-ish. Summary: Apply canonicalization rules: 1. Input vectors with no elements selected from can be replaced with undef. 2. If only one input vector is constant it shall be the second one. This allows constant-folding to cover more ad-hoc simplifications that were in place and avoid duplication for RHS and LHS checks. There are more rules we may want to add in the future when we see a justification. e.g. mask elements that select undef elements can be replaced with undef. ================================================================================== Reviewers: spatel, RKSimon Reviewed By: spatel Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D32863 llvm-svn: 302373
Diffstat (limited to 'llvm/test/Transforms/InstSimplify/shift-knownbits.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud