mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-22 20:26:31 +00:00
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270855 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c0a787d682
commit
e4d541946d
@ -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…
x
Reference in New Issue
Block a user