summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2016-05-26 15:24:55 +0000
committerDiana Picus <diana.picus@linaro.org>2016-05-26 15:24:55 +0000
commit81bc3170e8cf9c5063499af8e627e8c709966730 (patch)
treeca5a91e0f672e5d82c0e5b4f4305790876d83ebc /llvm/lib
parent20a8d8e97e35f3128d40f44e20619b82c2fa1b9a (diff)
downloadbcm5719-llvm-81bc3170e8cf9c5063499af8e627e8c709966730.tar.gz
bcm5719-llvm-81bc3170e8cf9c5063499af8e627e8c709966730.zip
[AMDGPU] Remove exit-on-error flag from test (PR27762)
Similar to r269948, but for argument lowering. Fixes PR27762 Differential Revision: http://reviews.llvm.org/D20430 llvm-svn: 270856
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 2b3c31fe693..c4e64dcda47 100644
--- a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+++ b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
@@ -581,7 +581,7 @@ SDValue SITargetLowering::LowerFormalArguments(
DiagnosticInfoUnsupported NoGraphicsHSA(
*Fn, "unsupported non-compute shaders with HSA", DL.getDebugLoc());
DAG.getContext()->diagnose(NoGraphicsHSA);
- return SDValue();
+ return DAG.getEntryNode();
}
SmallVector<ISD::InputArg, 16> Splits;
OpenPOWER on IntegriCloud