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