| Erich Keane | 85c6224 | 2019-01-08 18:44:22 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -triple x86_64-windows-msvc -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 | ||||