In some cases BTI landing pad is inserted even compatible instruction
was there already. Meta instruction does not count in this case
therefore skip them in the check for first instructions in the function.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/CodeGen/AArch64/branch-target-enforcement-metainstruction.ll | ||
---|---|---|
1 ↗ | (On Diff #244199) | This would be better as a MIR test, so we can be sure there is a meta instruction at the beginning of the function. We already have branch-target-enforcement.mir, which this case could be added to. |