[llvm] r175456 - [ms-inline asm] Remove a redundant call to the setHasMSInlineAsm function.
Chad Rosier
mcrosier at apple.com
Mon Feb 18 12:13:59 PST 2013
Author: mcrosier
Date: Mon Feb 18 14:13:59 2013
New Revision: 175456
URL: http://llvm.org/viewvc/llvm-project?rev=175456&view=rev
Log:
[ms-inline asm] Remove a redundant call to the setHasMSInlineAsm function.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp?rev=175456&r1=175455&r2=175456&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Mon Feb 18 14:13:59 2013
@@ -372,7 +372,7 @@ bool SelectionDAGISel::runOnMachineFunct
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::runOnMachineFunct
}
// 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) {
More information about the llvm-commits
mailing list