mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 15:32:52 +01:00
0cabe967ce
llvm-svn: 26151
10 lines
216 B
LLVM
10 lines
216 B
LLVM
; RUN: llvm-as < %s | opt -instcombine -disable-output &&
|
|
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep undef
|
|
|
|
int %test(sbyte %A) {
|
|
%B = cast sbyte %A to int
|
|
%C = shr int %B, ubyte 8
|
|
ret int %C
|
|
}
|
|
|