@@ -946,53 +946,53 @@ TEST_BRACES(intvec16, int __attribute__((vector_size(16))));
946946
947947TEST_UNINIT (longlongvec32, long long __attribute__ ((vector_size(32 ))));
948948// CHECK-LABEL: @test_longlongvec32_uninit()
949- // CHECK: %uninit = alloca <4 x i64>, align 16
949+ // CHECK: %uninit = alloca <4 x i64>, align
950950// CHECK-NEXT: call void @{{.*}}used{{.*}}%uninit)
951951
952952TEST_BRACES (longlongvec32, long long __attribute__ ((vector_size(32 ))));
953953// CHECK-LABEL: @test_longlongvec32_braces()
954- // CHECK: %braces = alloca <4 x i64>, align 16
955- // CHECK-NEXT: store <4 x i64> zeroinitializer, <4 x i64>* %braces, align 16
954+ // CHECK: %braces = alloca <4 x i64>, align [[ALIGN:[0-9]*]]
955+ // CHECK-NEXT: store <4 x i64> zeroinitializer, <4 x i64>* %braces, align [[ALIGN]]
956956// CHECK-NEXT: call void @{{.*}}used{{.*}}%braces)
957957
958958TEST_CUSTOM (longlongvec32, long long __attribute__ ((vector_size(32 ))), { 0x3333333333333333 , 0x3333333333333333 , 0x3333333333333333 , 0x3333333333333333 });
959959// CHECK-LABEL: @test_longlongvec32_custom()
960- // CHECK: %custom = alloca <4 x i64>, align 16
961- // CHECK-NEXT: store <4 x i64> <i64 3689348814741910323, i64 3689348814741910323, i64 3689348814741910323, i64 3689348814741910323>, <4 x i64>* %custom, align 16
960+ // CHECK: %custom = alloca <4 x i64>, align [[ALIGN:[0-9]*]]
961+ // CHECK-NEXT: store <4 x i64> <i64 3689348814741910323, i64 3689348814741910323, i64 3689348814741910323, i64 3689348814741910323>, <4 x i64>* %custom, align [[ALIGN]]
962962// CHECK-NEXT: call void @{{.*}}used{{.*}}%custom)
963963
964964TEST_UNINIT (floatvec16, float __attribute__ ((vector_size(16 ))));
965965// CHECK-LABEL: @test_floatvec16_uninit()
966- // CHECK: %uninit = alloca <4 x float>, align 16
966+ // CHECK: %uninit = alloca <4 x float>, align
967967// CHECK-NEXT: call void @{{.*}}used{{.*}}%uninit)
968968
969969TEST_BRACES (floatvec16, float __attribute__ ((vector_size(16 ))));
970970// CHECK-LABEL: @test_floatvec16_braces()
971- // CHECK: %braces = alloca <4 x float>, align 16
972- // CHECK-NEXT: store <4 x float> zeroinitializer, <4 x float>* %braces, align 16
971+ // CHECK: %braces = alloca <4 x float>, align [[ALIGN:[0-9]*]]
972+ // CHECK-NEXT: store <4 x float> zeroinitializer, <4 x float>* %braces, align [[ALIGN]]
973973// CHECK-NEXT: call void @{{.*}}used{{.*}}%braces)
974974
975975TEST_CUSTOM (floatvec16, float __attribute__ ((vector_size(16 ))), { 3.1415926535897932384626433 , 3.1415926535897932384626433 , 3.1415926535897932384626433 , 3.1415926535897932384626433 });
976976// CHECK-LABEL: @test_floatvec16_custom()
977- // CHECK: %custom = alloca <4 x float>, align 16
978- // CHECK-NEXT: store <4 x float> <float 0x400921FB60000000, float 0x400921FB60000000, float 0x400921FB60000000, float 0x400921FB60000000>, <4 x float>* %custom, align 16
977+ // CHECK: %custom = alloca <4 x float>, align [[ALIGN:[0-9]*]]
978+ // CHECK-NEXT: store <4 x float> <float 0x400921FB60000000, float 0x400921FB60000000, float 0x400921FB60000000, float 0x400921FB60000000>, <4 x float>* %custom, align [[ALIGN]]
979979// CHECK-NEXT: call void @{{.*}}used{{.*}}%custom)
980980
981981TEST_UNINIT (doublevec32, double __attribute__ ((vector_size(32 ))));
982982// CHECK-LABEL: @test_doublevec32_uninit()
983- // CHECK: %uninit = alloca <4 x double>, align 16
983+ // CHECK: %uninit = alloca <4 x double>, align
984984// CHECK-NEXT: call void @{{.*}}used{{.*}}%uninit)
985985
986986TEST_BRACES (doublevec32, double __attribute__ ((vector_size(32 ))));
987987// CHECK-LABEL: @test_doublevec32_braces()
988- // CHECK: %braces = alloca <4 x double>, align 16
989- // CHECK-NEXT: store <4 x double> zeroinitializer, <4 x double>* %braces, align 16
988+ // CHECK: %braces = alloca <4 x double>, align [[ALIGN:[0-9]*]]
989+ // CHECK-NEXT: store <4 x double> zeroinitializer, <4 x double>* %braces, align [[ALIGN]]
990990// CHECK-NEXT: call void @{{.*}}used{{.*}}%braces)
991991
992992TEST_CUSTOM (doublevec32, double __attribute__ ((vector_size(32 ))), { 3.1415926535897932384626433 , 3.1415926535897932384626433 , 3.1415926535897932384626433 , 3.1415926535897932384626433 });
993993// CHECK-LABEL: @test_doublevec32_custom()
994- // CHECK: %custom = alloca <4 x double>, align 16
995- // CHECK-NEXT: store <4 x double> <double 0x400921FB54442D18, double 0x400921FB54442D18, double 0x400921FB54442D18, double 0x400921FB54442D18>, <4 x double>* %custom, align 16
994+ // CHECK: %custom = alloca <4 x double>, align [[ALIGN:[0-9]*]]
995+ // CHECK-NEXT: store <4 x double> <double 0x400921FB54442D18, double 0x400921FB54442D18, double 0x400921FB54442D18, double 0x400921FB54442D18>, <4 x double>* %custom, align [[ALIGN]]
996996// CHECK-NEXT: call void @{{.*}}used{{.*}}%custom)
997997
998998
0 commit comments