| commit | 3aaa751712eab12f97f2a059c01e530e45ae47a2 | [log] [tgz] |
|---|---|---|
| author | David Goodwin <david_goodwin@apple.com> | Fri Jun 26 22:37:07 2009 +0000 |
| committer | David Goodwin <david_goodwin@apple.com> | Fri Jun 26 22:37:07 2009 +0000 |
| tree | 5b862401befb01645eb9dbac8ca12c5f805bdc53 | |
| parent | cc030b7e514d2596e296c58095efd4cce9a76631 [diff] [blame] |
Thumb-2 tests llvm-svn: 74345
diff --git a/llvm/test/CodeGen/Thumb2/thumb2-and.ll b/llvm/test/CodeGen/Thumb2/thumb2-and.ll new file mode 100644 index 0000000..360c977 --- /dev/null +++ b/llvm/test/CodeGen/Thumb2/thumb2-and.ll
@@ -0,0 +1,6 @@ +; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep {and\\W*r\[0-9\],\\W*r\[0-9\],\\W*r\[0-9\]} | count 1 + +define i32 @f1(i32 %a, i32 %b) { + %tmp = and i32 %a, %b + ret i32 %tmp +}