diff options
| author | Eli Friedman <efriedma@codeaurora.org> | 2018-08-01 00:37:20 +0000 |
|---|---|---|
| committer | Eli Friedman <efriedma@codeaurora.org> | 2018-08-01 00:37:20 +0000 |
| commit | da08078fb2c40f78c955bbcab5489bb3d6e01d69 (patch) | |
| tree | 4ea7b2eb805fdb3af3e9b9f0a94b6ca37e900f54 /llvm/lib/CodeGen/RegUsageInfoPropagate.cpp | |
| parent | f4e248c23e05e374910a8becbb91f5d3d7a76a01 (diff) | |
| download | bcm5719-llvm-da08078fb2c40f78c955bbcab5489bb3d6e01d69.tar.gz bcm5719-llvm-da08078fb2c40f78c955bbcab5489bb3d6e01d69.zip | |
[MachineOutliner] Clean up subtarget handling.
Call shouldOutlineFromFunctionByDefault, isFunctionSafeToOutlineFrom,
getOutliningType, and getMachineOutlinerMBBFlags using the correct
TargetInstrInfo. And don't create a MachineFunction for a function
declaration.
The call to getOutliningCandidateInfo is still a little weird, but at
least the weirdness is explicitly called out.
Differential Revision: https://reviews.llvm.org/D49880
llvm-svn: 338465
Diffstat (limited to 'llvm/lib/CodeGen/RegUsageInfoPropagate.cpp')
0 files changed, 0 insertions, 0 deletions

