summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2021-11-12 14:02:43 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2021-11-12 14:02:43 +0000
commit59087dce3b588c48dbb102d801dd986ea81eaac9 (patch)
tree0d7655245b3110e4c727d7a30449c3a948945aee /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentebda5e1e521f4e7e47ccddb51a6a1d0d586b4265 (diff)
[X86] combineX86ShufflesConstants - constant fold from target shuffles unless optsize = true
Currently we only constant fold target shuffles if any of the sources has one use, or it would remove a variable shuffle mask - the aim being to avoid constant pool bloat. This patch proposes we should constant fold by default and only limit this if optsize is enabled - I've added a basic test for this in vector-mul.ll (the pmuludq case is by far the most common), I can add other specific test cases if people need them. This should permit further constant folding, break some instruction dependencies and help reduce shuffle port pressure. Differential Revision: https://reviews.llvm.org/D113748
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions