summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/longMAC.ll
diff options
context:
space:
mode:
authorArnold Schwaighofer <arnolds@codeaurora.org>2012-08-12 05:11:56 +0000
committerArnold Schwaighofer <arnolds@codeaurora.org>2012-08-12 05:11:56 +0000
commitb73da9453c9e94bffb782882fab04f584c05edee (patch)
treec827ef1cc67afd75d4f11599a58233b534e7da51 /llvm/test/CodeGen/ARM/longMAC.ll
parent4fa625fda7118067faa7d9dd188e15d90e85aeee (diff)
downloadbcm5719-llvm-b73da9453c9e94bffb782882fab04f584c05edee.tar.gz
bcm5719-llvm-b73da9453c9e94bffb782882fab04f584c05edee.zip
Revert 161581: Patch to implement UMLAL/SMLAL instructions for the ARM
architecture It broke MultiSource/Applications/JM/ldecod/ldecod on armv7 thumb O0 g and armv7 thumb O3. llvm-svn: 161736
Diffstat (limited to 'llvm/test/CodeGen/ARM/longMAC.ll')
-rw-r--r--llvm/test/CodeGen/ARM/longMAC.ll44
1 files changed, 0 insertions, 44 deletions
diff --git a/llvm/test/CodeGen/ARM/longMAC.ll b/llvm/test/CodeGen/ARM/longMAC.ll
deleted file mode 100644
index e4a00e9ac30..00000000000
--- a/llvm/test/CodeGen/ARM/longMAC.ll
+++ /dev/null
@@ -1,44 +0,0 @@
-; RUN: llc < %s -march=arm | FileCheck %s
-; Check generated signed and unsigned multiply accumulate long.
-
-define i64 @MACLongTest1(i32 %a, i32 %b, i64 %c) {
-;CHECK: MACLongTest1:
-;CHECK: umlal
- %conv = zext i32 %a to i64
- %conv1 = zext i32 %b to i64
- %mul = mul i64 %conv1, %conv
- %add = add i64 %mul, %c
- ret i64 %add
-}
-
-define i64 @MACLongTest2(i32 %a, i32 %b, i64 %c) {
-;CHECK: MACLongTest2:
-;CHECK: smlal
- %conv = sext i32 %a to i64
- %conv1 = sext i32 %b to i64
- %mul = mul nsw i64 %conv1, %conv
- %add = add nsw i64 %mul, %c
- ret i64 %add
-}
-
-define i64 @MACLongTest3(i32 %a, i32 %b, i32 %c) {
-;CHECK: MACLongTest3:
-;CHECK: umlal
- %conv = zext i32 %b to i64
- %conv1 = zext i32 %a to i64
- %mul = mul i64 %conv, %conv1
- %conv2 = zext i32 %c to i64
- %add = add i64 %mul, %conv2
- ret i64 %add
-}
-
-define i64 @MACLongTest4(i32 %a, i32 %b, i32 %c) {
-;CHECK: MACLongTest4:
-;CHECK: smlal
- %conv = sext i32 %b to i64
- %conv1 = sext i32 %a to i64
- %mul = mul nsw i64 %conv, %conv1
- %conv2 = sext i32 %c to i64
- %add = add nsw i64 %mul, %conv2
- ret i64 %add
-}
OpenPOWER on IntegriCloud