Displaying 2 results from an estimated 2 matches for "constantshufflevectors".
2012 Sep 28
0
[LLVMdev] [pocl-devel] [cfe-dev] SPIR provisional specification is now available in the Khronos website
...the problem is that it is
*possible* (although not probable, or nice, but that is irrelevant for
corner conditions) to get valid SPIR that it is *very* difficult to get
into a shape that you can code generate for CPUs.
Even the SAFECode snippet that Pekka noted doesn't even handle the case of
ConstantShuffleVectors, for example.
You can easily simplify this problem with a restriction in SPIR: disallow
ConstantExpr casts - no ptrtoint constant expression. Because
GlobalVariables have pointer type, if you disallow converting their type to
non-pointer type in a constantexpr, the number of constantexpr subclasse...
2012 Sep 28
4
[LLVMdev] [pocl-devel] [cfe-dev] SPIR provisional specification is now available in the Khronos website
Carlos,
AMD's OpenCL implementation(both CPU and GPU) has worked for years with the way SPIR represents locals. If there is problems with the representation then it is an implementation issue. One of the issues with using extra kernel arguments is that it requires extra validation and complexity at the runtime level that is not needed if it is handled internally by the compiler. That being