commit | 3fea19105d4929ad694f0b6272de31924c9f9f09 | [log] [tgz] |
---|---|---|
author | Jim Grosbach <grosbach@apple.com> | Thu Oct 21 22:03:21 2010 +0000 |
committer | Jim Grosbach <grosbach@apple.com> | Thu Oct 21 22:03:21 2010 +0000 |
tree | 7cb3157a30271c048bfb188ecce3dee1eab5f0a2 | |
parent | ee135131b16390177c09c1620e322bcf38a78e0a [diff] [blame] |
ARM Binary encoding information for BFC/BFI instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117072 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/MC/ARM/simple-encoding.ll b/test/MC/ARM/simple-encoding.ll index 650990b..e4ac2f5 100644 --- a/test/MC/ARM/simple-encoding.ll +++ b/test/MC/ARM/simple-encoding.ll
@@ -114,4 +114,11 @@ ret i32 %mul } +define i32 @f12(i32 %a) { +; CHECK: f12: +; CHECK: bfc r0, #4, #20 @ encoding: [0x1f,0x02,0xd7,0xe7] + %tmp = and i32 %a, 4278190095 + ret i32 %tmp +} + declare void @llvm.trap() nounwind