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