summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/aix-space.ll
blob: d681d636e66a809b61da1ab1decd74fdf2dd20b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
; RUN: llc -verify-machineinstrs -O0 -mcpu=pwr7 -mtriple powerpc-ibm-aix-xcoff < %s | FileCheck %s

@a = common global double 0.000000e+00, align 8

; Get some constants into the constant pool that need spacing for alignment
define void @e() {
entry:
  %0 = load double, double* @a, align 8
  %mul = fmul double 1.500000e+00, %0
  store double %mul, double* @a, align 8
  %mul1 = fmul double 0x3F9C71C71C71C71C, %0
  store double %mul1, double* @a, align 8
  ret void
}

; CHECK:      .space 4
; CHECK-NOT:  .zero
OpenPOWER on IntegriCloud