[PATCH] D24669: {Sema] Gcc compatibility of vector shift.

Akira Hatanaka via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 4 08:32:07 PDT 2016


ahatanak added inline comments.


> SemaExpr.cpp:8787
>      }
> +    if (!S.LangOpts.OpenCL && !S.LangOpts.ZVector) {
> +      const BuiltinType *LHSBT = LHSEleType->getAs<clang::BuiltinType>();

Is it possible to use ASTContext::getTypeSize here?

https://reviews.llvm.org/D24669





More information about the cfe-commits mailing list