llvm-for-llvmta/test/CodeGen/PowerPC/load-constant-addr.ll

10 lines
323 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; 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, float* inttoptr (i32 186018016 to float*) ; <float> [#uses=1]
ret float %tmp.i
}