aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2022-01-24 16:44:27 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2022-01-24 16:44:37 +0000
commit6997f4d07fa4b462dd3a02838a2cfed45db9c8a0 (patch)
tree9ddb6efd69f6bf05ed1dc4038dfb0ffe1ff27f1d /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
parent699e22a083f2bae120e68ce7254fcddb4aaf97b3 (diff)
downloadllvm-6997f4d07fa4b462dd3a02838a2cfed45db9c8a0.zip
llvm-6997f4d07fa4b462dd3a02838a2cfed45db9c8a0.tar.gz
llvm-6997f4d07fa4b462dd3a02838a2cfed45db9c8a0.tar.bz2
[X86] combineSetCCMOVMSK - fold allof(cmpeq(x,y)) -> ptest(sub(x,y)) (PR53379)
As suggested on PR53379, for all-of icmp-eq patterns, we can use ptest(sub(x,y)) on SSE41+ targets This is a generalization of the existing allof(cmpeq(x,0)) -> ptest(x) pattern We can probably extend this further, in particularly to handle 256-bit cases on pre-AVX2 targets, but this part of the generalization is pretty trivial Fixes Issue #53379
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions