summaryrefslogtreecommitdiff
path: root/test/Transforms
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-15 07:38:21 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-15 07:38:21 +0000
commit7c65d4345ea93967e2d943765c3fa945beb72aab (patch)
tree9a09cee7dbfcca1e7a392daf493d8e84b011db79 /test/Transforms
parenta20c22f19083a2f9a4344549eccfbb40f39cbad3 (diff)
downloadllvm-7c65d4345ea93967e2d943765c3fa945beb72aab.tar.gz
llvm-7c65d4345ea93967e2d943765c3fa945beb72aab.tar.bz2
llvm-7c65d4345ea93967e2d943765c3fa945beb72aab.tar.xz
For PR1319:
Make use of the END. facility on all files > 1K so that we aren't wasting CPU cycles searching for RUN: lines that we'll never find. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36059 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-rw-r--r--test/Transforms/InstCombine/2002-05-14-TouchDeletedInst.ll11
-rw-r--r--test/Transforms/InstCombine/2003-07-21-ExternalConstant.ll1
-rw-r--r--test/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll1
-rw-r--r--test/Transforms/InstCombine/2006-04-01-InfLoop.ll1
-rw-r--r--test/Transforms/InstCombine/2006-05-04-DemandedBitCrash.ll1
-rw-r--r--test/Transforms/InstCombine/2006-05-06-Infloop.ll1
-rw-r--r--test/Transforms/InstCombine/2006-09-11-EmptyStructCrash.ll3
-rw-r--r--test/Transforms/InstCombine/2006-12-08-Select-ICmp.ll1
-rw-r--r--test/Transforms/InstCombine/2006-12-10-ICmp-GEP-GEP.ll1
-rw-r--r--test/Transforms/InstCombine/2006-12-23-Select-Cmp-Cmp.ll1
-rw-r--r--test/Transforms/InstCombine/2007-03-26-BadShiftMask.ll1
-rw-r--r--test/Transforms/InstCombine/CPP_min_max.llx1
-rw-r--r--test/Transforms/InstCombine/add.ll1
-rw-r--r--test/Transforms/InstCombine/and-or-and.ll1
-rw-r--r--test/Transforms/InstCombine/and.ll1
-rw-r--r--test/Transforms/InstCombine/apint-add2.ll2
-rw-r--r--test/Transforms/InstCombine/apint-and-or-and.ll1
-rw-r--r--test/Transforms/InstCombine/apint-and1.ll1
-rw-r--r--test/Transforms/InstCombine/apint-and2.ll1
-rw-r--r--test/Transforms/InstCombine/apint-sub.ll1
-rw-r--r--test/Transforms/InstCombine/apint-xor2.ll1
-rw-r--r--test/Transforms/InstCombine/bswap.ll1
-rw-r--r--test/Transforms/InstCombine/call.ll1
-rw-r--r--test/Transforms/InstCombine/cast.ll1
-rw-r--r--test/Transforms/InstCombine/div.ll1
-rw-r--r--test/Transforms/InstCombine/getelementptr-setcc.ll1
-rw-r--r--test/Transforms/InstCombine/getelementptr.ll1
-rw-r--r--test/Transforms/InstCombine/mul.ll1
-rw-r--r--test/Transforms/InstCombine/or.ll1
-rw-r--r--test/Transforms/InstCombine/phi.ll1
-rw-r--r--test/Transforms/InstCombine/rem.ll1
-rw-r--r--test/Transforms/InstCombine/select.ll1
-rw-r--r--test/Transforms/InstCombine/signext.ll1
-rw-r--r--test/Transforms/InstCombine/vec_insert_to_shuffle.ll1
-rw-r--r--test/Transforms/InstCombine/vec_shuffle.ll1
35 files changed, 41 insertions, 7 deletions
diff --git a/test/Transforms/InstCombine/2002-05-14-TouchDeletedInst.ll b/test/Transforms/InstCombine/2002-05-14-TouchDeletedInst.ll
index 9c278edc8d..5e6d63bdd0 100644
--- a/test/Transforms/InstCombine/2002-05-14-TouchDeletedInst.ll
+++ b/test/Transforms/InstCombine/2002-05-14-TouchDeletedInst.ll
@@ -1,10 +1,11 @@
-; This testcase, obviously distilled from a large program (bzip2 from Specint2000)
-; caused instcombine to fail because it got the same instruction on it's worklist
-; more than once (which is ok), but then deleted the instruction. Since the inst
-; stayed on the worklist, as soon as it came back up to be processed, bad things
-; happened, and opt asserted.
+; This testcase, obviously distilled from a large program (bzip2 from
+; Specint2000) caused instcombine to fail because it got the same instruction
+; on it's worklist more than once (which is ok), but then deleted the
+; instruction. Since the inst stayed on the worklist, as soon as it came back
+; up to be processed, bad things happened, and opt asserted.
;
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine
+; END.
;
%.LC0 = internal global [21 x sbyte] c"hbMakeCodeLengths(1)\00" ; <[21 x sbyte]*> [#uses=1]
diff --git a/test/Transforms/InstCombine/2003-07-21-ExternalConstant.ll b/test/Transforms/InstCombine/2003-07-21-ExternalConstant.ll
index c9e3b4c542..a3c30a8f72 100644
--- a/test/Transforms/InstCombine/2003-07-21-ExternalConstant.ll
+++ b/test/Transforms/InstCombine/2003-07-21-ExternalConstant.ll
@@ -11,6 +11,7 @@
;
; Extra code:
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine
+; END.
;
target endian = little
diff --git a/test/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll b/test/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll
index 7a78b93d53..7e12bbf5ae 100644
--- a/test/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll
+++ b/test/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll
@@ -11,6 +11,7 @@
;
; RUN: llvm-upgrade %s -o - | llvm-as | opt -instcombine | llvm-dis | \
; RUN: notcast .*int
+; END.
implementation ; Functions:
diff --git a/test/Transforms/InstCombine/2006-04-01-InfLoop.ll b/test/Transforms/InstCombine/2006-04-01-InfLoop.ll
index 260b9b3ff4..81c1690a6f 100644
--- a/test/Transforms/InstCombine/2006-04-01-InfLoop.ll
+++ b/test/Transforms/InstCombine/2006-04-01-InfLoop.ll
@@ -1,4 +1,5 @@
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine -disable-output
+; END.
%struct.DecRefPicMarking_s = type { int, int, int, int, int, %struct.DecRefPicMarking_s* }
%struct.datapartition = type { %typedef.Bitstream*, %typedef.DecodingEnvironment, int (%struct.syntaxelement*, %struct.img_par*, %struct.inp_par*, %struct.datapartition*)* }
diff --git a/test/Transforms/InstCombine/2006-05-04-DemandedBitCrash.ll b/test/Transforms/InstCombine/2006-05-04-DemandedBitCrash.ll
index 6f95e925c7..3e72a182a0 100644
--- a/test/Transforms/InstCombine/2006-05-04-DemandedBitCrash.ll
+++ b/test/Transforms/InstCombine/2006-05-04-DemandedBitCrash.ll
@@ -1,4 +1,5 @@
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine -disable-output
+; END.
void %test() {
bb38.i:
diff --git a/test/Transforms/InstCombine/2006-05-06-Infloop.ll b/test/Transforms/InstCombine/2006-05-06-Infloop.ll
index ef05e6b354..4458d97f93 100644
--- a/test/Transforms/InstCombine/2006-05-06-Infloop.ll
+++ b/test/Transforms/InstCombine/2006-05-06-Infloop.ll
@@ -1,4 +1,5 @@
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine -disable-output
+; END.
%struct.gs_matrix = type { float, int, float, int, float, int, float, int, float, int, float, int }
%struct.gx_bitmap = type { ubyte*, int, int, int }
diff --git a/test/Transforms/InstCombine/2006-09-11-EmptyStructCrash.ll b/test/Transforms/InstCombine/2006-09-11-EmptyStructCrash.ll
index a8f9cd41ba..61f01ce8b7 100644
--- a/test/Transforms/InstCombine/2006-09-11-EmptyStructCrash.ll
+++ b/test/Transforms/InstCombine/2006-09-11-EmptyStructCrash.ll
@@ -1,5 +1,6 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine -disable-output
; PR905
+; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine -disable-output
+; END.
%RPYTHON_EXCEPTION = type { %RPYTHON_EXCEPTION_VTABLE* }
%RPYTHON_EXCEPTION_VTABLE = type { %RPYTHON_EXCEPTION_VTABLE*, int, int, %RPyOpaque_RuntimeTypeInfo*, %arraytype_Char*, %functiontype_12* }
diff --git a/test/Transforms/InstCombine/2006-12-08-Select-ICmp.ll b/test/Transforms/InstCombine/2006-12-08-Select-ICmp.ll
index 8e46bfd42c..466fa60c08 100644
--- a/test/Transforms/InstCombine/2006-12-08-Select-ICmp.ll
+++ b/test/Transforms/InstCombine/2006-12-08-Select-ICmp.ll
@@ -1,5 +1,6 @@
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep select
; END.
+
target datalayout = "e-p:32:32"
target endian = little
target pointersize = 32
diff --git a/test/Transforms/InstCombine/2006-12-10-ICmp-GEP-GEP.ll b/test/Transforms/InstCombine/2006-12-10-ICmp-GEP-GEP.ll
index 80ff0cfc58..1343a4f5d0 100644
--- a/test/Transforms/InstCombine/2006-12-10-ICmp-GEP-GEP.ll
+++ b/test/Transforms/InstCombine/2006-12-10-ICmp-GEP-GEP.ll
@@ -1,6 +1,7 @@
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
; RUN: grep -v {icmp ult int}
; END.
+
; ModuleID = 'good.bc'
target datalayout = "e-p:32:32"
target endian = little
diff --git a/test/Transforms/InstCombine/2006-12-23-Select-Cmp-Cmp.ll b/test/Transforms/InstCombine/2006-12-23-Select-Cmp-Cmp.ll
index 0430a61457..044b9451c5 100644
--- a/test/Transforms/InstCombine/2006-12-23-Select-Cmp-Cmp.ll
+++ b/test/Transforms/InstCombine/2006-12-23-Select-Cmp-Cmp.ll
@@ -2,6 +2,7 @@
; operands is encountered.
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine -disable-output
; END.
+
; ModuleID = 'PR1065.bc'
target datalayout = "e-p:32:32"
target endian = little
diff --git a/test/Transforms/InstCombine/2007-03-26-BadShiftMask.ll b/test/Transforms/InstCombine/2007-03-26-BadShiftMask.ll
index 6197fcc4f9..4a2e60e7c3 100644
--- a/test/Transforms/InstCombine/2007-03-26-BadShiftMask.ll
+++ b/test/Transforms/InstCombine/2007-03-26-BadShiftMask.ll
@@ -2,6 +2,7 @@
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
; RUN: grep {ashr i32 %.mp137, 2}
; END.
+
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:32:64-v64:64:64-v128:128:128-a0:0:64"
target triple = "i686-pc-linux-gnu"
diff --git a/test/Transforms/InstCombine/CPP_min_max.llx b/test/Transforms/InstCombine/CPP_min_max.llx
index 3d99ad603b..2818fa779a 100644
--- a/test/Transforms/InstCombine/CPP_min_max.llx
+++ b/test/Transforms/InstCombine/CPP_min_max.llx
@@ -1,5 +1,6 @@
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
; RUN: grep select | not grep {i32\\*}
+; END.
; This testcase corresponds to PR362, which notices that this horrible code
; is generated by the C++ front-end and LLVM optimizers, which has lots of
diff --git a/test/Transforms/InstCombine/add.ll b/test/Transforms/InstCombine/add.ll
index 4e5dbb3853..87bb7733f3 100644
--- a/test/Transforms/InstCombine/add.ll
+++ b/test/Transforms/InstCombine/add.ll
@@ -3,6 +3,7 @@
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine -disable-output &&
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
; RUN: grep -v OK | not grep add
+; END.
implementation
diff --git a/test/Transforms/InstCombine/and-or-and.ll b/test/Transforms/InstCombine/and-or-and.ll
index dc1eea1a2d..ea7a87fe3b 100644
--- a/test/Transforms/InstCombine/and-or-and.ll
+++ b/test/Transforms/InstCombine/and-or-and.ll
@@ -11,6 +11,7 @@
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
; RUN: not grep {or }
+; END.
int %test1(int %X, int %Y) {
%A = and int %X, 7
diff --git a/test/Transforms/InstCombine/and.ll b/test/Transforms/InstCombine/and.ll
index dc30c564d0..7b08975877 100644
--- a/test/Transforms/InstCombine/and.ll
+++ b/test/Transforms/InstCombine/and.ll
@@ -2,6 +2,7 @@
;
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | not grep and
+; END.
implementation
diff --git a/test/Transforms/InstCombine/apint-add2.ll b/test/Transforms/InstCombine/apint-add2.ll
index 39a54b1ec5..0ddfcc0764 100644
--- a/test/Transforms/InstCombine/apint-add2.ll
+++ b/test/Transforms/InstCombine/apint-add2.ll
@@ -3,7 +3,7 @@
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
; RUN: grep -v OK | not grep add
-
+; END.
define i111 @test1(i111 %x) {
%tmp.2 = shl i111 1, 110
diff --git a/test/Transforms/InstCombine/apint-and-or-and.ll b/test/Transforms/InstCombine/apint-and-or-and.ll
index e60a1fa16d..4630f28678 100644
--- a/test/Transforms/InstCombine/apint-and-or-and.ll
+++ b/test/Transforms/InstCombine/apint-and-or-and.ll
@@ -12,6 +12,7 @@
; This tests arbitrary precision integers.
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep {or }
+; END.
define i17 @test1(i17 %X, i17 %Y) {
%A = and i17 %X, 7
diff --git a/test/Transforms/InstCombine/apint-and1.ll b/test/Transforms/InstCombine/apint-and1.ll
index b6c7bd9a6b..eb3b1a64b2 100644
--- a/test/Transforms/InstCombine/apint-and1.ll
+++ b/test/Transforms/InstCombine/apint-and1.ll
@@ -2,6 +2,7 @@
; This test is for Integer BitWidth <= 64 && BitWidth % 8 != 0.
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep {and }
+; END.
define i39 @test0(i39 %A) {
%B = and i39 %A, 0 ; zero result
diff --git a/test/Transforms/InstCombine/apint-and2.ll b/test/Transforms/InstCombine/apint-and2.ll
index 3b69016900..f7b3934d5b 100644
--- a/test/Transforms/InstCombine/apint-and2.ll
+++ b/test/Transforms/InstCombine/apint-and2.ll
@@ -2,6 +2,7 @@
; This test is for Integer BitWidth > 64 && BitWidth <= 1024.
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep {and }
+; END.
define i999 @test0(i999 %A) {
diff --git a/test/Transforms/InstCombine/apint-sub.ll b/test/Transforms/InstCombine/apint-sub.ll
index 75ea36d143..12f366de7f 100644
--- a/test/Transforms/InstCombine/apint-sub.ll
+++ b/test/Transforms/InstCombine/apint-sub.ll
@@ -4,6 +4,7 @@
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
; RUN: grep -v {sub i19 %Cok, %Bok} | not grep sub
+; END.
define i23 @test1(i23 %A) {
%B = sub i23 %A, %A ; <i23> [#uses=1]
diff --git a/test/Transforms/InstCombine/apint-xor2.ll b/test/Transforms/InstCombine/apint-xor2.ll
index 7ce5ad8473..4d2d415f34 100644
--- a/test/Transforms/InstCombine/apint-xor2.ll
+++ b/test/Transforms/InstCombine/apint-xor2.ll
@@ -2,6 +2,7 @@
; This test is for Integer BitWidth > 64 && BitWidth <= 1024.
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep {xor }
+; END.
define i447 @test1(i447 %A, i447 %B) {
diff --git a/test/Transforms/InstCombine/bswap.ll b/test/Transforms/InstCombine/bswap.ll
index 209f76c33a..fde5ff054f 100644
--- a/test/Transforms/InstCombine/bswap.ll
+++ b/test/Transforms/InstCombine/bswap.ll
@@ -1,5 +1,6 @@
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
; RUN: grep {call.*llvm.bswap} | wc -l | grep 5
+; END.
uint %test1(uint %i) {
%tmp1 = shr uint %i, ubyte 24 ; <uint> [#uses=1]
diff --git a/test/Transforms/InstCombine/call.ll b/test/Transforms/InstCombine/call.ll
index d5a6465e1c..1570165e59 100644
--- a/test/Transforms/InstCombine/call.ll
+++ b/test/Transforms/InstCombine/call.ll
@@ -1,5 +1,6 @@
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
; RUN: grep call | notcast
+; END.
implementation
diff --git a/test/Transforms/InstCombine/cast.ll b/test/Transforms/InstCombine/cast.ll
index 36361b7ad9..156886f1b0 100644
--- a/test/Transforms/InstCombine/cast.ll
+++ b/test/Transforms/InstCombine/cast.ll
@@ -1,6 +1,7 @@
; Tests to make sure elimination of casts is working correctly
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
; RUN: grep %c | notcast
+; END.
%inbuf = external global [32832 x ubyte]
diff --git a/test/Transforms/InstCombine/div.ll b/test/Transforms/InstCombine/div.ll
index 18d93c2a76..97f331cb28 100644
--- a/test/Transforms/InstCombine/div.ll
+++ b/test/Transforms/InstCombine/div.ll
@@ -2,6 +2,7 @@
;
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | not grep div
+; END.
implementation
diff --git a/test/Transforms/InstCombine/getelementptr-setcc.ll b/test/Transforms/InstCombine/getelementptr-setcc.ll
index edf0ccbc67..55102f49b2 100644
--- a/test/Transforms/InstCombine/getelementptr-setcc.ll
+++ b/test/Transforms/InstCombine/getelementptr-setcc.ll
@@ -1,5 +1,6 @@
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
; RUN: not grep getelementptr
+; END.
bool %test1(short* %P, int %I, int %J) {
%X = getelementptr short* %P, int %I
diff --git a/test/Transforms/InstCombine/getelementptr.ll b/test/Transforms/InstCombine/getelementptr.ll
index 5862b4ca2a..7e8809220a 100644
--- a/test/Transforms/InstCombine/getelementptr.ll
+++ b/test/Transforms/InstCombine/getelementptr.ll
@@ -3,6 +3,7 @@
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
; RUN: grep -v %B | not grep getelementptr
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep foo1
+; END.
%Global = constant [10 x sbyte] c"helloworld"
diff --git a/test/Transforms/InstCombine/mul.ll b/test/Transforms/InstCombine/mul.ll
index 86c52fa55b..d3963d5134 100644
--- a/test/Transforms/InstCombine/mul.ll
+++ b/test/Transforms/InstCombine/mul.ll
@@ -1,6 +1,7 @@
; This test makes sure that mul instructions are properly eliminated.
;
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | not grep mul
+; END.
implementation
diff --git a/test/Transforms/InstCombine/or.ll b/test/Transforms/InstCombine/or.ll
index 14b1a22647..3fc225a302 100644
--- a/test/Transforms/InstCombine/or.ll
+++ b/test/Transforms/InstCombine/or.ll
@@ -2,6 +2,7 @@
;
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
; RUN: grep -v xor | not grep {or }
+; END.
implementation
diff --git a/test/Transforms/InstCombine/phi.ll b/test/Transforms/InstCombine/phi.ll
index 1fab649d5e..a51e90ed0d 100644
--- a/test/Transforms/InstCombine/phi.ll
+++ b/test/Transforms/InstCombine/phi.ll
@@ -1,6 +1,7 @@
; This test makes sure that these instructions are properly eliminated.
;
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | not grep phi
+; END.
implementation
diff --git a/test/Transforms/InstCombine/rem.ll b/test/Transforms/InstCombine/rem.ll
index 62740f028f..987d3c3db6 100644
--- a/test/Transforms/InstCombine/rem.ll
+++ b/test/Transforms/InstCombine/rem.ll
@@ -1,6 +1,7 @@
; This test makes sure that these instructions are properly eliminated.
;
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | not grep rem
+; END.
implementation
diff --git a/test/Transforms/InstCombine/select.ll b/test/Transforms/InstCombine/select.ll
index 5b3b8bcce1..ccc63c2553 100644
--- a/test/Transforms/InstCombine/select.ll
+++ b/test/Transforms/InstCombine/select.ll
@@ -2,6 +2,7 @@
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
; RUN: not grep select
+; END.
implementation
diff --git a/test/Transforms/InstCombine/signext.ll b/test/Transforms/InstCombine/signext.ll
index d754260cf0..f69cbc0072 100644
--- a/test/Transforms/InstCombine/signext.ll
+++ b/test/Transforms/InstCombine/signext.ll
@@ -1,5 +1,6 @@
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
; RUN: not grep {(and\|xor\|add\|shl\|shr)}
+; END.
int %test1(int %x) {
%tmp.1 = and int %x, 65535 ; <int> [#uses=1]
diff --git a/test/Transforms/InstCombine/vec_insert_to_shuffle.ll b/test/Transforms/InstCombine/vec_insert_to_shuffle.ll
index 0a6f88c032..54ac8825db 100644
--- a/test/Transforms/InstCombine/vec_insert_to_shuffle.ll
+++ b/test/Transforms/InstCombine/vec_insert_to_shuffle.ll
@@ -4,6 +4,7 @@
; RUN: not grep insertelement
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
; RUN: not grep extractelement
+; END.
<4 x float> %test(<4 x float> %tmp, <4 x float> %tmp1) {
%tmp4 = extractelement <4 x float> %tmp, uint 1 ; <float> [#uses=1]
diff --git a/test/Transforms/InstCombine/vec_shuffle.ll b/test/Transforms/InstCombine/vec_shuffle.ll
index 3d65b630e5..aaaee3f843 100644
--- a/test/Transforms/InstCombine/vec_shuffle.ll
+++ b/test/Transforms/InstCombine/vec_shuffle.ll
@@ -1,4 +1,5 @@
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep vector_shuffle
+; END.
%T = type <4 x float>