1 ; RUN: llc < %s -march=x86 | FileCheck %s
5 define i32 @test1(i32 %X) {
6 %tmp1 = srem i32 %X, 255 ; <i32> [#uses=1]
12 define i32 @test2(i32 %X) {
13 %tmp1 = srem i32 %X, 256 ; <i32> [#uses=1]
19 define i32 @test3(i32 %X) {
20 %tmp1 = urem i32 %X, 255 ; <i32> [#uses=1]
26 define i32 @test4(i32 %X) {
27 %tmp1 = urem i32 %X, 256 ; <i32> [#uses=1]
33 define i32 @test5(i32 %X) nounwind readnone {