diff options
Diffstat (limited to 'test/CodeGen/PowerPC/2004-11-30-shift-crash.ll')
-rw-r--r-- | test/CodeGen/PowerPC/2004-11-30-shift-crash.ll | 6 |
1 files changed, 6 insertions, 0 deletions
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 0000000..4603bdb --- /dev/null +++ b/test/CodeGen/PowerPC/2004-11-30-shift-crash.ll @@ -0,0 +1,6 @@ +; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 + +void %main() { + %tr4 = shl ulong 1, ubyte 0 ; <ulong> [#uses=0] + ret void +} |