summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorEllis Hoag <ellis.sparky.hoag@gmail.com>2025-06-11 14:54:30 -0700
committerGitHub <noreply@github.com>2025-06-11 14:54:30 -0700
commit9c9a4a284e95ea5e27617af7235e3ab049bae680 (patch)
tree4db90ffecaacb5be9787141a61b3960de1597a65 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent6f2ba4712f17d7c82228a5b705570571e13a3832 (diff)
[LOH] Don't emit AdrpAddStr when register could be clobbered (#142849)
https://github.com/llvm/llvm-project/commit/b783aa89795635cbe7b25b4143b562931fcec9f6 added a check to ensure an `AdrpAddLdr` LOH isn't created when there is an instruction between the `add` and `ldr` https://github.com/llvm/llvm-project/blob/50c5704dc000cc0af41a511aa44db03233edf0af/llvm/lib/Target/AArch64/AArch64CollectLOH.cpp#L419-L431 We need a similar check for `AdrpAddStr`. Although this technically isn't implemented in LLD, it could be in the future. https://github.com/llvm/llvm-project/blob/50c5704dc000cc0af41a511aa44db03233edf0af/lld/MachO/Arch/ARM64.cpp#L699-L702
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions