diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-10-22 23:48:01 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-10-22 23:48:01 +0000 |
commit | 48c9f2081d9d26a019ecadde5493f7a094896bc8 (patch) | |
tree | 3a1beb9d5e0361f386db73d0a4f3662716cba270 | |
parent | 884f22869248db5eab10abd88f556230ab91b51a (diff) | |
download | external_llvm-48c9f2081d9d26a019ecadde5493f7a094896bc8.zip external_llvm-48c9f2081d9d26a019ecadde5493f7a094896bc8.tar.gz external_llvm-48c9f2081d9d26a019ecadde5493f7a094896bc8.tar.bz2 |
Add a CMP test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117187 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/MC/ARM/simple-encoding.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/MC/ARM/simple-encoding.ll b/test/MC/ARM/simple-encoding.ll index df0d468..f279bda 100644 --- a/test/MC/ARM/simple-encoding.ll +++ b/test/MC/ARM/simple-encoding.ll @@ -226,3 +226,12 @@ define i32 @f23(i32 %X, i32 %Y) { %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 +} |