mirror of
https://github.com/intel/llvm.git
synced 2026-01-19 17:45:07 +08:00
After a first attempt to fix the test-suite failures, my first recommit
caused the same failures again. I had updated CMakeList.txt files of
tests that needed -fcommon, but it turns out that there are also
Makefiles which are used by some bots, so I've updated these Makefiles
now too.
See the original commit message for more details on this change:
0a9fc9233e
12 lines
551 B
C
12 lines
551 B
C
// RUN: %clang_cc1 -triple x86_64-windows-msvc -fcommon -emit-llvm -o - %s | FileCheck %s
|
|
typedef float TooLargeAlignment __attribute__((__vector_size__(64)));
|
|
typedef float NormalAlignment __attribute__((__vector_size__(4)));
|
|
|
|
TooLargeAlignment TooBig;
|
|
// CHECK: @TooBig = dso_local global <16 x float> zeroinitializer, align 64
|
|
NormalAlignment JustRight;
|
|
// CHECK: @JustRight = common dso_local global <1 x float> zeroinitializer, align 4
|
|
|
|
TooLargeAlignment *IsAPointer;
|
|
// CHECK: @IsAPointer = common dso_local global <16 x float>* null, align 8
|