Sign in
llvm
/
llvm-project
/
llvm
/
b72b4128f221fd5086a1ae46aba7b2fcbf0d6384
/
.
/
test
/
CodeGen
/
BPF
/
sdiv_error.ll
blob: fc79a1d44c16ba17443b4e4aaeb2bd27479b867d [
file
] [
log
] [
blame
]
; RUN: not --crash llc -march=bpf < %s 2> %t1
; RUN: FileCheck %s < %t1
; CHECK: Unsupport signed division
; Function Attrs: norecurse nounwind readnone
define
i32
@test
(
i32
%len
)
#
0
{
%1
=
srem
i32
%len
,
15
ret
i32
%1
}