[llvm] r209689 - No need for those tests to go thru llvm-as and/or llvm-dis.

Arnaud A. de Grandmaison arnaud.adegm at gmail.com
Tue May 27 15:03:29 PDT 2014


Author: aadg
Date: Tue May 27 17:03:28 2014
New Revision: 209689

URL: http://llvm.org/viewvc/llvm-project?rev=209689&view=rev
Log:
No need for those tests to go thru llvm-as and/or llvm-dis.

opt can handle them by itself.

Modified:
    llvm/trunk/test/Assembler/half-constprop.ll
    llvm/trunk/test/Assembler/half-conv.ll
    llvm/trunk/test/DebugInfo/2010-03-19-DbgDeclare.ll
    llvm/trunk/test/Transforms/IPConstantProp/2009-09-24-byval-ptr.ll
    llvm/trunk/test/Transforms/JumpThreading/phi-eq.ll
    llvm/trunk/test/Transforms/LoopSimplify/2007-10-28-InvokeCrash.ll

Modified: llvm/trunk/test/Assembler/half-constprop.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Assembler/half-constprop.ll?rev=209689&r1=209688&r2=209689&view=diff
==============================================================================
--- llvm/trunk/test/Assembler/half-constprop.ll (original)
+++ llvm/trunk/test/Assembler/half-constprop.ll Tue May 27 17:03:28 2014
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -O3 | llvm-dis | FileCheck %s
+; RUN: opt < %s -O3 -S | FileCheck %s
 ; Testing half constant propagation.
 
 define half @abc() nounwind {

Modified: llvm/trunk/test/Assembler/half-conv.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Assembler/half-conv.ll?rev=209689&r1=209688&r2=209689&view=diff
==============================================================================
--- llvm/trunk/test/Assembler/half-conv.ll (original)
+++ llvm/trunk/test/Assembler/half-conv.ll Tue May 27 17:03:28 2014
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -O3 | llvm-dis | FileCheck %s
+; RUN: opt < %s -O3 -S | FileCheck %s
 ; Testing half to float conversion.
 
 define float @abc() nounwind {

Modified: llvm/trunk/test/DebugInfo/2010-03-19-DbgDeclare.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/2010-03-19-DbgDeclare.ll?rev=209689&r1=209688&r2=209689&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/2010-03-19-DbgDeclare.ll (original)
+++ llvm/trunk/test/DebugInfo/2010-03-19-DbgDeclare.ll Tue May 27 17:03:28 2014
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -verify -S | FileCheck %s
+; RUN: opt < %s -verify -S | FileCheck %s
 
 ; CHECK: lang 0x8001
 

Modified: llvm/trunk/test/Transforms/IPConstantProp/2009-09-24-byval-ptr.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/IPConstantProp/2009-09-24-byval-ptr.ll?rev=209689&r1=209688&r2=209689&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/IPConstantProp/2009-09-24-byval-ptr.ll (original)
+++ llvm/trunk/test/Transforms/IPConstantProp/2009-09-24-byval-ptr.ll Tue May 27 17:03:28 2014
@@ -1,4 +1,4 @@
-; RUN: llvm-as <%s | opt -ipsccp | llvm-dis | FileCheck %s
+; RUN: opt < %s -ipsccp -S | FileCheck %s
 ; Don't constant-propagate byval pointers, since they are not pointers!
 ; PR5038
 %struct.MYstr = type { i8, i32 }

Modified: llvm/trunk/test/Transforms/JumpThreading/phi-eq.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/JumpThreading/phi-eq.ll?rev=209689&r1=209688&r2=209689&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/JumpThreading/phi-eq.ll (original)
+++ llvm/trunk/test/Transforms/JumpThreading/phi-eq.ll Tue May 27 17:03:28 2014
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -jump-threading | llvm-dis | FileCheck %s
+; RUN: opt < %s -jump-threading -S | FileCheck %s
 ; Test whether two consecutive switches with identical structures assign the
 ; proper value to the proper variable.  This is really testing 
 ; Instruction::isIdenticalToWhenDefined, as previously that function was 

Modified: llvm/trunk/test/Transforms/LoopSimplify/2007-10-28-InvokeCrash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopSimplify/2007-10-28-InvokeCrash.ll?rev=209689&r1=209688&r2=209689&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoopSimplify/2007-10-28-InvokeCrash.ll (original)
+++ llvm/trunk/test/Transforms/LoopSimplify/2007-10-28-InvokeCrash.ll Tue May 27 17:03:28 2014
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-simplify -disable-output
+; RUN: opt < %s -loop-simplify -disable-output
 ; PR1752
 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-s0:0:64-f80:32:32"
 target triple = "i686-pc-mingw32"





More information about the llvm-commits mailing list