mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-07 11:51:13 +00:00
db43217a24
Currently we have a number of tests that fail with -verify-machineinstrs. To detect this cases earlier we add the option to the testcases with the exception of tests that will currently fail with this option. PR 27456 keeps track of this failures. No code review, as discussed with Hal Finkel. llvm-svn: 277624
22 lines
521 B
LLVM
22 lines
521 B
LLVM
; RUN: llc -verify-machineinstrs -mtriple=powerpc-apple-darwin < %s | FileCheck %s
|
|
|
|
@a = external hidden global i32
|
|
@b = external global i32
|
|
|
|
define i32* @get_a() {
|
|
ret i32* @a
|
|
}
|
|
|
|
define i32* @get_b() {
|
|
ret i32* @b
|
|
}
|
|
|
|
; CHECK: .section __DATA,__nl_symbol_ptr,non_lazy_symbol_pointers
|
|
; CHECK-NEXT: .p2align 2
|
|
; CHECK-NEXT: L_a$non_lazy_ptr:
|
|
; CHECK-NEXT: .indirect_symbol _a
|
|
; CHECK-NEXT: .long 0
|
|
; CHECK-NEXT: L_b$non_lazy_ptr:
|
|
; CHECK-NEXT: .indirect_symbol _b
|
|
; CHECK-NEXT: .long 0
|