summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2021-10-27 07:53:14 -0400
committerSanjay Patel <spatel@rotateright.com>2021-10-27 07:54:25 -0400
commit6c0a2c2804c04064b723f7663928621d95cac28f (patch)
tree70369e016ea0326dbb7653564eb0ac523a10e58f /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent6edc50971953775ab32d2bf298b4c991e8961055 (diff)
[x86] enhance mayFoldLoad to check alignment
As noted in D112464, a pre-AVX target may not be able to fold an under-aligned vector load into another op, so we shouldn't report that as a load folding candidate. I only found one caller where this would make a difference -- combineCommutableSHUFP() -- so that's where I added a test to show the (minor) regression. Differential Revision: https://reviews.llvm.org/D112545
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions