aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@outlook.com>2025-03-31 19:33:40 -0400
committerGitHub <noreply@github.com>2025-03-31 19:33:40 -0400
commitcf6a452cc734e00a1207514bb1fc2b123e31bb5f (patch)
tree3669fcdf64f586aaffd4a27c3bebe7e639426baa /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parent5b8d8bb90a2c9674364e35803e45370c35c35c4a (diff)
downloadllvm-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