[ms-inline asm] Fix undefined behavior to reset hasMSInlineAsm in advance of SelectAllBasicBlocks().

llvm-svn: 175422
This commit is contained in:
NAKAMURA Takumi 2013-02-18 07:06:48 +00:00
parent f11de2f27d
commit 68426c79db
1 changed files with 1 additions and 0 deletions

View File

@ -372,6 +372,7 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) {
SDB->init(GFI, *AA, LibInfo);
MF->setHasMSInlineAsm(false); // FIXME: This affected hasFP().
SelectAllBasicBlocks(Fn);
// If the first basic block in the function has live ins that need to be