Mercurial > hg > CbC > CbC_llvm
comparison clang/test/CodeGenOpenCL/vector_literals.cl @ 236:c4bab56944e8 llvm-original
LLVM 16
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:45:10 +0900 |
parents | 79ff65ed7e25 |
children | 1f2b6ac9f198 |
comparison
equal
deleted
inserted
replaced
232:70dce7da266c | 236:c4bab56944e8 |
---|---|
1 // RUN: %clang_cc1 -emit-llvm %s -o - -O0 | FileCheck %s | 1 // RUN: %clang_cc1 -no-opaque-pointers -emit-llvm %s -o - -O0 | FileCheck %s |
2 // RUN: %clang_cc1 -emit-llvm %s -o - -cl-std=clc++ -O0 | FileCheck %s | 2 // RUN: %clang_cc1 -no-opaque-pointers -emit-llvm %s -o - -cl-std=clc++ -O0 | FileCheck %s |
3 | 3 |
4 typedef __attribute__((ext_vector_type(2))) int int2; | 4 typedef __attribute__((ext_vector_type(2))) int int2; |
5 typedef __attribute__((ext_vector_type(3))) int int3; | 5 typedef __attribute__((ext_vector_type(3))) int int3; |
6 typedef __attribute__((ext_vector_type(4))) int int4; | 6 typedef __attribute__((ext_vector_type(4))) int int4; |
7 typedef __attribute__((ext_vector_type(8))) int int8; | 7 typedef __attribute__((ext_vector_type(8))) int int8; |