mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-05 12:31:33 +00:00
Fix some test cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46998 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0602df7403
commit
65b2e3df0d
@ -1,5 +1,5 @@
|
|||||||
; RUN: llvm-as < %s | llc -march=x86 | not grep lea
|
; RUN: llvm-as < %s | llc -march=x86 | not grep lea
|
||||||
; RUN: llvm-as < %s | llc -march=x86-64 | not grep lea
|
; RUN: llvm-as < %s | llc -march=x86-64 -relocation-model=pic | not grep lea
|
||||||
|
|
||||||
@B = external global [1000 x i8], align 32
|
@B = external global [1000 x i8], align 32
|
||||||
@A = external global [1000 x i8], align 32
|
@A = external global [1000 x i8], align 32
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
; RUN: llvm-as < %s | llc -march=x86 -relocation-model=static | grep lea | count 1
|
; RUN: llvm-as < %s | llc -march=x86 -relocation-model=static | grep lea | count 1
|
||||||
; RUN: llvm-as < %s | llc -march=x86-64 | not grep lea
|
; RUN: llvm-as < %s | llc -march=x86-64 -relocation-model=pic | not grep lea
|
||||||
|
|
||||||
; For x86 there's an lea above the loop. In both cases, there shouldn't
|
; For x86 there's an lea above the loop. In both cases, there shouldn't
|
||||||
; be any lea instructions inside the loop.
|
; be any lea instructions inside the loop.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
; RUN: llvm-as < %s | llc -march=x86 | not grep lea
|
; RUN: llvm-as < %s | llc -march=x86 | not grep lea
|
||||||
; RUN: llvm-as < %s | llc -march=x86-64 | not grep lea
|
; RUN: llvm-as < %s | llc -march=x86-64 -relocation-model=pic | not grep lea
|
||||||
|
|
||||||
@B = external global [1000 x float], align 32
|
@B = external global [1000 x float], align 32
|
||||||
@A = external global [1000 x float], align 32
|
@A = external global [1000 x float], align 32
|
||||||
|
Loading…
Reference in New Issue
Block a user