aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ObjectFile.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@outlook.com>2025-08-04 08:02:37 -0700
committerAlexey Bataev <a.bataev@outlook.com>2025-08-04 08:31:35 -0700
commit3ee8d047109ea4bb479095f4b153c2120a8d726c (patch)
tree5df106e9d8e61a666596f3942e0dbf8f4a11c6d0 /llvm/lib/Object/ObjectFile.cpp
parentf72c8dce1586d27e4723259166a21f01499dda60 (diff)
downloadllvm-3ee8d047109ea4bb479095f4b153c2120a8d726c.zip
llvm-3ee8d047109ea4bb479095f4b153c2120a8d726c.tar.gz
llvm-3ee8d047109ea4bb479095f4b153c2120a8d726c.tar.bz2
[SLP] Fix a check for main/alternate interchanged instruction
If the instruction is checked for matching the main instruction, need to check if the opcode of the main instruction is compatible with the operands of the instruction. If they are not, need to check the alternate instruction and its operands for compatibility and return alternate instruction as a match. Fixes #151699
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions