1 | // RUN: %clang -emit-llvm -S -O0 -g %s -o - | grep DW_TAG_typedef | grep float4 |
---|---|
2 | typedef float float4 __attribute__((vector_size(16))); |
3 | |
4 | int main(){ |
5 | volatile float4 x = (float4) { 0.0f, 1.0f, 2.0f, 3.0f }; |
6 | x += x; |
7 | return 0; |
8 | } |
9 | |
10 |
1 | // RUN: %clang -emit-llvm -S -O0 -g %s -o - | grep DW_TAG_typedef | grep float4 |
---|---|
2 | typedef float float4 __attribute__((vector_size(16))); |
3 | |
4 | int main(){ |
5 | volatile float4 x = (float4) { 0.0f, 1.0f, 2.0f, 3.0f }; |
6 | x += x; |
7 | return 0; |
8 | } |
9 | |
10 |