diff options
author | Andrew Lenharth <alenhar2@cs.uiuc.edu> | 2007-11-27 18:31:30 +0000 |
---|---|---|
committer | Andrew Lenharth <alenhar2@cs.uiuc.edu> | 2007-11-27 18:31:30 +0000 |
commit | d0ac96e3b0faea5c68e63e74cf79e768c2e669e7 (patch) | |
tree | 8d488ea0f22c511bd29eb2bf39e2075aec382591 /test | |
parent | a55821805bed4e0111d8814df7c35fff48d5b68f (diff) | |
download | external_llvm-d0ac96e3b0faea5c68e63e74cf79e768c2e669e7.zip external_llvm-d0ac96e3b0faea5c68e63e74cf79e768c2e669e7.tar.gz external_llvm-d0ac96e3b0faea5c68e63e74cf79e768c2e669e7.tar.bz2 |
something wrong with this opt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44370 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/Alpha/2007-11-27-mulneg3.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/Alpha/2007-11-27-mulneg3.ll b/test/CodeGen/Alpha/2007-11-27-mulneg3.ll new file mode 100644 index 0000000..3eac13d --- /dev/null +++ b/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 +} |