================ @@ -3083,6 +3083,10 @@ ScalarExprEmitter::VisitUnaryExprOrTypeTraitExpr( E->getTypeOfArgument()->getPointeeType())) .getQuantity(); return llvm::ConstantInt::get(CGF.SizeTy, Alignment); + } else if (E->getKind() == UETT_VectorElements) { + auto *VecTy = + dyn_cast<llvm::VectorType>(ConvertType(E->getTypeOfArgument())); ---------------- erichkeane wrote:
```suggestion cast<llvm::VectorType>(ConvertType(E->getTypeOfArgument())); ``` You immediately dereference this anyway, and I think the semantics guarantees this is the case, correct? https://github.com/llvm/llvm-project/pull/69010 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits