blob: f0703386553c8b6e0c13395ebe5727a248f1f04f [file] [log] [blame]
Chris Lattner5898eff2006-02-13 22:31:50 +00001; RUN: llvm-as < %s | opt -instcombine -disable-output &&
2; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep undef
3
4int %test(sbyte %A) {
5 %B = cast sbyte %A to int
6 %C = shr int %B, ubyte 8
7 ret int %C
8}
9