mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 15:32:52 +01:00
f7e00de5d0
For some reason .lcomm uses byte alignment and .comm log2 alignment so we can't use the same setting for both. Fix this by reintroducing the LCOMM enum. I verified this against mingw's gcc. llvm-svn: 163420
14 lines
369 B
LLVM
14 lines
369 B
LLVM
; RUN: llc -mtriple i386-pc-mingw32 < %s | FileCheck %s
|
|
|
|
@a = internal global i8 0, align 1
|
|
@b = internal global double 0.000000e+00, align 8
|
|
@c = common global i8 0, align 1
|
|
@d = common global double 0.000000e+00, align 8
|
|
|
|
; .lcomm uses byte alignment
|
|
; CHECK: .lcomm _a,1
|
|
; CHECK: .lcomm _b,8,8
|
|
; .comm uses log2 alignment
|
|
; CHECK: .comm _c,1,0
|
|
; CHECK: .comm _d,8,3
|