summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2013-02-18 20:13:59 +0000
committerChad Rosier <mcrosier@apple.com>2013-02-18 20:13:59 +0000
commit3489bcc9ababd148d680fbdafb932b3c7710ba6b (patch)
treea6bfa235ed70b1c7718a0e170101278989e37b9f /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
parent7d09808818c561f844a4e4ba2e50636a7bd8f01d (diff)
downloadbcm5719-llvm-3489bcc9ababd148d680fbdafb932b3c7710ba6b.tar.gz
bcm5719-llvm-3489bcc9ababd148d680fbdafb932b3c7710ba6b.zip
[ms-inline asm] Remove a redundant call to the setHasMSInlineAsm function.
llvm-svn: 175456
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index c1235a91aa2..a598ec48504 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -372,7 +372,7 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) {
SDB->init(GFI, *AA, LibInfo);
- MF->setHasMSInlineAsm(false); // FIXME: This affected hasFP().
+ MF->setHasMSInlineAsm(false);
SelectAllBasicBlocks(Fn);
// If the first basic block in the function has live ins that need to be
@@ -442,7 +442,6 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) {
}
// Determine if there are any calls in this machine function.
- MF->setHasMSInlineAsm(false);
MachineFrameInfo *MFI = MF->getFrameInfo();
for (MachineFunction::const_iterator I = MF->begin(), E = MF->end(); I != E;
++I) {
OpenPOWER on IntegriCloud