brintos

brintos / llvm-project-archived public Read only

0
0
Text · 781 B · 840f6d7 Raw
20 lines · plain
1; RUN: llc -verify-machine-dom-info < %s | not grep test_2 3; XFAIL: target={{.*}}-aix{{.*}}4; AIX system assembler default print error for undefined reference .5; so AIX chose to emit the available externally symbols into .s,6; so that users won't run into errors in situations like:7; clang -target powerpc-ibm-aix -xc -<<<$'extern inline __attribute__((__gnu_inline__)) void foo() {}\nvoid bar() { foo(); }' -O -Xclang -disable-llvm-passes8 9; XFAIL: target=nvptx{{.*}}10; unexpected emitting of the global var, while the function is not emitted as expected11 12; test_function should not be emitted to the .s file.13define available_externally i32 @test_function() {14  ret i32 415}16 17; test_global should not be emitted to the .s file.18@test_global = available_externally global i32 419 20