diff options
author | Sameer Sahasrabuddhe <sameer.sahasrabuddhe@amd.com> | 2015-02-04 06:38:18 +0000 |
---|---|---|
committer | Sameer Sahasrabuddhe <sameer.sahasrabuddhe@amd.com> | 2015-02-04 06:38:18 +0000 |
commit | e8d2aaf32021280a951d71e15e114a928cd14ce2 (patch) | |
tree | 68079478a6c342808898a4007308dd559ea280e7 /clang/lib/CodeGen/CGCall.cpp | |
parent | 81638eabe6c0bb540f92943fca08ee0cb37f22b3 (diff) | |
download | bcm5719-llvm-e8d2aaf32021280a951d71e15e114a928cd14ce2.tar.gz bcm5719-llvm-e8d2aaf32021280a951d71e15e114a928cd14ce2.zip |
OpenCL: handle ternary operator when the condition is a vector
When the condition is a vector, OpenCL specifies additional
requirements on the operand types, and also the operations
required to determine the result type of the operator. This is a
combination of OpenCL v1.1 s6.3.i and s6.11.6, and the semantics
remain unchanged in later versions of OpenCL.
llvm-svn: 228118
Diffstat (limited to 'clang/lib/CodeGen/CGCall.cpp')
0 files changed, 0 insertions, 0 deletions