mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Add a -regalloc=default option that chooses a register allocator based on the -O
optimization level. This only really affects llc for now because both the llvm-gcc and clang front ends override the default register allocator. I intend to remove that code later. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104904 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=arm -mattr=+neon -O0
|
||||
; RUN: llc < %s -march=arm -mattr=+neon -O0 -regalloc=linearscan
|
||||
|
||||
; This test would crash the rewriter when trying to handle a spill after one of
|
||||
; the @llvm.arm.neon.vld3.v8i8 defined three parts of a register.
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=x86 -O0 -fast-isel=false | grep mov | count 5
|
||||
; RUN: llc < %s -march=x86 -O0 -fast-isel=false -regalloc=linearscan | grep mov | count 5
|
||||
; PR2343
|
||||
|
||||
%llvm.dbg.anchor.type = type { i32, i32 }
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -O0 -march=x86-64 -mattr=+mmx | FileCheck %s
|
||||
; RUN: llc < %s -O0 -regalloc=linearscan -march=x86-64 -mattr=+mmx | FileCheck %s
|
||||
; PR4684
|
||||
|
||||
target datalayout =
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=i386-apple-darwin9 -O0 | grep {movl %edx, 12(%esp)} | count 2
|
||||
; RUN: llc < %s -mtriple=i386-apple-darwin9 -O0 -regalloc=linearscan | grep {movl %edx, 12(%esp)} | count 2
|
||||
; rdar://6992609
|
||||
|
||||
target triple = "i386-apple-darwin9.0"
|
||||
|
Reference in New Issue
Block a user