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://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=b875acda987650d1d734b8bc6e76283950529f84;p=oota-llvm.git [ms-inline asm] Remove a redundant call to the setHasMSInlineAsm function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175456 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index c1235a91aa2..a598ec48504 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/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) {