blob: 95ec2d29f62a28e78a85da4786751f08dad938e2 [file] [log] [blame]
Nate Begeman6aee5542006-02-17 21:32:46 +00001; This test should not contain a sign extend
2; RUN: llvm-as < %s | llc -march=ppc32 | not grep extsb
3
4int %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}