aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/ExpandISelPseudos.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/ExpandISelPseudos.cpp')
-rw-r--r--lib/CodeGen/ExpandISelPseudos.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/ExpandISelPseudos.cpp b/lib/CodeGen/ExpandISelPseudos.cpp
index a67140ece4..b5f107d5cd 100644
--- a/lib/CodeGen/ExpandISelPseudos.cpp
+++ b/lib/CodeGen/ExpandISelPseudos.cpp
@@ -62,8 +62,7 @@ bool ExpandISelPseudos::runOnMachineFunction(MachineFunction &MF) {
MachineInstr *MI = MBBI++;
// If MI is a pseudo, expand it.
- const MCInstrDesc &MCID = MI->getDesc();
- if (MCID.usesCustomInsertionHook()) {
+ if (MI->usesCustomInsertionHook()) {
Changed = true;
MachineBasicBlock *NewMBB =
TLI->EmitInstrWithCustomInserter(MI, MBB);