Preserve vec3 type.
authorJin-Gu Kang <jaykang10@gmail.com>
Tue, 4 Apr 2017 16:40:25 +0000 (16:40 +0000)
committerJin-Gu Kang <jaykang10@gmail.com>
Tue, 4 Apr 2017 16:40:25 +0000 (16:40 +0000)
commite7cdcdea730e5edcaacb86e7feb8accbd0810d88
tree5578a71b960640549cc03885329118ac0a7f48b9
parent3e90f84806e40b0818c3003b24e558bef63db18b
Preserve vec3 type.

Summary: Preserve vec3 type with CodeGen option.

Reviewers: Anastasia, bruno

Reviewed By: Anastasia

Subscribers: bruno, ahatanak, cfe-commits

Differential Revision: https://reviews.llvm.org/D30810

llvm-svn: 299445
clang/include/clang/Driver/CC1Options.td
clang/include/clang/Frontend/CodeGenOptions.def
clang/lib/CodeGen/CGExpr.cpp
clang/lib/CodeGen/CGExprScalar.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/CodeGenOpenCL/preserve_vec3.cl [new file with mode: 0644]