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:
7514620
)
new testcase
author
Chris Lattner
<sabre@nondot.org>
Mon, 8 May 2006 20:58:58 +0000
(20:58 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 8 May 2006 20:58:58 +0000
(20:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28173
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CodeGen/PowerPC/and_sext.ll
patch
|
blob
|
history
diff --git
a/test/CodeGen/PowerPC/and_sext.ll
b/test/CodeGen/PowerPC/and_sext.ll
index af68d81f2c3228f4ae18c130ca3156eafa7a117d..78debf3e86ab23d1651b3bf1bce717aae7e656be 100644
(file)
--- a/
test/CodeGen/PowerPC/and_sext.ll
+++ b/
test/CodeGen/PowerPC/and_sext.ll
@@
-21,3
+21,9
@@
short %test2(short %X, short %x) {
ret short %retval
}
+short %test3(uint %X) {
+ %tmp1 = shr uint %X, ubyte 16
+ %tmp1 = cast uint %tmp1 to short
+ ret short %tmp1
+}
+