1 ; RUN: llc < %s -march=alpha | not grep cmovlt 2 ; RUN: llc < %s -march=alpha | grep cmoveq 3 4 define i64 @cmov_lt(i64 %a, i64 %c) { 5 entry: 6 %tmp.1 = icmp slt i64 %c, 0 ; <i1> [#uses=1] 7 %retval = select i1 %tmp.1, i64 %a, i64 10 ; <i64> [#uses=1] 8 ret i64 %retval 9 } 10 11 define i64 @cmov_const(i64 %a, i64 %b, i64 %c) { 12 entry: 13 %tmp.1 = icmp slt i64 %a, %b ; <i1> [#uses=1] 14 %retval = select i1 %tmp.1, i64 %c, i64 10 ; <i64> [#uses=1] 15 ret i64 %retval 16 } 17 18 define i64 @cmov_lt2(i64 %a, i64 %c) { 19 entry: 20 %tmp.1 = icmp sgt i64 %c, 0 ; <i1> [#uses=1] 21 %retval = select i1 %tmp.1, i64 10, i64 %a ; <i64> [#uses=1] 22 ret i64 %retval 23 } 24