mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Update dejagnu tests to use the new pattern isel flag
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21311 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
65a373593c
commit
9acc366ae4
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -enable-ppc-pattern-isel | grep 'fn\?madd\|fn\?msub' | wc -l | grep 7
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 | grep 'fn\?madd\|fn\?msub' | wc -l | grep 7
|
||||
|
||||
double %test_FMADD1(double %A, double %B, double %C) {
|
||||
%D = mul double %A, %B
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -enable-ppc-pattern-isel | grep fnabs
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 | grep fnabs
|
||||
|
||||
declare double %fabs(double)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
; Make sure this testcase codegens to the fabs instruction, not a call to fabsf
|
||||
; RUN: llvm-as < %s | llc -march=x86 -disable-pattern-isel=0 | grep 'fabs$' | wc -l | grep 2
|
||||
; RUN: llvm-as < %s | llc -march=x86 -enable-pattern-isel=1 | grep 'fabs$' | wc -l | grep 2
|
||||
|
||||
declare float %fabsf(float)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=intel -disable-pattern-isel=0 | grep ro[rl] | wc -l | grep 12
|
||||
; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=intel -enable-pattern-isel=1 | grep ro[rl] | wc -l | grep 12
|
||||
|
||||
uint %rotl32(uint %A, ubyte %Amt) {
|
||||
%B = shl uint %A, ubyte %Amt
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=intel -disable-pattern-isel=0 | grep sh[lr]d | wc -l | grep 5
|
||||
; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=intel -enable-pattern-isel=1 | grep sh[lr]d | wc -l | grep 5
|
||||
|
||||
long %test1(long %X, ubyte %C) {
|
||||
%Y = shl long %X, ubyte %C
|
||||
|
Loading…
Reference in New Issue
Block a user