1 ; RUN: llc < %s -march=alpha | grep cmpbge | count 2 2 3 define i1 @test1(i64 %A, i64 %B) { 4 %C = and i64 %A, 255 ; <i64> [#uses=1] 5 %D = and i64 %B, 255 ; <i64> [#uses=1] 6 %E = icmp uge i64 %C, %D ; <i1> [#uses=1] 7 ret i1 %E 8 } 9 10 define i1 @test2(i64 %a, i64 %B) { 11 %A = shl i64 %a, 1 ; <i64> [#uses=1] 12 %C = and i64 %A, 254 ; <i64> [#uses=1] 13 %D = and i64 %B, 255 ; <i64> [#uses=1] 14 %E = icmp uge i64 %C, %D ; <i1> [#uses=1] 15 ret i1 %E 16 } 17