summaryrefslogtreecommitdiff
path: root/unittests/AST/ASTImporterTest.cpp
diff options
context:
space:
mode:
authorYaxun Liu <Yaxun.Liu@amd.com>2016-06-08 15:11:21 +0000
committerYaxun Liu <Yaxun.Liu@amd.com>2016-06-08 15:11:21 +0000
commitde5698de405866349ba1db4be46093909b582841 (patch)
tree8d7cdc09971f1fb12c81ec3d12526749d0a5ed2c /unittests/AST/ASTImporterTest.cpp
parente4079792195290bec7a0243d1d4c7b4a5a9d0dc9 (diff)
downloadclang-de5698de405866349ba1db4be46093909b582841.tar.gz
[OpenCL] Fix __builtin_astype for vec3 types.
__builtin_astype does not generate correct LLVM IR for vec3 types. This patch inserts bitcasts to/from vec4 when necessary in addition to generating vector shuffle. Sema and codegen tests are added. Differential Revision: http://reviews.llvm.org/D20133 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@272153 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/AST/ASTImporterTest.cpp')
0 files changed, 0 insertions, 0 deletions