diff --git a/test/Regression/CodeGen/PowerPC/2004-11-29-ShrCrash.ll b/test/Regression/CodeGen/PowerPC/2004-11-29-ShrCrash.ll new file mode 100644 index 00000000000..3e5e89d16e4 --- /dev/null +++ b/test/Regression/CodeGen/PowerPC/2004-11-29-ShrCrash.ll @@ -0,0 +1,6 @@ +; RUN: llvm-as < %s | llc -march=ppc32 + +void %main() { + %tr1 = shr uint 1, ubyte 0 + ret void +}