mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-04 06:09:05 +00:00
[ms-inline asm] Fix undefined behavior to reset hasMSInlineAsm in advance of SelectAllBasicBlocks().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175422 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d67c5cab3b
commit
3ef669c717
@ -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…
Reference in New Issue
Block a user