diff options
| author | Yi-Chi Lee <55395582+yichi170@users.noreply.github.com> | 2025-11-06 05:57:35 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-05 21:57:35 +0000 |
| commit | 5da2c09e6ad3d18c14071e3b2833f4da9b70b6b8 (patch) | |
| tree | b45b5c408dd86f5873bc52bbb562e5d1c9556145 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
| parent | 5e46103f1b521ccca3e95f27f0e742fa2a2826f7 (diff) | |
| download | llvm-5da2c09e6ad3d18c14071e3b2833f4da9b70b6b8.zip llvm-5da2c09e6ad3d18c14071e3b2833f4da9b70b6b8.tar.gz llvm-5da2c09e6ad3d18c14071e3b2833f4da9b70b6b8.tar.bz2 | |
[X86][ISel] Fix VPTERNLOG matching ensuring the InnerOp is logicOp (#166591)
This patch fixes a crash in `tryVPTERNLOG` when trying to peel out the
outer not in cases like `~(A | B | C)`.
Previously, `InnerOp` was taken directly from `Op->getOperand(0)` before
verifying that it was a logical operation. As a result, the code could
later access `InnerOp->getOperand(0)` or `InnerOp->getOperand(1)` even
when `InnerOp` was something like a bitcast, causing an error.
This patch applies `getFoldableLogicOp` to `InnerOp`, ensuring that
`InnerOp` is a valid logic operation before it is dereferenced.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions
