mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
2f7314c085
Both -fPIC and -G0 disable placement of globals in small data section, but if a global has an explicit section assigmnent placing it in small data, it should go there anyway. llvm-svn: 346523
7 lines
242 B
LLVM
7 lines
242 B
LLVM
; RUN: llc -march=hexagon -hexagon-small-data-threshold=0 < %s | FileCheck %s
|
|
; RUN: llc -march=hexagon -relocation-model=pic < %s | FileCheck %s
|
|
|
|
; CHECK: .section .sdata.4,"aws",@progbits
|
|
@g0 = global i32 zeroinitializer, section ".sdata"
|
|
|