aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/dotest.py
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2023-10-19 12:45:21 -0400
committerGitHub <noreply@github.com>2023-10-19 12:45:21 -0400
commitc35939b22eba9440dff0509b1c2608de39478f14 (patch)
treef1394c1082cd8c069d4b4656cda23f31d44c3ce2 /lldb/packages/Python/lldbsuite/test/dotest.py
parent200a92520c255c20c916c11e9c240f07b9218380 (diff)
downloadllvm-c35939b22eba9440dff0509b1c2608de39478f14.zip
llvm-c35939b22eba9440dff0509b1c2608de39478f14.tar.gz
llvm-c35939b22eba9440dff0509b1c2608de39478f14.tar.bz2
[VectorCombine] Use isSafeToSpeculativelyExecute to guard VP scalarization (#69494)
Previously we were just matching against a fixed list of VP intrinsics that we knew couldn't be speculated, but we can reuse the logic in isSafeToSpeculativelyExecuteWithOpcode. This also allows speculation in more cases, e.g. when the divisor is known to be non-zero. Unfortunately we can't reuse the exact same function call for VP intrinsics with functional intrinsics instead of opcodes, because isSafeToSpeculativelyExecute needs an instruction that already exists. So this just copies the logic by peeking into the function attributes of the intrinsic.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
0 files changed, 0 insertions, 0 deletions