]> granicus.if.org Git - clang/commit
Support IRgen of OpenCL vector initializers, ensuring the resulting IR is in a
authorNate Begeman <natebegeman@mac.com>
Sun, 18 Oct 2009 20:10:40 +0000 (20:10 +0000)
committerNate Begeman <natebegeman@mac.com>
Sun, 18 Oct 2009 20:10:40 +0000 (20:10 +0000)
commit0533b3020ca39898751d4200feed776861dcd1ce
treeb72c7484ff3d0538c7a258309a6d1cd7a384ca86
parent63444b3a546f057591b080dfaea86b7476bb6a18
Support IRgen of OpenCL vector initializers, ensuring the resulting IR is in a
form that LLVM code generators can turn into efficient code.  For example,
int4 a, b, c;
a = (int4)(b.yzw, a.x)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84434 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExprScalar.cpp