1 ; RUN: llc < %s | grep dsgr | count 2 2 ; RUN: llc < %s | grep dsgfr | count 2 3 ; RUN: llc < %s | grep dlr | count 2 4 ; RUN: llc < %s | grep dlgr | count 2 5 6 target datalayout = "E-p:64:64:64-i1:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f128:128:128" 7 target triple = "s390x-unknown-linux-gnu" 8 9 define i64 @div(i64 %a, i64 %b) nounwind readnone { 10 entry: 11 %div = sdiv i64 %a, %b ; <i64> [#uses=1] 12 ret i64 %div 13 } 14 15 define i32 @div1(i32 %a, i32 %b) nounwind readnone { 16 entry: 17 %div = sdiv i32 %a, %b ; <i32> [#uses=1] 18 ret i32 %div 19 } 20 21 define i64 @div2(i64 %a, i64 %b) nounwind readnone { 22 entry: 23 %div = udiv i64 %a, %b ; <i64> [#uses=1] 24 ret i64 %div 25 } 26 27 define i32 @div3(i32 %a, i32 %b) nounwind readnone { 28 entry: 29 %div = udiv i32 %a, %b ; <i32> [#uses=1] 30 ret i32 %div 31 } 32 33 define i64 @rem(i64 %a, i64 %b) nounwind readnone { 34 entry: 35 %rem = srem i64 %a, %b ; <i64> [#uses=1] 36 ret i64 %rem 37 } 38 39 define i32 @rem1(i32 %a, i32 %b) nounwind readnone { 40 entry: 41 %rem = srem i32 %a, %b ; <i32> [#uses=1] 42 ret i32 %rem 43 } 44 45 define i64 @rem2(i64 %a, i64 %b) nounwind readnone { 46 entry: 47 %rem = urem i64 %a, %b ; <i64> [#uses=1] 48 ret i64 %rem 49 } 50 51 define i32 @rem3(i32 %a, i32 %b) nounwind readnone { 52 entry: 53 %rem = urem i32 %a, %b ; <i32> [#uses=1] 54 ret i32 %rem 55 } 56