aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorCarolineConcatto <caroline.concatto@arm.com>2024-10-23 16:16:41 +0100
committerGitHub <noreply@github.com>2024-10-23 16:16:41 +0100
commit82d2df2b4922a158b01ab00f3cac5f552bf0172d (patch)
tree137af1ccea8fdbf6ae61fe1cc6a33aa966e6805c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent629d9809ab1457f525b88efbc0dc2919b8b0d00d (diff)
downloadllvm-82d2df2b4922a158b01ab00f3cac5f552bf0172d.zip
llvm-82d2df2b4922a158b01ab00f3cac5f552bf0172d.tar.gz
llvm-82d2df2b4922a158b01ab00f3cac5f552bf0172d.tar.bz2
[LLVM][AArch64]Add assembly/disassembly for compare-and-branch instr… (#113461)
…uctions (#112726) This patch adds the assembly/disassembly for the following instructions: CBB<cc>, CBH<cc>, CB<cc>(immediate), CB<cc>(register) CBBLE, CBBLO, CBBLS, CBBLT CBHLE, CBHLO, CBHLS, CBHLT CBGE, CBHS, CBLE, CBLS (immediate) CBLE, CBLO, CBLS, CBLT(register) According to [1] [1]https://developer.arm.com/documentation/ddi0602 Co-authored-by: Momchil Velikov momchil.velikov@arm.com Co-authored-by: Spencer Abson spencer.abson@arm.com This patch was reverted(git commit 83c6e2f8f4d3) and is being submitted again with the fix for buildbot failure in: https://lab.llvm.org/buildbot/#/builders/25/builds/3493 The fix was to replaced a shift left of a possibly negative value with a multiplication in DecodePCRelLabel9. Because int64_t ImmVal is signed it needed to replace: (ImmVal << 2) with : (ImmVal * 4)
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions