summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
diff options
context:
space:
mode:
authorAbinav Puthan Purayil <abinav.puthanpurayil@amd.com>2021-11-23 22:43:18 +0530
committerAbinav Puthan Purayil <abinav.puthanpurayil@amd.com>2021-11-26 17:05:29 +0530
commit4af45f10cccbaabc87758c4dc50b94bfd31fe848 (patch)
treedcb0218a8d691abfbe6918888c55b1f40fe31c7b /lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
parente20391fc5d6a72e712449142e803fb81b8a75153 (diff)
[GlobalISel] Fold or of shifts to funnel shift.
This change folds a basic funnel shift idiom: - (or (shl x, amt), (lshr y, sub(bw, amt))) -> fshl(x, y, amt) - (or (shl x, sub(bw, amt)), (lshr y, amt)) -> fshr(x, y, amt) This also helps in folding to rotate shift if x and y are equal since we already have a funnel shift to rotate combine. Differential Revision: https://reviews.llvm.org/D114499
Diffstat (limited to 'lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp')
0 files changed, 0 insertions, 0 deletions