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:
9171ef5
)
Add tests for 64 bit shifts
author
Chris Lattner
<sabre@nondot.org>
Sun, 1 Jun 2003 01:57:44 +0000
(
01:57
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 1 Jun 2003 01:57:44 +0000
(
01:57
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6501
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/ExecutionEngine/test-shift.ll
patch
|
blob
|
history
diff --git
a/test/ExecutionEngine/test-shift.ll
b/test/ExecutionEngine/test-shift.ll
index 289a5899ad8a63e6b779314df96adf1d83fbad53..5137613be584cfa1466d7909599e9c9717addd95 100644
(file)
--- a/
test/ExecutionEngine/test-shift.ll
+++ b/
test/ExecutionEngine/test-shift.ll
@@
-23,9
+23,15
@@
int %main() {
%t2 = shr uint 1, ubyte 5
;%t1 = shr long 1, ubyte %shamt
- %t2 = shr long 1, ubyte 4
+ %t1 = shr long 1, ubyte 4
+ %t2 = shr long 1, ubyte %shamt
+ %t3 = shl long 1, ubyte 4
+ %t4 = shl long 1, ubyte %shamt
;%t1 = shr ulong 1, ubyte %shamt
- %t2 = shr ulong 1, ubyte 5
+ %t1 = shr ulong 1, ubyte 5
+ %t2 = shr ulong 1, ubyte %shamt
+ %t3 = shl ulong 1, ubyte 5
+ %t4 = shl ulong 1, ubyte %shamt
ret int 0
}