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:
3d87b42
)
Modernize testcase
author
Chris Lattner
<sabre@nondot.org>
Mon, 10 Mar 2003 18:20:53 +0000
(18:20 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 10 Mar 2003 18:20:53 +0000
(18:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5726
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/shift.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/shift.ll
b/test/Transforms/InstCombine/shift.ll
index 5f7d2a59c44fec2b46bee88ea701eb9eb787a40f..3465baf5a378c99f7a8d3b1bc33a9e305c701083 100644
(file)
--- a/
test/Transforms/InstCombine/shift.ll
+++ b/
test/Transforms/InstCombine/shift.ll
@@
-8,27
+8,27
@@
implementation
implementation
-int
"test1"
(int %A) {
+int
%test1
(int %A) {
%B = shl int %A, ubyte 0
ret int %B
}
%B = shl int %A, ubyte 0
ret int %B
}
-int
"test2"
(ubyte %A) {
+int
%test2
(ubyte %A) {
%B = shl int 0, ubyte %A
ret int %B
}
%B = shl int 0, ubyte %A
ret int %B
}
-int
"test3"
(int %A) {
+int
%test3
(int %A) {
%B = shr int %A, ubyte 0
ret int %B
}
%B = shr int %A, ubyte 0
ret int %B
}
-int
"test4"
(ubyte %A) {
+int
%test4
(ubyte %A) {
%B = shr int 0, ubyte %A
ret int %B
}
%B = shr int 0, ubyte %A
ret int %B
}
-uint
"test5"
(uint %A) {
+uint
%test5
(uint %A) {
%B = shr uint %A, ubyte 32 ;; shift all bits out
ret uint %B
}
%B = shr uint %A, ubyte 32 ;; shift all bits out
ret uint %B
}