aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll
blob: e768753d810ab03ed796e2587e0e849d1ee2db89 (plain)
1
2
3
4
5
6
7
; RUN: llvm-as < %s | llc -march=ppc32

void %main() {
	%shamt = add ubyte 0, 1		; <ubyte> [#uses=1]
	%tr2 = shr long 1, ubyte %shamt		; <long> [#uses=0]
	ret void
}