summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Thumb2/thumb2-and.ll
diff options
context:
space:
mode:
authorDavid Goodwin <david_goodwin@apple.com>2009-07-27 16:31:55 +0000
committerDavid Goodwin <david_goodwin@apple.com>2009-07-27 16:31:55 +0000
commit782f242fd789f4cba256b1e00941d16fb3e1c7ef (patch)
tree5db0625697c4ab547c25b2ed4dc8835903e68d54 /llvm/test/CodeGen/Thumb2/thumb2-and.ll
parent543c83e8f22de5572e84d799f92140094e063720 (diff)
downloadbcm5719-llvm-782f242fd789f4cba256b1e00941d16fb3e1c7ef.tar.gz
bcm5719-llvm-782f242fd789f4cba256b1e00941d16fb3e1c7ef.zip
Add ".w" suffix for wide thumb-2 instructions.
llvm-svn: 77199
Diffstat (limited to 'llvm/test/CodeGen/Thumb2/thumb2-and.ll')
-rw-r--r--llvm/test/CodeGen/Thumb2/thumb2-and.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/Thumb2/thumb2-and.ll b/llvm/test/CodeGen/Thumb2/thumb2-and.ll
index ab191d56843..39d39ed3138 100644
--- a/llvm/test/CodeGen/Thumb2/thumb2-and.ll
+++ b/llvm/test/CodeGen/Thumb2/thumb2-and.ll
@@ -1,8 +1,8 @@
-; 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
-; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep {and\\W*r\[0-9\],\\W*r\[0-9\],\\W*r\[0-9\],\\W*lsl\\W*#5$} | count 1
-; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep {and\\W*r\[0-9\],\\W*r\[0-9\],\\W*r\[0-9\],\\W*lsr\\W*#6$} | count 1
-; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep {and\\W*r\[0-9\],\\W*r\[0-9\],\\W*r\[0-9\],\\W*asr\\W*#7$} | count 1
-; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep {and\\W*r\[0-9\],\\W*r\[0-9\],\\W*r\[0-9\],\\W*ror\\W*#8$} | count 1
+; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep {and\\.w\\W*r\[0-9\],\\W*r\[0-9\],\\W*r\[0-9\]$} | count 1
+; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep {and\\.w\\W*r\[0-9\],\\W*r\[0-9\],\\W*r\[0-9\],\\W*lsl\\W*#5$} | count 1
+; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep {and\\.w\\W*r\[0-9\],\\W*r\[0-9\],\\W*r\[0-9\],\\W*lsr\\W*#6$} | count 1
+; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep {and\\.w\\W*r\[0-9\],\\W*r\[0-9\],\\W*r\[0-9\],\\W*asr\\W*#7$} | count 1
+; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep {and\\.w\\W*r\[0-9\],\\W*r\[0-9\],\\W*r\[0-9\],\\W*ror\\W*#8$} | count 1
define i32 @f1(i32 %a, i32 %b) {
%tmp = and i32 %a, %b
OpenPOWER on IntegriCloud