[PATCH] D30810: Preserve vec3 type.

JinGu Kang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 13 02:07:08 PDT 2017


jaykang10 marked an inline comment as done.
jaykang10 added a comment.

In https://reviews.llvm.org/D30810#699006, @ahatanak wrote:

> Could you elaborate on the motivation for this change?
>
> I was wondering why clang (CodeGen) needed the help of a command line option to decide whether vec3 should be converted to vec4. Can it just preserve vec3 when the architecture is spir?


Ah, sorry... I forgot to link the discussion cfe-dev. http://lists.llvm.org/pipermail/cfe-dev/2017-March/052956.html I hope it is helpful for you.


https://reviews.llvm.org/D30810





More information about the cfe-commits mailing list