mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-08 13:00:43 +00:00
2462cfbd35
Signed-off-by: Yonghong Song <yhs@plumgrid.com> Signed-off-by: Alexei Starovoitov <ast@fb.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@263842 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
218 B
LLVM
10 lines
218 B
LLVM
; RUN: not 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
|
|
}
|