hanchenye-llvm-project/clang/test/CodeGenOpenCL
Simon Pilgrim 4034b9f0b9 Fix invalid shufflevector operands
This patch fixes bug 23800 ( https://llvm.org/bugs/show_bug.cgi?id=23800#c2 ). There existed a case where the index operand from extractelement was directly used to create a shufflevector mask. Since the index can be of any integral type but the mask must only contain 32 bit integers a 64 bit index operand led to an assertion error later on.

Committed on behalf of mpflanzer (Moritz Pflanzer)

Differential Revision: http://reviews.llvm.org/D10838

llvm-svn: 243851
2015-08-02 15:28:10 +00:00
..
2011-04-15-vec-init-from-vec.cl
addr-space-struct-arg.cl
address-space-constant-initializers.cl Test case updates for explicit type parameter to the gep operator 2015-03-13 18:21:46 +00:00
address-spaces-conversions.cl
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
cl-strict-aliasing.cl Revert r229409: "Hack to try deleting file from build bots" 2015-02-16 18:03:59 +00:00
const-str-array-decay.cl Test case updates for explicit type parameter to the gep operator 2015-03-13 18:21:46 +00:00
constant-addr-space-globals.cl
denorms-are-zero.cl
event_t.cl Account for calling convention specifiers in function definitions in IR test cases 2015-06-29 17:29:50 +00:00
ext-vector-shuffle.cl
fpmath.cl IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
half.cl [CodeGen] Support native half inc/dec amounts. 2015-03-24 23:44:42 +00:00
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
local.cl Account for calling convention specifiers in function definitions in IR test cases 2015-06-29 17:29:50 +00:00
logical-ops.cl
memcpy.cl Sema: Accept pointers to any address space for builtin functions 2015-03-31 16:39:02 +00:00
opencl_types.cl Account for calling convention specifiers in function definitions in IR test cases 2015-06-29 17:29:50 +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 Remove the cl-no-signed-zeros cc1 option 2015-04-04 14:54:24 +00:00
shifts.cl Restores r228382, which was reverted in r228406. 2015-02-25 05:48:23 +00:00
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
vector_shufflevector_valid.cl Fix invalid shufflevector operands 2015-08-02 15:28:10 +00:00