diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-02-18 07:06:48 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-02-18 07:06:48 +0000 |
commit | 3ef669c7175f959c39b7652f10c2b6ed9d8f83ae (patch) | |
tree | a65277d8c9bfb22e9b00caebd275f49ee3314462 | |
parent | d67c5cab3b770b0709dcb05256aef51b35f3f113 (diff) | |
download | external_llvm-3ef669c7175f959c39b7652f10c2b6ed9d8f83ae.zip external_llvm-3ef669c7175f959c39b7652f10c2b6ed9d8f83ae.tar.gz external_llvm-3ef669c7175f959c39b7652f10c2b6ed9d8f83ae.tar.bz2 |
[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
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 39d3a5d..c1235a9 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -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 |