diff options
author | Chris Lattner <sabre@nondot.org> | 2004-11-30 06:39:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-11-30 06:39:45 +0000 |
commit | 16c07fdd15e216fd6eff40d6aef13b8a341ee4b4 (patch) | |
tree | fa1653fc43787fdc923d5c49cca479f1ad2569f4 /llvm | |
parent | ce350cbd3a1261adb8ef698665be0682e3dc33ad (diff) | |
download | bcm5719-llvm-16c07fdd15e216fd6eff40d6aef13b8a341ee4b4.tar.gz bcm5719-llvm-16c07fdd15e216fd6eff40d6aef13b8a341ee4b4.zip |
New testcase that crashes the PPC BE
llvm-svn: 18375
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/test/Regression/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/Regression/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll b/llvm/test/Regression/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll new file mode 100644 index 00000000000..e768753d810 --- /dev/null +++ b/llvm/test/Regression/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll @@ -0,0 +1,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 +} |