diff options
author | Chris Lattner <sabre@nondot.org> | 2003-03-05 22:50:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-03-05 22:50:55 +0000 |
commit | 8e019aa9c9a8d8f9cbc748879aeca860575325a8 (patch) | |
tree | 4dd9a1349587cfc5e3d001ad4b1deaa9369a34bd /test/Transforms | |
parent | decd0812ecf93c142d287462444df0de915af845 (diff) | |
download | external_llvm-8e019aa9c9a8d8f9cbc748879aeca860575325a8.zip external_llvm-8e019aa9c9a8d8f9cbc748879aeca860575325a8.tar.gz external_llvm-8e019aa9c9a8d8f9cbc748879aeca860575325a8.tar.bz2 |
Add another testcase that may eventually be handled...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5705 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-rw-r--r-- | test/Transforms/InstCombine/cast-set.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/cast-set.ll b/test/Transforms/InstCombine/cast-set.ll index 7c392d3..fb634f8 100644 --- a/test/Transforms/InstCombine/cast-set.ll +++ b/test/Transforms/InstCombine/cast-set.ll @@ -31,3 +31,10 @@ bool %test3(int %A, int %B) { ret bool %cst222 } +int %test4(int %A) { + %B = cast int %A to uint + %C = shl uint %B, ubyte 1 + %D = cast uint %C to int + ret int %D +} + |