summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86FastISel.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2013-04-02 16:31:41 +0000
committerChad Rosier <mcrosier@apple.com>2013-04-02 16:31:41 +0000
commit7925d280fff6bfb7454c237d217b6cde93a6194e (patch)
treee1f20450a1d7d223e11cb50a50dd7d79d632e0b0 /llvm/lib/Target/X86/X86FastISel.cpp
parentbe377cd518693415ed05f1e853f582ff8eb8492e (diff)
downloadbcm5719-llvm-7925d280fff6bfb7454c237d217b6cde93a6194e.tar.gz
bcm5719-llvm-7925d280fff6bfb7454c237d217b6cde93a6194e.zip
[fast-isel] Use the correct API to disable FastLowerArguments for Win64.
llvm-svn: 178549
Diffstat (limited to 'llvm/lib/Target/X86/X86FastISel.cpp')
-rw-r--r--llvm/lib/Target/X86/X86FastISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86FastISel.cpp b/llvm/lib/Target/X86/X86FastISel.cpp
index c5da0b9b164..cadec682a43 100644
--- a/llvm/lib/Target/X86/X86FastISel.cpp
+++ b/llvm/lib/Target/X86/X86FastISel.cpp
@@ -1528,7 +1528,7 @@ bool X86FastISel::FastLowerArguments() {
if (!FuncInfo.CanLowerReturn)
return false;
- if (Subtarget->isTargetWindows())
+ if (Subtarget->isTargetWin64())
return false;
const Function *F = FuncInfo.Fn;
OpenPOWER on IntegriCloud