diff --git a/lib/CodeGen/VirtRegRewriter.cpp b/lib/CodeGen/VirtRegRewriter.cpp index 6370d8fa5cb..11bd3cde707 100644 --- a/lib/CodeGen/VirtRegRewriter.cpp +++ b/lib/CodeGen/VirtRegRewriter.cpp @@ -2036,13 +2036,10 @@ LocalRewriter::RewriteMBB(LiveIntervals *LIs, // If this is an asm, and PhysReg is used elsewhere as an earlyclobber // operand, we can't also use it as an input. (Outputs always come // before inputs, so we can stop looking at i.) - if (MI.getOpcode()==TargetOpcode::INLINEASM) { + if (MI.isInlineAsm()) { for (unsigned k=0; k