mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 08:23:21 +01:00
4572ce85b0
llvm-svn: 33296
10 lines
246 B
LLVM
10 lines
246 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine -disable-output &&
|
|
; RUN: llvm-upgrade < %s | llvm-as | 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
|
|
}
|
|
|