mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
cd4ff3e8fc
output As part of the unification of the debug format and the MIR format, always use `printReg` to print all kinds of registers. Updated the tests using '_' instead of '%noreg' until we decide which one we want to be the default one. Differential Revision: https://reviews.llvm.org/D40421 llvm-svn: 319445
23 lines
446 B
LLVM
23 lines
446 B
LLVM
; RUN: llc -mtriple=thumbv7s-apple-ios7.0 -o - %s | FileCheck %s
|
|
|
|
@var = external global i32
|
|
@var_hidden = external hidden global i32
|
|
|
|
define i32* @get_var() {
|
|
ret i32* @var
|
|
}
|
|
|
|
define i32* @get_var_hidden() {
|
|
ret i32* @var_hidden
|
|
}
|
|
|
|
; CHECK: .section __DATA,__nl_symbol_ptr,non_lazy_symbol_pointers
|
|
|
|
; CHECK: .indirect_symbol _var
|
|
; CHECK-NEXT: .long 0
|
|
|
|
; CHECK-NOT: __DATA,__data
|
|
|
|
; CHECK: .indirect_symbol _var_hidden
|
|
; CHECK-NEXT: .long 0
|