diff options
author | Anastasia Stulova <anastasia.stulova@arm.com> | 2017-02-16 12:27:47 +0000 |
---|---|---|
committer | Anastasia Stulova <anastasia.stulova@arm.com> | 2017-02-16 12:27:47 +0000 |
commit | 58984e7087bc530ac2fae06b3ef15a4f1bc118f9 (patch) | |
tree | a11b867cfc2d17c70b6e9e73f7e97429791d848b /clang/lib/CodeGen/CodeGenTypes.cpp | |
parent | b1701e0b058113a0d1a9c624e480859b26f1345c (diff) | |
download | bcm5719-llvm-58984e7087bc530ac2fae06b3ef15a4f1bc118f9.tar.gz bcm5719-llvm-58984e7087bc530ac2fae06b3ef15a4f1bc118f9.zip |
[OpenCL] Correct ndrange_t implementation
Removed ndrange_t as Clang builtin type and added
as a struct type in the OpenCL header.
Use type name to do the Sema checking in enqueue_kernel
and modify IR generation accordingly.
Review: D28058
Patch by Dmitry Borisenkov!
llvm-svn: 295311
Diffstat (limited to 'clang/lib/CodeGen/CodeGenTypes.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenTypes.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenTypes.cpp b/clang/lib/CodeGen/CodeGenTypes.cpp index c9e49a6af6f..dc24b2040f0 100644 --- a/clang/lib/CodeGen/CodeGenTypes.cpp +++ b/clang/lib/CodeGen/CodeGenTypes.cpp @@ -472,7 +472,6 @@ llvm::Type *CodeGenTypes::ConvertType(QualType T) { case BuiltinType::OCLEvent: case BuiltinType::OCLClkEvent: case BuiltinType::OCLQueue: - case BuiltinType::OCLNDRange: case BuiltinType::OCLReserveID: ResultType = CGM.getOpenCLRuntime().convertOpenCLSpecificType(Ty); break; |