diff options
author | Alexey Bataev <a.bataev@outlook.com> | 2025-03-31 19:33:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-31 19:33:40 -0400 |
commit | cf6a452cc734e00a1207514bb1fc2b123e31bb5f (patch) | |
tree | 3669fcdf64f586aaffd4a27c3bebe7e639426baa /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp | |
parent | 5b8d8bb90a2c9674364e35803e45370c35c35c4a (diff) | |
download | llvm-cf6a452cc734e00a1207514bb1fc2b123e31bb5f.zip llvm-cf6a452cc734e00a1207514bb1fc2b123e31bb5f.tar.gz llvm-cf6a452cc734e00a1207514bb1fc2b123e31bb5f.tar.bz2 |
[SLP]Fix same/alternate analysis in split node analysis for compares
getSameOpcode in some cases may consider 2 compares as having same
opcode, even though previously they were considered as alternate. It may
happen, because getSameOpcode looses info about previous instructions
and their states. Need to use isAlternateInstruction function instead
for the correct analysis.
Reviewers: RKSimon, hiraditya
Reviewed By: RKSimon
Pull Request: https://github.com/llvm/llvm-project/pull/133769
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions