mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-01 07:11:45 +00:00
[ms-inline asm] Fix undefined behavior to reset hasMSInlineAsm in advance of SelectAllBasicBlocks().
llvm-svn: 175422
This commit is contained in:
parent
4cbcad5731
commit
5dfa2c744d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user