Convert more tests to avoid llvm-as.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81545 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman
2009-09-11 18:36:27 +00:00
parent 24729e8e1b
commit b7c0b246da
86 changed files with 112 additions and 181 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
; This should be one add and two multiplies.
; RUN: llvm-as < %s | \
; RUN: opt -reassociate -instcombine -S > %t
; RUN: opt < %s -reassociate -instcombine -S > %t
; RUN: grep mul %t | count 2
; RUN: grep add %t | count 1
+1 -2
View File
@@ -1,7 +1,6 @@
; This should turn into one multiply and one add.
; RUN: llvm-as < %s | \
; RUN: opt -instcombine -reassociate -instcombine -S > %t
; RUN: opt < %s -instcombine -reassociate -instcombine -S > %t
; RUN: grep mul %t | count 1
; RUN: grep add %t | count 1
+1 -2
View File
@@ -1,6 +1,5 @@
; There should be exactly one shift and one add left.
; RUN: llvm-as < %s | \
; RUN: opt -reassociate -instcombine -S > %t
; RUN: opt < %s -reassociate -instcombine -S > %t
; RUN: grep shl %t | count 1
; RUN: grep add %t | count 1