From: Chad Rosier Date: Mon, 18 Feb 2013 20:13:59 +0000 (+0000) Subject: [ms-inline asm] Remove a redundant call to the setHasMSInlineAsm function. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3489bcc9ababd148d680fbdafb932b3c7710ba6b;p=platform%2Fupstream%2Fllvm.git [ms-inline asm] Remove a redundant call to the setHasMSInlineAsm function. llvm-svn: 175456 --- diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index c1235a9..a598ec4 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -372,7 +372,7 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) { SDB->init(GFI, *AA, LibInfo); - MF->setHasMSInlineAsm(false); // FIXME: This affected hasFP(). + MF->setHasMSInlineAsm(false); SelectAllBasicBlocks(Fn); // If the first basic block in the function has live ins that need to be @@ -442,7 +442,6 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) { } // Determine if there are any calls in this machine function. - MF->setHasMSInlineAsm(false); MachineFrameInfo *MFI = MF->getFrameInfo(); for (MachineFunction::const_iterator I = MF->begin(), E = MF->end(); I != E; ++I) {