aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/PowerPC/load-constant-addr.ll
blob: 680ec0e046fd5cc73c3f25ea506ecdbbafe8c42e (plain)
1
2
3
4
5
6
7
8
9
; Should fold the ori into the lfs.
; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep lfs
; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep ori

define float @test() {
        %tmp.i = load float, ptr inttoptr (i32 186018016 to ptr)         ; <float> [#uses=1]
        ret float %tmp.i
}