1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 08:23:21 +01:00
llvm-mirror/test/Transforms/InstCombine/2006-02-13-DemandedMiscompile.ll
2007-01-17 07:59:14 +00:00

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
}