
The LIT test cases were migrated with the script provided by Nikita Popov. Due to the size of the change it is split into several parts. Reviewed By: nemanja, amyk, nikic, PowerPC Differential Revision: https://reviews.llvm.org/D135470
21 lines
389 B
LLVM
21 lines
389 B
LLVM
; RUN: llc -verify-machineinstrs -mtriple=powerpc-unknown-linux-gnu < %s | FileCheck %s
|
|
|
|
@a = external hidden global i32
|
|
@b = external global i32
|
|
|
|
define ptr @get_a() {
|
|
ret ptr @a
|
|
}
|
|
|
|
define ptr @get_b() {
|
|
ret ptr @b
|
|
}
|
|
|
|
; CHECK: .globl get_a
|
|
; CHECK: .p2align 2
|
|
; CHECK: .type get_a,@function
|
|
; CHECK: .globl get_b
|
|
; CHECK: .p2align 2
|
|
; CHECK: .type get_b,@function
|
|
; CHECK: .hidden a
|