1 ; This test makes sure that these instructions are properly eliminated.
4 ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep rem
9 %B = rem int %A, 1 ; ISA constant 0
13 int %test2(int %A) { ; 0 % X = 0, we don't need ot preserve traps
18 uint %test3(uint %A) {
19 %B = rem uint %A, 8 ; & 7