xref: /llvm-project/llvm/test/CodeGen/PowerPC/load-constant-addr.ll (revision 427fb35192f1f7bb694a5910b05abc5925a798b2)
1; Should fold the ori into the lfs.
2; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep lfs
3; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep ori
4
5define float @test() {
6        %tmp.i = load float, ptr inttoptr (i32 186018016 to ptr)         ; <float> [#uses=1]
7        ret float %tmp.i
8}
9
10