diff options
author | Andrew Savonichev <andrew.savonichev@intel.com> | 2018-10-23 15:19:20 +0000 |
---|---|---|
committer | Andrew Savonichev <andrew.savonichev@intel.com> | 2018-10-23 15:19:20 +0000 |
commit | b555b76ed3548d0a27653eac746bc686f810caa3 (patch) | |
tree | 40f94849e6abdae867b07faa1100c2bb72dde412 /clang/lib/CodeGen/CGExprConstant.cpp | |
parent | 532a0f122e3a20415704fe3899351332795238e6 (diff) | |
download | bcm5719-llvm-b555b76ed3548d0a27653eac746bc686f810caa3.tar.gz bcm5719-llvm-b555b76ed3548d0a27653eac746bc686f810caa3.zip |
[OpenCL][NFC] Unify ZeroToOCL* cast types
Reviewers: Anastasia, yaxunl
Reviewed By: Anastasia
Subscribers: asavonic, cfe-commits
Differential Revision: https://reviews.llvm.org/D52654
llvm-svn: 345038
Diffstat (limited to 'clang/lib/CodeGen/CGExprConstant.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGExprConstant.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGExprConstant.cpp b/clang/lib/CodeGen/CGExprConstant.cpp index 3dbb20dab2a..e1ad656de59 100644 --- a/clang/lib/CodeGen/CGExprConstant.cpp +++ b/clang/lib/CodeGen/CGExprConstant.cpp @@ -869,9 +869,8 @@ public: case CK_FloatingToIntegral: case CK_FloatingToBoolean: case CK_FloatingCast: - case CK_ZeroToOCLEvent: - case CK_ZeroToOCLQueue: case CK_FixedPointCast: + case CK_ZeroToOCLOpaqueType: return nullptr; } llvm_unreachable("Invalid CastKind"); |