summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Alpha
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2007-11-27 18:31:30 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2007-11-27 18:31:30 +0000
commitb960acebded5b68a847d746fb1d812b29375ee2d (patch)
tree50918daa739c40174452e6ef992cd95e8df9f487 /llvm/test/CodeGen/Alpha
parenta7944d86de509d668e9ab2f641baf0a5f104b114 (diff)
downloadbcm5719-llvm-b960acebded5b68a847d746fb1d812b29375ee2d.tar.gz
bcm5719-llvm-b960acebded5b68a847d746fb1d812b29375ee2d.zip
something wrong with this opt
llvm-svn: 44370
Diffstat (limited to 'llvm/test/CodeGen/Alpha')
-rw-r--r--llvm/test/CodeGen/Alpha/2007-11-27-mulneg3.ll13
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/Alpha/2007-11-27-mulneg3.ll b/llvm/test/CodeGen/Alpha/2007-11-27-mulneg3.ll
new file mode 100644
index 00000000000..3eac13d2b7a
--- /dev/null
+++ b/llvm/test/CodeGen/Alpha/2007-11-27-mulneg3.ll
@@ -0,0 +1,13 @@
+; RUN: llvm-as < %s | llc -march=alpha
+
+;FIXME: this should produce no mul inst. But not crashing will have to do for now
+
+; ModuleID = 'Output/bugpoint-train/bugpoint-reduced-simplified.bc'
+target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-f128:128:128"
+target triple = "alphaev6-unknown-linux-gnu"
+
+define fastcc i32 @getcount(i32 %s) {
+cond_next43: ; preds = %bb27
+ %tmp431 = mul i32 %s, -3
+ ret i32 %tmp431
+}
OpenPOWER on IntegriCloud