diff --git a/test/CodeGen/PowerPC/2004-11-30-shift-crash.ll b/test/CodeGen/PowerPC/2004-11-30-shift-crash.ll new file mode 100644 index 00000000000..9c611649e6a --- /dev/null +++ b/test/CodeGen/PowerPC/2004-11-30-shift-crash.ll @@ -0,0 +1,6 @@ +; RUN: llvm-as < %s | llc -march=ppc32 + +void %main() { + %tr4 = shl ulong 1, ubyte 0 ; [#uses=0] + ret void +}