summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/BPF
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2016-05-26 15:23:50 +0000
committerDiana Picus <diana.picus@linaro.org>2016-05-26 15:23:50 +0000
commit20a8d8e97e35f3128d40f44e20619b82c2fa1b9a (patch)
treee5d31d1ccb23a9a93b812ab19c32d4b2653b9ae2 /llvm/lib/Target/BPF
parent95d6c7731cf3bc6fd85cce5d5fc5381903aef9b2 (diff)
downloadbcm5719-llvm-20a8d8e97e35f3128d40f44e20619b82c2fa1b9a.tar.gz
bcm5719-llvm-20a8d8e97e35f3128d40f44e20619b82c2fa1b9a.zip
[BPF] Remove exit-on-error flag in test (PR27767)
The exit-on-error flag is needed to avoid an assert where llvm::SelectionDAGISel::LowerArguments doesn't create enough arguments. Fill up with zeroes to reach the right number of args. Fixes PR27767. Differential Revision: http://reviews.llvm.org/D20571 llvm-svn: 270855
Diffstat (limited to 'llvm/lib/Target/BPF')
-rw-r--r--llvm/lib/Target/BPF/BPFISelLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/BPF/BPFISelLowering.cpp b/llvm/lib/Target/BPF/BPFISelLowering.cpp
index b2e4783b3ef..ca2370b5b5f 100644
--- a/llvm/lib/Target/BPF/BPFISelLowering.cpp
+++ b/llvm/lib/Target/BPF/BPFISelLowering.cpp
@@ -199,6 +199,7 @@ SDValue BPFTargetLowering::LowerFormalArguments(
}
} else {
fail(DL, DAG, "defined with too many args");
+ InVals.push_back(DAG.getConstant(0, DL, VA.getLocVT()));
}
}
OpenPOWER on IntegriCloud