aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2025-06-25 21:28:34 -0700
committerGitHub <noreply@github.com>2025-06-25 21:28:34 -0700
commitcca44e030ddd74c365fdd6b82946e61efa41dee2 (patch)
treebc3bb1ab0d811731bf4ad842d4ab98b6b338c686 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent5b5e95ceb8d68f709a3c6fee5cf8c09d74c32d51 (diff)
downloadllvm-cca44e030ddd74c365fdd6b82946e61efa41dee2.zip
llvm-cca44e030ddd74c365fdd6b82946e61efa41dee2.tar.gz
llvm-cca44e030ddd74c365fdd6b82946e61efa41dee2.tar.bz2
[RISCV] Explicitly check for supported opcodes in optimizeCondBranch. NFC (#145622)
We don't support any of the immediate branches in this function yet so explicitly exclude them rather than relying on isReg to return false. Remove use of AnalyzeBranch. It doesn't help us much. Part of the code was already getting the operands directly and it just complicated creating a new branch. I also inlined the modifyBranch function so we could use addReg on BuildMI.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions