aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2021-11-12 08:12:59 -0500
committerSanjay Patel <spatel@rotateright.com>2021-11-12 08:17:46 -0500
commitbf5748a1af0d2f6f9396d9dc6ac89d15de41eee7 (patch)
treec46a40acba7e074b1dd0ba78c5e48cf7ad32cd13 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentab6ef5872763fd84e714c30467a49ad41d81bafc (diff)
downloadllvm-bf5748a1af0d2f6f9396d9dc6ac89d15de41eee7.zip
llvm-bf5748a1af0d2f6f9396d9dc6ac89d15de41eee7.tar.gz
llvm-bf5748a1af0d2f6f9396d9dc6ac89d15de41eee7.tar.bz2
[x86] fold vector (X > -1) & Y to shift+andn
and (pcmpgt X, -1), Y --> pandn (vsrai X, BitWidth-1), Y This avoids the -1 constant vector in favor of an arithmetic shift instruction if it exists (the ISA is still not complete after all these years...). We catch this pattern late in combining by matching PCMPGT, so it should not interfere with more general folds. Differential Revision: https://reviews.llvm.org/D113603
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions