mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
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:
@@ -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,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,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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user