summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-04-27 23:58:52 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-04-27 23:58:52 +0000
commit8211a6a61d82da340c20fde078148bde63e2d83e (patch)
treeb12e3b87cf051bf56831b9845459c52b85c5803f /lib
parent5a2336e79439281a055b247f54c9d425ea0cd083 (diff)
downloadllvm-8211a6a61d82da340c20fde078148bde63e2d83e.tar.gz
llvm-8211a6a61d82da340c20fde078148bde63e2d83e.tar.bz2
llvm-8211a6a61d82da340c20fde078148bde63e2d83e.tar.xz
fast-isel sret. We actually don't need to do anything special on x86. :) rdar://problem/9303592 .
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130348 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/X86/X86FastISel.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Target/X86/X86FastISel.cpp b/lib/Target/X86/X86FastISel.cpp
index 82ed9bad43..9d25f4ecdc 100644
--- a/lib/Target/X86/X86FastISel.cpp
+++ b/lib/Target/X86/X86FastISel.cpp
@@ -1618,7 +1618,6 @@ bool X86FastISel::X86SelectCall(const Instruction *I) {
// FIXME: Only handle *easy* calls for now.
if (CS.paramHasAttr(AttrInd, Attribute::InReg) ||
- CS.paramHasAttr(AttrInd, Attribute::StructRet) ||
CS.paramHasAttr(AttrInd, Attribute::Nest) ||
CS.paramHasAttr(AttrInd, Attribute::ByVal))
return false;