[llvm-commits] [llvm] r117187 - /llvm/trunk/test/MC/ARM/simple-encoding.ll
Jim Grosbach
grosbach at apple.com
Fri Oct 22 16:48:01 PDT 2010
Author: grosbach
Date: Fri Oct 22 18:48:01 2010
New Revision: 117187
URL: http://llvm.org/viewvc/llvm-project?rev=117187&view=rev
Log:
Add a CMP test.
Modified:
llvm/trunk/test/MC/ARM/simple-encoding.ll
Modified: llvm/trunk/test/MC/ARM/simple-encoding.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/simple-encoding.ll?rev=117187&r1=117186&r2=117187&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/simple-encoding.ll (original)
+++ llvm/trunk/test/MC/ARM/simple-encoding.ll Fri Oct 22 18:48:01 2010
@@ -226,3 +226,12 @@
%tmp3 = or i32 %tmp1, %tmp2
ret i32 %tmp3
}
+
+define void @f24(i32 %a) {
+; CHECK: f24
+; CHECK: cmp r0, #1, 16 @ encoding: [0x01,0x08,0x50,0xe3]
+ %b = icmp ugt i32 %a, 65536
+ br i1 %b, label %r, label %r
+r:
+ ret void
+}
More information about the llvm-commits
mailing list