[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
This commit is contained in:
parent
95d6c7731c
commit
20a8d8e97e
|
@ -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()));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: not llc -march=bpf -exit-on-error < %s 2> %t1
|
||||
; RUN: not llc -march=bpf < %s 2> %t1
|
||||
; RUN: FileCheck %s < %t1
|
||||
; CHECK: too many args
|
||||
|
||||
|
|
Loading…
Reference in New Issue