From 8395c91d56990edf7d1068ddf51f4103b6f37d25 Mon Sep 17 00:00:00 2001 From: Akira Hatanaka Date: Tue, 13 Sep 2011 22:29:13 +0000 Subject: [PATCH] Delete test cases that generate code for allegrex/psp and cannot be repurposed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139652 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/Mips/2008-07-05-ByVal.ll | 20 -------------------- test/CodeGen/Mips/2010-07-20-Select.ll | 25 ------------------------- 2 files changed, 45 deletions(-) delete mode 100644 test/CodeGen/Mips/2008-07-05-ByVal.ll delete mode 100644 test/CodeGen/Mips/2010-07-20-Select.ll diff --git a/test/CodeGen/Mips/2008-07-05-ByVal.ll b/test/CodeGen/Mips/2008-07-05-ByVal.ll deleted file mode 100644 index f85f546278c..00000000000 --- a/test/CodeGen/Mips/2008-07-05-ByVal.ll +++ /dev/null @@ -1,20 +0,0 @@ -; DISABLED: llc < %s -march=mips | grep {lw.*(\$4)} | count 2 -; RUN: false -; XFAIL: * - -target datalayout = "e-p:32:32:32-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" -target triple = "mipsallegrexel-unknown-psp-elf" - %struct.byval0 = type { i32, i32 } - -define i64 @test0(%struct.byval0* byval %b, i64 %sum) nounwind { -entry: - getelementptr %struct.byval0* %b, i32 0, i32 0 ; :0 [#uses=1] - load i32* %0, align 4 ; :1 [#uses=1] - getelementptr %struct.byval0* %b, i32 0, i32 1 ; :2 [#uses=1] - load i32* %2, align 4 ; :3 [#uses=1] - add i32 %3, %1 ; :4 [#uses=1] - sext i32 %4 to i64 ; :5 [#uses=1] - add i64 %5, %sum ; :6 [#uses=1] - ret i64 %6 -} - diff --git a/test/CodeGen/Mips/2010-07-20-Select.ll b/test/CodeGen/Mips/2010-07-20-Select.ll deleted file mode 100644 index cc2e3ca83d7..00000000000 --- a/test/CodeGen/Mips/2010-07-20-Select.ll +++ /dev/null @@ -1,25 +0,0 @@ -; DISABLED: llc < %s -march=mips -relocation-model=static | FileCheck %s -; DISABLED: llc < %s -march=mips -relocation-model=static -regalloc=basic | FileCheck %s -; RUN: false -+; XFAIL: * -; Fix PR7473 - - -define i32 @main() nounwind readnone { -entry: - %a = alloca i32, align 4 ; [#uses=2] - %c = alloca i32, align 4 ; [#uses=2] - volatile store i32 1, i32* %a, align 4 - volatile store i32 0, i32* %c, align 4 - %0 = volatile load i32* %a, align 4 ; [#uses=1] - %1 = icmp eq i32 %0, 0 ; [#uses=1] -; CHECK: addiu $[[R1:[0-9]+]], $zero, 0 - %iftmp.0.0 = select i1 %1, i32 3, i32 0 ; [#uses=1] - %2 = volatile load i32* %c, align 4 ; [#uses=1] - %3 = icmp eq i32 %2, 0 ; [#uses=1] -; CHECK: addiu $[[R1]], $zero, 3 -; CHECK: addu $2, ${{.}}, $[[R1]] - %iftmp.2.0 = select i1 %3, i32 0, i32 5 ; [#uses=1] - %4 = add nsw i32 %iftmp.2.0, %iftmp.0.0 ; [#uses=1] - ret i32 %4 -}