diff options
| author | Kay Tiong Khoo <kkhoo@perfwizard.com> | 2013-12-19 18:07:17 +0000 |
|---|---|---|
| committer | Kay Tiong Khoo <kkhoo@perfwizard.com> | 2013-12-19 18:07:17 +0000 |
| commit | a570b5adb5e328c6ef3dd62c730389ae9a2bc2fd (patch) | |
| tree | b2b4c68ae836eb785cca8c11038983b9464b3d61 /llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp | |
| parent | 4b7946a28aaeb79c86a0633af3751559b02cacdc (diff) | |
| download | bcm5719-llvm-a570b5adb5e328c6ef3dd62c730389ae9a2bc2fd.tar.gz bcm5719-llvm-a570b5adb5e328c6ef3dd62c730389ae9a2bc2fd.zip | |
Improved fix for PR17827 (instcombine of shift/and/compare).
This change fixes the case of arithmetic shift right - do not attempt to fold that case.
This change also relaxes the conditions when attempting to fold the logical shift right and shift left cases.
No additional IR-level test cases included at this time. See http://llvm.org/bugs/show_bug.cgi?id=17827 for proofs that these are correct transformations.
llvm-svn: 197705
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp')
0 files changed, 0 insertions, 0 deletions

