projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove support for parsing the "type i32" syntax for defining a numbered
[oota-llvm.git]
/
test
/
CodeGen
/
Thumb2
/
thumb2-add3.ll
diff --git
a/test/CodeGen/Thumb2/thumb2-add3.ll
b/test/CodeGen/Thumb2/thumb2-add3.ll
index abe15a3f5dd204c774c70d602433ccd316d18368..58fc33372cf6ad0323ed5883857d56459fe5aeda 100644
(file)
--- a/
test/CodeGen/Thumb2/thumb2-add3.ll
+++ b/
test/CodeGen/Thumb2/thumb2-add3.ll
@@
-1,8
+1,9
@@
-; RUN: llvm-as < %s | llc | grep {addw\\W*r\[0-9\],\\W*r\[0-9\],\\W*#\[0-9\]*} | grep {#4095} | count 1
-
-target triple = "thumbv7-apple-darwin"
+; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
define i32 @f1(i32 %a) {
%tmp = add i32 %a, 4095
ret i32 %tmp
}
define i32 @f1(i32 %a) {
%tmp = add i32 %a, 4095
ret i32 %tmp
}
+
+; CHECK: f1:
+; CHECK: addw r0, r0, #4095