This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][v8.5A] Don't create BR instructions in outliner when BTI enabled
ClosedPublic

Authored by olista01 on Oct 4 2018, 1:35 AM.

Details

Summary

When branch target identification is enabled, we can only do indirect
tail-calls through x16 or x17. This means that the outliner can't
transform a BLR instruction at the end of an outlined region into a BR.

Diff Detail

Repository
rL LLVM

Event Timeline

olista01 created this revision.Oct 4 2018, 1:35 AM
olista01 edited reviewers, added: paquette; removed: jpaquette.Oct 4 2018, 1:46 AM
t.p.northover accepted this revision.Oct 8 2018, 4:04 AM

Looks fine.

This revision is now accepted and ready to land.Oct 8 2018, 4:04 AM
This revision was automatically updated to reflect the committed changes.