mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-03-13 12:43:14 +00:00
------------------------------------------------------------------------ r243638 | vkalintiris | 2015-07-30 05:39:33 -0700 (Thu, 30 Jul 2015) | 12 lines [mips][FastISel] Remove hidden mips-fast-isel option. Summary: This hidden option would disable code generation through FastISel by default. It was removed from the available options and from the Fast-ISel tests that required it in order to run the tests. Reviewers: dsanders Subscribers: qcolombet, llvm-commits Differential Revision: http://reviews.llvm.org/D11610 ------------------------------------------------------------------------ ------------------------------------------------------------------------ r243640 | vkalintiris | 2015-07-30 06:13:09 -0700 (Thu, 30 Jul 2015) | 5 lines [mips] Fix out-of-date debug information in test file. Update the debug info in the check-lines because the change in r243638 introduced a constant initialization before the prologue's end as part of a register spill. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_37@243650 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
623 B
LLVM
19 lines
623 B
LLVM
; RUN: llc -march=mipsel -mcpu=mips32 -relocation-model=pic \
|
|
; RUN: -fast-isel=true -fast-isel-abort=1 < %s | FileCheck %s
|
|
; RUN: llc -march=mipsel -mcpu=mips32r2 -relocation-model=pic \
|
|
; RUN: -fast-isel=true -fast-isel-abort=1 < %s | FileCheck %s
|
|
|
|
@ARR = external global [10 x i32], align 4
|
|
|
|
define void @foo() {
|
|
; CHECK-LABEL: foo
|
|
|
|
; CHECK-DAG: lw $[[ARR:[0-9]+]], %got(ARR)({{.*}})
|
|
; CHECK-DAG: addiu $[[T0:[0-9]+]], $zero, 12345
|
|
; CHECK: sw $[[T0]], 8($[[ARR]])
|
|
|
|
entry:
|
|
store i32 12345, i32* getelementptr inbounds ([10 x i32], [10 x i32]* @ARR, i32 0, i32 2), align 4
|
|
ret void
|
|
}
|