summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
diff options
context:
space:
mode:
authorKay Tiong Khoo <kkhoo@perfwizard.com>2013-12-19 18:07:17 +0000
committerKay Tiong Khoo <kkhoo@perfwizard.com>2013-12-19 18:07:17 +0000
commita570b5adb5e328c6ef3dd62c730389ae9a2bc2fd (patch)
treeb2b4c68ae836eb785cca8c11038983b9464b3d61 /llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
parent4b7946a28aaeb79c86a0633af3751559b02cacdc (diff)
downloadbcm5719-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/InstCombineSelect.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud