[all-commits] [llvm/llvm-project] 6b6216: Account for PATCHABLE instrs in Branch Relaxation
Daniel Hoekwater via All-commits
all-commits at lists.llvm.org
Fri Apr 14 16:15:32 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6b62166b4cf8ec69f40a81d143fa1d623b4b0d0c
https://github.com/llvm/llvm-project/commit/6b62166b4cf8ec69f40a81d143fa1d623b4b0d0c
Author: Daniel Hoekwater <hoekwater at google.com>
Date: 2023-04-14 (Fri, 14 Apr 2023)
Changed paths:
M llvm/lib/CodeGen/TargetInstrInfo.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
A llvm/test/CodeGen/AArch64/branch-relax-xray.ll
M llvm/test/CodeGen/AArch64/machine-outliner-patchable.ll
A llvm/test/CodeGen/AArch64/machine-outliner-patchable.mir
Log Message:
-----------
Account for PATCHABLE instrs in Branch Relaxation
PATCHABLE_* instructions expand to up to 36-byte
sleds. Updating the size of PATCHABLE instructions
causes them to be outlined, so we need to add a
check to prevent the outliner from considering
basic blocks that contain PATCHABLE instructions.
Differential Revision: https://reviews.llvm.org/D147982
More information about the All-commits
mailing list