diff options
author | Chris Lattner <sabre@nondot.org> | 2006-05-08 20:58:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-05-08 20:58:58 +0000 |
commit | 9b9a3cfe548963b1612c17111da8991e3b5bae7c (patch) | |
tree | 21723de799e497c56f699c4be4f71030491ff7f0 /test | |
parent | 7514620052208c7669ebaada1eebd5d00ce29a60 (diff) | |
download | external_llvm-9b9a3cfe548963b1612c17111da8991e3b5bae7c.zip external_llvm-9b9a3cfe548963b1612c17111da8991e3b5bae7c.tar.gz external_llvm-9b9a3cfe548963b1612c17111da8991e3b5bae7c.tar.bz2 |
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28173 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/PowerPC/and_sext.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/and_sext.ll b/test/CodeGen/PowerPC/and_sext.ll index af68d81..78debf3 100644 --- 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 +} + |