diff options
| author | Eric Christopher <echristo@gmail.com> | 2015-03-13 00:49:50 +0000 | 
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2015-03-13 00:49:50 +0000 | 
| commit | ef9e01eadaa0c33edf8f1092150312f5fd3fdbd7 (patch) | |
| tree | d6f5297ddd95d9cd714b5d3bba6bf747ff0be2df | |
| parent | 5ab3b79ba8f4fd7c081026ec143f555a4c97346b (diff) | |
| download | bcm5719-llvm-ef9e01eadaa0c33edf8f1092150312f5fd3fdbd7.tar.gz bcm5719-llvm-ef9e01eadaa0c33edf8f1092150312f5fd3fdbd7.zip  | |
Use the cached subtarget off of the machine function.
llvm-svn: 232129
| -rw-r--r-- | llvm/lib/CodeGen/StackMaps.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/StackMaps.cpp b/llvm/lib/CodeGen/StackMaps.cpp index 5d4641956b4..6422f1fe418 100644 --- a/llvm/lib/CodeGen/StackMaps.cpp +++ b/llvm/lib/CodeGen/StackMaps.cpp @@ -123,7 +123,7 @@ StackMaps::parseOperand(MachineInstr::const_mop_iterator MOI,      assert(TargetRegisterInfo::isPhysicalRegister(MOI->getReg()) &&             "Virtreg operands should have been rewritten before now.");      const TargetRegisterClass *RC = -        AP.TM.getSubtargetImpl()->getRegisterInfo()->getMinimalPhysRegClass( +        AP.MF->getSubtarget().getRegisterInfo()->getMinimalPhysRegClass(              MOI->getReg());      assert(!MOI->getSubReg() && "Physical subreg still around.");      Locs.push_back(  | 

