summaryrefslogtreecommitdiffstats
path: root/lldb/unittests/Core/LogTest.cpp
diff options
context:
space:
mode:
authorMichael Zuckerman <Michael.zuckerman@intel.com>2017-01-18 09:31:13 +0000
committerMichael Zuckerman <Michael.zuckerman@intel.com>2017-01-18 09:31:13 +0000
commit0c0240ce849076009e38fd29b8c42fb27b451db4 (patch)
tree78fff9c2024c20cb491cff9df9ba2d9c93051e08 /lldb/unittests/Core/LogTest.cpp
parent03c5e69d07b97dd650352aeeeec1af383acc41ac (diff)
downloadbcm5719-llvm-0c0240ce849076009e38fd29b8c42fb27b451db4.tar.gz
bcm5719-llvm-0c0240ce849076009e38fd29b8c42fb27b451db4.zip
[X86] Improve mul combine for negative multiplayer (2^c - 1)
This patch improves the mul instruction combine function (combineMul) by adding new layer of logic. In this patch, we are adding the ability to fold (mul x, -((1 << c) -1)) or (mul x, -((1 << c) +1)) into (neg(X << c) -x) or (neg((x << c) + x) respective. Differential Revision: https://reviews.llvm.org/D28232 llvm-svn: 292358
Diffstat (limited to 'lldb/unittests/Core/LogTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud