[PATCH] D76066: [ARM][MachineOutliner] Add Machine Outliner support for ARM
Yvan Roux via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 13 13:36:27 PDT 2020
yroux updated this revision to Diff 263830.
yroux added a comment.
I found a last issue when doing a full bootstrap with -moutline used to build clang, there was a case of thunk outlining where the original was call a `BLX LR` which was broken by the outlining call `BL OUTLINE_FUNCTION_X` I fixed this issue by checking the use of link register before handling calls and I've added a test case.
Rebased and full bootstrap in ARM and Thumb2 mode are now OK, I'll commit it tomorrow if that's fine for you.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76066/new/
https://reviews.llvm.org/D76066
Files:
clang/lib/Driver/ToolChains/Clang.cpp
llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
llvm/lib/Target/ARM/ARMBaseInstrInfo.h
llvm/lib/Target/ARM/ARMTargetMachine.cpp
llvm/test/CodeGen/ARM/machine-outliner-tail.ll
llvm/test/CodeGen/ARM/machine-outliner-thunk.ll
llvm/test/CodeGen/ARM/machine-outliner-unoutlinable.mir
llvm/test/CodeGen/ARM/machine-outliner-unsafe-registers.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76066.263830.patch
Type: text/x-patch
Size: 36414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200513/c7462b48/attachment-0001.bin>
More information about the cfe-commits
mailing list