projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6457e63
)
Test case for r93758.
author
Evan Cheng
<evan.cheng@apple.com>
Tue, 19 Jan 2010 00:35:20 +0000
(
00:35
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Tue, 19 Jan 2010 00:35:20 +0000
(
00:35
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93824
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CodeGen/ARM/ctz.ll
[new file with mode: 0644]
patch
|
blob
diff --git a/test/CodeGen/ARM/ctz.ll
b/test/CodeGen/ARM/ctz.ll
new file mode 100644
(file)
index 0000000..
1d2ced3
--- /dev/null
+++ b/
test/CodeGen/ARM/ctz.ll
@@ -0,0
+1,11
@@
+; RUN: llc < %s -march=arm -mattr=+v6t2 | FileCheck %s
+
+declare i32 @llvm.cttz.i32(i32)
+
+define i32 @f1(i32 %a) {
+; CHECK: f1:
+; CHECK: rbit
+; CHECK: clz
+ %tmp = call i32 @llvm.cttz.i32( i32 %a )
+ ret i32 %tmp
+}