summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-03-27 06:07:05 +0000
committerCraig Topper <craig.topper@intel.com>2019-03-27 06:07:05 +0000
commitfeadc2a1de82b9c1358b6f14072bcf9a9a89a188 (patch)
tree26003897782747867fade4fb3684f731aab3332a /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent7da7b97487a6be012bb367605a6ce1d554056a88 (diff)
[X86] Add test cases for missed opportunities in (x << C1) op C2 to (x op (C2>>C1)) << C1 transform.
We handle the case where the C2 does not fit in a signed 32-bit immediate, but (C2>>C1) does. But there's also some 64-bit opportunities when C2 is not an unsigned 32-bit immediate, but (C2>>C1) is. For OR/XOR this allows us to load the immediate with with MOV32ri instead of a movabsq. For AND it allows us to use a 32-bit AND and fold the immediate. llvm-svn: 357050
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions