[all-commits] [llvm/llvm-project] f1b2dd: [AArch64][BTI] Prevent Machine Scheduler from movi...
Anatoly Trosinenko via All-commits
all-commits at lists.llvm.org
Fri Oct 6 08:05:19 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f1b2dd2a111f038420b3f69d4ce0b3b3f245c873
https://github.com/llvm/llvm-project/commit/f1b2dd2a111f038420b3f69d4ce0b3b3f245c873
Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
Date: 2023-10-06 (Fri, 06 Oct 2023)
Changed paths:
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.h
M llvm/test/CodeGen/AArch64/machine-outliner-noreturn-no-stack.mir
M llvm/test/CodeGen/AArch64/machine-outliner-noreturn-save-lr.mir
A llvm/test/CodeGen/AArch64/misched-branch-targets.mir
Log Message:
-----------
[AArch64][BTI] Prevent Machine Scheduler from moving branch targets (#68313)
Moving instructions that are recognized as branch targets by BTI can
result in runtime crash.
In outliner tests, replaced "BRK 1" with "HINT 0" (a.k.a. NOP) as a
generic outlinable instruction.
More information about the All-commits
mailing list