aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-11-12 22:39:40 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-11-12 22:39:40 +0000
commitfe9dd87783601db515e39619508ea8fb2c017557 (patch)
tree20994c52a8221a262bd373d9839ecf5c9abe0a06 /test/CodeGen
parent56ad83d47ccf03ec790b4a2da726c009f1c36dba (diff)
downloadexternal_llvm-fe9dd87783601db515e39619508ea8fb2c017557.zip
external_llvm-fe9dd87783601db515e39619508ea8fb2c017557.tar.gz
external_llvm-fe9dd87783601db515e39619508ea8fb2c017557.tar.bz2
Remove histogram tests.
Counting the number of occurences of each opcode is not a useful test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144474 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/CellSPU/call.ll4
-rw-r--r--test/CodeGen/CellSPU/call_indirect.ll52
2 files changed, 0 insertions, 56 deletions
diff --git a/test/CodeGen/CellSPU/call.ll b/test/CodeGen/CellSPU/call.ll
index 559b266..11cf770 100644
--- a/test/CodeGen/CellSPU/call.ll
+++ b/test/CodeGen/CellSPU/call.ll
@@ -1,7 +1,3 @@
-; RUN: llc < %s -march=cellspu -regalloc=linearscan > %t1.s
-; RUN: grep brsl %t1.s | count 1
-; RUN: grep brasl %t1.s | count 2
-; RUN: grep stqd %t1.s | count 82
; RUN: llc < %s -march=cellspu | FileCheck %s
target datalayout = "E-p:32:32:128-f64:64:128-f32:32:128-i64:32:128-i32:32:128-i16:16:128-i8:8:128-i1:8:128-a0:0:128-v128:128:128-s0:128:128"
diff --git a/test/CodeGen/CellSPU/call_indirect.ll b/test/CodeGen/CellSPU/call_indirect.ll
deleted file mode 100644
index 1d687d9..0000000
--- a/test/CodeGen/CellSPU/call_indirect.ll
+++ /dev/null
@@ -1,52 +0,0 @@
-; RUN: llc < %s -march=cellspu -asm-verbose=0 -regalloc=linearscan > %t1.s
-; RUN: llc < %s -march=cellspu -mattr=large_mem -asm-verbose=0 -regalloc=linearscan > %t2.s
-; RUN: grep bisl %t1.s | count 7
-; RUN: grep ila %t1.s | count 1
-; RUN: grep rotqby %t1.s | count 5
-; RUN: grep lqa %t1.s | count 1
-; RUN: grep lqd %t1.s | count 12
-; RUN: grep dispatch_tab %t1.s | count 5
-; RUN: grep bisl %t2.s | count 7
-; RUN: grep ilhu %t2.s | count 2
-; RUN: grep iohl %t2.s | count 2
-; RUN: grep rotqby %t2.s | count 5
-; RUN: grep lqd %t2.s | count 13
-; RUN: grep ilhu %t2.s | count 2
-; RUN: grep ai %t2.s | count 9
-; RUN: grep dispatch_tab %t2.s | count 6
-
-; CellSPU legalization is over-sensitive to Legalize's traversal order.
-; XFAIL: *
-
-; ModuleID = 'call_indirect.bc'
-target datalayout = "E-p:32:32:128-f64:64:128-f32:32:128-i64:32:128-i32:32:128-i16:16:128-i8:8:128-i1:8:128-a0:0:128-v128:128:128"
-target triple = "spu-unknown-elf"
-
-@dispatch_tab = global [6 x void (i32, float)*] zeroinitializer, align 16
-
-define void @dispatcher(i32 %i_arg, float %f_arg) {
-entry:
- %tmp2 = load void (i32, float)** getelementptr ([6 x void (i32, float)*]* @dispatch_tab, i32 0, i32 0), align 16
- tail call void %tmp2( i32 %i_arg, float %f_arg )
- %tmp2.1 = load void (i32, float)** getelementptr ([6 x void (i32, float)*]* @dispatch_tab, i32 0, i32 1), align 4
- tail call void %tmp2.1( i32 %i_arg, float %f_arg )
- %tmp2.2 = load void (i32, float)** getelementptr ([6 x void (i32, float)*]* @dispatch_tab, i32 0, i32 2), align 4
- tail call void %tmp2.2( i32 %i_arg, float %f_arg )
- %tmp2.3 = load void (i32, float)** getelementptr ([6 x void (i32, float)*]* @dispatch_tab, i32 0, i32 3), align 4
- tail call void %tmp2.3( i32 %i_arg, float %f_arg )
- %tmp2.4 = load void (i32, float)** getelementptr ([6 x void (i32, float)*]* @dispatch_tab, i32 0, i32 4), align 4
- tail call void %tmp2.4( i32 %i_arg, float %f_arg )
- %tmp2.5 = load void (i32, float)** getelementptr ([6 x void (i32, float)*]* @dispatch_tab, i32 0, i32 5), align 4
- tail call void %tmp2.5( i32 %i_arg, float %f_arg )
- ret void
-}
-
-@ptr_list = internal global [1 x void ()*] [ void ()* inttoptr (i64 4294967295 to void ()*) ], align 4
-@ptr.a = internal global void ()** getelementptr ([1 x void ()*]* @ptr_list, i32 0, i32 1), align 16
-
-define void @double_indirect_call() {
- %a = load void ()*** @ptr.a, align 16
- %b = load void ()** %a, align 4
- tail call void %b()
- ret void
-}