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:
6aa5eb1
)
new testcase
author
Chris Lattner
<sabre@nondot.org>
Wed, 29 Nov 2006 07:17:32 +0000
(07:17 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 29 Nov 2006 07:17:32 +0000
(07:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32010
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/cast.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/cast.ll
b/test/Transforms/InstCombine/cast.ll
index 5a82f5e8c80f6c85de33a66461c822bd64fbc178..32b62158bc4a6f580ea29d211809bc65a2093b8d 100644
(file)
--- a/
test/Transforms/InstCombine/cast.ll
+++ b/
test/Transforms/InstCombine/cast.ll
@@
-219,3
+219,10
@@
ushort %test34(ushort %a) {
ret ushort %c2
}
+ushort %test35(ushort %a) {
+ %c1 = bitcast ushort %a to short
+ %tmp2 = lshr short %c1, ubyte 8
+ %c2 = bitcast short %tmp2 to ushort
+ ret ushort %c2
+}
+