blob: c1d90b9487a8f65b66f2c068d890fc444459f596 [file] [log] [blame]
David Goodwin2634e982009-06-26 18:10:30 +00001; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep {cmp\\W*r\[0-9\],\\W*r\[0-9\]} | Count 2
2
3define i1 @f1(i32 %a, i32 %b) {
4 %tmp = icmp ne i32 %a, %b
5 ret i1 %tmp
6}
7
8define i1 @f2(i32 %a, i32 %b) {
9 %tmp = icmp eq i32 %a, %b
10 ret i1 %tmp
11}