summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2015-10-06 21:16:34 +0000
committerTom Stellard <thomas.stellard@amd.com>2015-10-06 21:16:34 +0000
commit0fbf899c0f21274692eaa2808c60d09c9549b64e (patch)
tree996b6ca28f8bbb3df001aa296d78678695c59724 /llvm/lib
parent6532c6a1e70241e32e922418d39d1d7be5ea28d5 (diff)
downloadbcm5719-llvm-0fbf899c0f21274692eaa2808c60d09c9549b64e.tar.gz
bcm5719-llvm-0fbf899c0f21274692eaa2808c60d09c9549b64e.zip
AMDGPU/SI: Remove calling convention assertion from LowerFormalArguments()
Summary: We currently ignore the calling convention, so there is no real reason to assert on the calling convention of functions. Reviewers: arsenm Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D13367 llvm-svn: 249468
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/AMDGPU/SIISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
index b4b439c2a96..804b5e6075e 100644
--- a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+++ b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
@@ -510,7 +510,7 @@ SDValue SITargetLowering::LowerFormalArguments(
FunctionType *FType = MF.getFunction()->getFunctionType();
SIMachineFunctionInfo *Info = MF.getInfo<SIMachineFunctionInfo>();
- assert(CallConv == CallingConv::C);
+ // FIXME: We currently assume all calling conventions are kernels.
SmallVector<ISD::InputArg, 16> Splits;
BitVector Skipped(Ins.size());
OpenPOWER on IntegriCloud