1 ; RUN: llc -mtriple=arm64-linux-gnu -o - %s | FileCheck %s 2 ; RUN: llc -mtriple=arm64-linux-gnu -O0 -o - %s | FileCheck %s 3 4 ; O0 checked for fastisel purposes. It has a separate path which 5 ; creates a constpool entry for floating values. 6 7 define double @needs_const() { 8 ret double 3.14159 9 ; CHECK: .LCPI0_0: 10 11 ; CHECK: adrp {{x[0-9]+}}, .LCPI0_0 12 ; CHECK: ldr d0, [{{x[0-9]+}}, :lo12:.LCPI0_0] 13 } 14