Manna marked an inline comment as done.
Manna added inline comments.

================
Comment at: clang/lib/Sema/SemaExpr.cpp:11148
   if (LHSType->isVLSTBuiltinType() && RHSType->isVLSTBuiltinType() &&
       Context.getBuiltinVectorTypeInfo(LHSBuiltinTy).EC !=
           Context.getBuiltinVectorTypeInfo(RHSBuiltinTy).EC) {
----------------
erichkeane wrote:
> This is the only other use of htem, but the 1st part of the 'if' checks if 
> these are builtin types.  
Thanks for the comments. I have added nullptr checks for LHSBuiltinTy  and 
RHSBuiltinTy before using them to getBuiltinVectorTypeInfo() which dereferences.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152197/new/

https://reviews.llvm.org/D152197

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to