forked from OSchip/llvm-project
17 lines
645 B
LLVM
17 lines
645 B
LLVM
; RUN: llc -verify-machine-dom-info < %s | not grep test_
|
|
|
|
; XFAIL: aix
|
|
; AIX system assembler default print error for undefined reference .
|
|
; so AIX chose to emit the available externally symbols into .s,
|
|
; so that users won't run into errors in situations like:
|
|
; clang -target powerpc-ibm-aix -xc -<<<$'extern inline __attribute__((__gnu_inline__)) void foo() {}\nvoid bar() { foo(); }' -O -Xclang -disable-llvm-passes
|
|
|
|
; test_function should not be emitted to the .s file.
|
|
define available_externally i32 @test_function() {
|
|
ret i32 4
|
|
}
|
|
|
|
; test_global should not be emitted to the .s file.
|
|
@test_global = available_externally global i32 4
|
|
|