summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-02-18 07:06:48 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-02-18 07:06:48 +0000
commit68426c79db899c8c9712379e186f28c372f880f2 (patch)
treed49806d37a57fb342a71961b103a2c8ac5e0daff /llvm/lib/CodeGen/SelectionDAG
parentf11de2f27dbafa5350674972e7db68c54296cbb3 (diff)
downloadbcm5719-llvm-68426c79db899c8c9712379e186f28c372f880f2.tar.gz
bcm5719-llvm-68426c79db899c8c9712379e186f28c372f880f2.zip
[ms-inline asm] Fix undefined behavior to reset hasMSInlineAsm in advance of SelectAllBasicBlocks().
llvm-svn: 175422
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 39d3a5d1439..c1235a91aa2 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud