mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
remove dead flags
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22898 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fcd60a010b
commit
2b5d3cf6a0
@ -3,7 +3,7 @@
|
||||
; is invalid code (there is no correct way to order the instruction). Check
|
||||
; that we do not fold the load into the sub.
|
||||
|
||||
; RUN: llvm-as < %s | llc -march=x86 -disable-pattern-isel=0 | not grep 'sub.*GLOBAL'
|
||||
; RUN: llvm-as < %s | llc -march=x86 | not grep 'sub.*GLOBAL'
|
||||
|
||||
%GLOBAL = external global int
|
||||
|
||||
|
@ -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 -enable-pattern-isel=1 | grep 'fabs$' | wc -l | grep 2
|
||||
; RUN: llvm-as < %s | llc -march=x86 | grep 'fabs$' | wc -l | grep 2
|
||||
|
||||
declare float %fabsf(float)
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
;; Both functions in this testcase should codegen to the same function, and
|
||||
;; neither of them should require spilling anything to the stack.
|
||||
|
||||
; RUN: llvm-as < %s | llc -march=x86 -disable-pattern-isel=0 -stats 2>&1 | not grep 'Number of register spills'
|
||||
; RUN: llvm-as < %s | llc -march=x86 -stats 2>&1 | not grep 'Number of register spills'
|
||||
|
||||
;; This can be compiled to use three registers if the loads are not
|
||||
;; folded into the multiplies, 2 registers otherwise.
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=intel -enable-pattern-isel=1 | grep ro[rl] | wc -l | grep 12
|
||||
; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=intel | 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 -enable-pattern-isel=1 | grep sh[lr]d | wc -l | grep 5
|
||||
; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=intel 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