mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
Update llc flags for PPC register scavenger.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48187 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4a66e9a57e
commit
2b65c4e7cc
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | llc -mtriple=powerpc-apple-darwin -enable-ppc-regscavenger
|
||||
; RUN: llvm-as < %s | llc -mtriple=powerpc-apple-darwin -enable-ppc32-regscavenger
|
||||
|
||||
declare i8* @bar(i32)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | llc -march=ppc64 -enable-ppc-regscavenger
|
||||
; RUN: llvm-as < %s | llc -march=ppc64 -enable-ppc64-regscavenger
|
||||
@.str242 = external constant [3 x i8] ; <[3 x i8]*> [#uses=1]
|
||||
|
||||
define fastcc void @ParseContent(i8* %buf, i32 %bufsize) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-apple-darwin8 | \
|
||||
; RUN: grep {stw r31, 20(r1)}
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -enable-ppc-regscavenger | \
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -enable-ppc32-regscavenger | \
|
||||
; RUN: grep {stwu r1, -80(r1)}
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-apple-darwin8 | \
|
||||
; RUN: grep {lwz r1, 0(r1)}
|
||||
@ -8,7 +8,7 @@
|
||||
; RUN: grep {lwz r31, 20(r1)}
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -disable-fp-elim | \
|
||||
; RUN: grep {stw r31, 20(r1)}
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -disable-fp-elim -enable-ppc-regscavenger | \
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -disable-fp-elim -enable-ppc32-regscavenger | \
|
||||
; RUN: grep {stwu r1, -80(r1)}
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -disable-fp-elim | \
|
||||
; RUN: grep {lwz r1, 0(r1)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user