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:
f4d4d9a
)
new testcase
author
Chris Lattner
<sabre@nondot.org>
Wed, 29 Nov 2006 07:03:00 +0000
(07:03 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 29 Nov 2006 07:03:00 +0000
(07:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32008
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 4accb47af2ad047bb9eff3f893a8777765bf94ed..5a82f5e8c80f6c85de33a66461c822bd64fbc178 100644
(file)
--- a/
test/Transforms/InstCombine/cast.ll
+++ b/
test/Transforms/InstCombine/cast.ll
@@
-211,3
+211,11
@@
uint %test33(uint %c1) {
%y = bitcast float %x to uint
ret uint %y
}
%y = bitcast float %x to uint
ret uint %y
}
+
+ushort %test34(ushort %a) {
+ %c1 = zext ushort %a to int
+ %tmp21 = lshr int %c1, ubyte 8
+ %c2 = trunc int %tmp21 to ushort
+ ret ushort %c2
+}
+