mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Use the cached subtarget on the MachineFunction when the AsmPrinter
will have a MachineFunction, i.e. in places other than the module level doInitialize/doFinalize. llvm-svn: 232783
This commit is contained in:
parent
ce4aca045f
commit
c3b73ce2de
@ -160,7 +160,7 @@ StackMaps::createLiveOutReg(unsigned Reg, const TargetRegisterInfo *TRI) const {
|
||||
StackMaps::LiveOutVec
|
||||
StackMaps::parseRegisterLiveOutMask(const uint32_t *Mask) const {
|
||||
assert(Mask && "No register mask specified");
|
||||
const TargetRegisterInfo *TRI = AP.TM.getSubtargetImpl()->getRegisterInfo();
|
||||
const TargetRegisterInfo *TRI = AP.MF->getSubtarget().getRegisterInfo();
|
||||
LiveOutVec LiveOuts;
|
||||
|
||||
// Create a LiveOutReg for each bit that is set in the register mask.
|
||||
|
Loading…
x
Reference in New Issue
Block a user