Nate Begeman | 6aee554 | 2006-02-17 21:32:46 +0000 | [diff] [blame^] | 1 | ; This test should not contain a sign extend |
2 | ; RUN: llvm-as < %s | llc -march=ppc32 | not grep extsb | ||||
3 | |||||
4 | int %test(uint %mode.0.i.0) { | ||||
5 | %tmp.79 = cast uint %mode.0.i.0 to sbyte ; <sbyte> [#uses=1] | ||||
6 | %tmp.80 = cast sbyte %tmp.79 to int ; <int> [#uses=1] | ||||
7 | %tmp.81 = shl int %tmp.80, ubyte 24 ; <int> [#uses=1] | ||||
8 | ret int %tmp.81 | ||||
9 | } |