mirror of
https://github.com/RPCS3/llvm.git
synced 2026-08-27 02:51:23 -04:00
f6f4d20ff0
Summary: The AIX system assembler does not understand .zero, so we should prefer emitting .space. Subscribers: nemanjai, hiraditya, kbarton, MaskRay, jsji, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68815 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374564 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
514 B
LLVM
18 lines
514 B
LLVM
; 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
|