aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineCSE.cpp
diff options
context:
space:
mode:
authorShuxin Yang <shuxin.llvm@gmail.com>2012-11-26 21:44:25 +0000
committerShuxin Yang <shuxin.llvm@gmail.com>2012-11-26 21:44:25 +0000
commitb30e256993e075c838ffa1b7af6b04dd28be2c34 (patch)
tree91872f135012786c20ce9ccc03aca3c38546b10d /lib/CodeGen/MachineCSE.cpp
parentec66ac5318f8546fcb002e1f26063144e224f279 (diff)
rdar://12329730 (defect 2)
Enhancement to InstCombine. Try to catch this opportunity: --------------------------------------------------------------- ((X^C1) >> C2) ^ C3 => (X>>C2) ^ ((C1>>C2)^C3) where the subexpression "X ^ C1" has more than one uses, and "(X^C1) >> C2" has single use. ---------------------------------------------------------------- Reviewed by Nadav (with minor change per his request). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168615 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineCSE.cpp')
0 files changed, 0 insertions, 0 deletions