[PATCH] D100492: [OpenCL] Change OpenCL builtin version encoding
Anton Zabaznov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 15 06:47:45 PDT 2021
azabaznov accepted this revision.
azabaznov added a comment.
This revision is now accepted and ready to land.
Great! And thanks for fixing misprint :)
================
Comment at: clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp:507
+ if (VersionIDs[I] >= MinVersion && VersionIDs[I] < MaxVersion) {
+ Encoded |= 1 << I;
+ }
----------------
nit: Encoded |= clang::encodeOpenCLVersion(VersionIDs[I]);
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100492/new/
https://reviews.llvm.org/D100492
More information about the cfe-commits
mailing list