brintos

brintos / llvm-project-archived public Read only

0
0
Text · 406 B · 9f7a885 Raw
14 lines · plain
1; RUN: llc -mtriple=arm64-linux-gnu -o - %s | FileCheck %s2; RUN: llc -mtriple=arm64-linux-gnu -O0 -fast-isel -o - %s | FileCheck %s3 4; O0 checked for fastisel purposes. It has a separate path which5; creates a constpool entry for floating values.6 7define double @needs_const() {8  ret double 3.141599; CHECK: .LCPI0_0:10 11; CHECK: adrp {{x[0-9]+}}, .LCPI0_012; CHECK: ldr d0, [{{x[0-9]+}}, :lo12:.LCPI0_0]13}14