| 1 |
// RUN: %clang_cc1 -triple x86_64-windows-msvc -fcommon -emit-llvm -o - %s | FileCheck %s |
| 2 |
typedef float TooLargeAlignment __attribute__((__vector_size__(64))); |
| 3 |
typedef float NormalAlignment __attribute__((__vector_size__(4))); |
| 4 |
|
| 5 |
TooLargeAlignment TooBig; |
| 6 |
// CHECK: @TooBig = dso_local global <16 x float> zeroinitializer, align 64 |
| 7 |
NormalAlignment JustRight; |
| 8 |
// CHECK: @JustRight = common dso_local global <1 x float> zeroinitializer, align 4 |
| 9 |
|
| 10 |
TooLargeAlignment *IsAPointer; |
| 11 |
// CHECK: @IsAPointer = common dso_local global ptr null, align 8 |