xref: /aosp_15_r20/external/llvm/test/CodeGen/PowerPC/store-load-fwd.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: llc < %s -march=ppc32 | not grep lwz
2
3define i32 @test(i32* %P) {
4        store i32 1, i32* %P
5        %V = load i32, i32* %P               ; <i32> [#uses=1]
6        ret i32 %V
7}
8
9