hanchenye-llvm-project/clang/test/CodeGenOpenCL
Alexander Kornienko 21de0ae3d4 Re-apply "r226548 - Introduce SPIR calling conventions" reverted in r226558.
The test was fixed after a discussion with the revision author: the check
pattern was made more flexible as the "%call" part is not what we actually want
to check strictly there.

The original patch description:
===
Introduce SPIR calling conventions.

This implements Section 3.7 from the SPIR 1.2 spec:

    SPIR kernels should use "spir_kernel" calling convention.
    Non-kernel functions use "spir_func" calling convention. All
    other calling conventions are disallowed.

The patch works only for OpenCL source. Any other uses will need
to ensure that kernels are assigned the spir_kernel calling
convention correctly.
===

llvm-svn: 226561
2015-01-20 11:20:41 +00:00
..
2011-04-15-vec-init-from-vec.cl
addr-space-struct-arg.cl Prune CRLF. 2014-10-27 12:37:26 +00:00
address-space-constant-initializers.cl
address-spaces-conversions.cl OpenCL: fix test for lack of names in release builds 2014-11-26 22:33:04 +00:00
address-spaces-mangling.cl
address-spaces.cl
amdgpu-num-gpr-attr.cl R600: Handle amdgcn triple 2015-01-06 20:34:47 +00:00
builtins-r600.cl Add __builtin_amdgpu_class 2015-01-06 23:14:57 +00:00
const-str-array-decay.cl Fix an address space id reset with array decay's 2014-12-19 18:04:27 +00:00
constant-addr-space-globals.cl
denorms-are-zero.cl
event_t.cl
ext-vector-shuffle.cl
fpmath.cl IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
half.cl
kernel-arg-info.cl IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
kernel-attributes.cl IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
kernel-metadata.cl IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
local-initializer-undef.cl Emit OpenCL local global variables without zeorinitializer 2014-11-03 16:51:53 +00:00
local.cl Emit OpenCL local global variables without zeorinitializer 2014-11-03 16:51:53 +00:00
logical-ops.cl
opencl_types.cl clang/test/CodeGenOpenCL/opencl_types.cl: Appease i686-msvc. 2014-11-30 00:32:02 +00:00
ptx-calls.cl IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
ptx-kernels.cl IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
relaxed-fpmath.cl OpenCL C: Add support for a set of floating point 2014-12-10 16:41:14 +00:00
shifts.cl
single-precision-constant.cl
spir-calling-conv.cl Re-apply "r226548 - Introduce SPIR calling conventions" reverted in r226558. 2015-01-20 11:20:41 +00:00
spir32_target.cl
spir64_target.cl
str_literals.cl
vectorLoadStore.cl
vector_literals_nested.cl
vector_literals_valid.cl
vector_logops.cl
vector_odd.cl