1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll
2007-01-17 07:59:14 +00:00

8 lines
181 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32
void %main() {
%shamt = add ubyte 0, 1 ; <ubyte> [#uses=1]
%tr2 = shr long 1, ubyte %shamt ; <long> [#uses=0]
ret void
}