summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/BPF/sdiv_error.ll
blob: 053b82dd98fad21676088818057db21b7083c8de (plain)
1
2
3
4
5
6
7
8
9
; 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
}
OpenPOWER on IntegriCloud