xref: /aosp_15_r20/external/llvm/test/CodeGen/Generic/externally_available.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s | not grep test_
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker; test_function should not be emitted to the .s file.
4*9880d681SAndroid Build Coastguard Workerdefine available_externally i32 @test_function() {
5*9880d681SAndroid Build Coastguard Worker  ret i32 4
6*9880d681SAndroid Build Coastguard Worker}
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Worker; test_global should not be emitted to the .s file.
9*9880d681SAndroid Build Coastguard Worker@test_global = available_externally global i32 4
10*9880d681SAndroid Build Coastguard Worker
11