diff options
| author | Egor Churaev <egor.churaev@gmail.com> | 2016-12-20 09:15:21 +0000 |
|---|---|---|
| committer | Egor Churaev <egor.churaev@gmail.com> | 2016-12-20 09:15:21 +0000 |
| commit | b49f706eef3ac5cdadd86aaac5a50335cf8d895e (patch) | |
| tree | d778615345c1c6e7d0fd92820a421cc5da145686 /lib/CodeGen/CGExprComplex.cpp | |
| parent | 4e57f52faea670d545cbe937f52e6e9cf5d19b0b (diff) | |
| download | clang-b49f706eef3ac5cdadd86aaac5a50335cf8d895e.tar.gz | |
[OpenCL] Enabling the usage of CLK_NULL_QUEUE as compare operand.
Summary: Enabling the compression of CLK_NULL_QUEUE to variable of type queue_t.
Reviewers: Anastasia
Subscribers: cfe-commits, yaxunl, bader
Differential Revision: https://reviews.llvm.org/D27569
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290171 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
| -rw-r--r-- | lib/CodeGen/CGExprComplex.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/CGExprComplex.cpp b/lib/CodeGen/CGExprComplex.cpp index 60bbc5cfac..59bc9cdbc0 100644 --- a/lib/CodeGen/CGExprComplex.cpp +++ b/lib/CodeGen/CGExprComplex.cpp @@ -480,6 +480,7 @@ ComplexPairTy ComplexExprEmitter::EmitCast(CastKind CK, Expr *Op, case CK_CopyAndAutoreleaseBlockObject: case CK_BuiltinFnToFnPtr: case CK_ZeroToOCLEvent: + case CK_ZeroToOCLQueue: case CK_AddressSpaceConversion: case CK_IntToOCLSampler: llvm_unreachable("invalid cast kind for complex value"); |
