1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 22:12:57 +02:00
llvm-mirror/test/Transforms/InstCombine/2006-02-13-DemandedMiscompile.ll

10 lines
184 B
LLVM
Raw Normal View History

; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
; RUN: not grep undef
int %test(sbyte %A) {
%B = cast sbyte %A to int
%C = shr int %B, ubyte 8
ret int %C
}