xref: /llvm-project/llvm/test/CodeGen/PowerPC/hidden-vis.ll (revision 427fb35192f1f7bb694a5910b05abc5925a798b2)
1; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu | not grep non_lazy_ptr
2
3@x = weak hidden global i32 0		; <ptr> [#uses=1]
4
5define i32 @t() nounwind readonly {
6entry:
7	%0 = load i32, ptr @x, align 4		; <i32> [#uses=1]
8	ret i32 %0
9}
10