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:
cd618ef
)
new testcase for extractelement instruction
author
Chris Lattner
<sabre@nondot.org>
Tue, 10 Jan 2006 20:00:20 +0000
(20:00 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 10 Jan 2006 20:00:20 +0000
(20:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25186
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Feature/instructions.ll
[new file with mode: 0644]
patch
|
blob
diff --git a/test/Feature/instructions.ll
b/test/Feature/instructions.ll
new file mode 100644
(file)
index 0000000..
2edb1fa
--- /dev/null
+++ b/
test/Feature/instructions.ll
@@ -0,0
+1,8
@@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
+uint %test_extractelement(<4 x uint> %V) {
+ %R = extractelement <4 x uint> %V, uint 1
+ ret uint %R
+}