[libcxx-commits] [PATCH] D130308: [clang] extend getCommonSugaredType to merge sugar nodes

Artem Belevich via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 8 10:47:40 PDT 2022


tra added a comment.

It looks like some of these changes are causing compiler to crash in `clang::ASTContext::getFloatTypeSemantics` during CUDA compilation:
https://lab.llvm.org/buildbot/#/builders/55/builds/35047

I'm currently working on narrowing down which commit is the culprit. Here's a snippet of the stack trace:

   #8 0x0000000008fda385 clang::ASTContext::getFloatTypeSemantics(clang::QualType) const (/buildbot/cuda-p4-0/work/clang-cuda-p4/clang/bin/clang-16+0x8fda385)
   #9 0x0000000008927cb5 unsupportedTypeConversion(clang::Sema const&, clang::QualType, clang::QualType) SemaExpr.cpp:0:0
  #10 0x000000000894925a clang::Sema::CheckAssignmentConstraints(clang::QualType, clang::ActionResult<clang::Expr*, true>&, clang::CastKind&, bool) (/buildbot/cuda-p4-0/work/clang-cuda-p4/clang/bin/clang-16+0x894925a)
  #11 0x0000000008948e26 clang::Sema::CheckAssignmentConstraints(clang::SourceLocation, clang::QualType, clang::QualType) (/buildbot/cuda-p4-0/work/clang-cuda-p4/clang/bin/clang-16+0x8948e26)
  #12 0x00000000089570a7 clang::Sema::CheckAssignmentOperands(clang::Expr*, clang::ActionResult<clang::Expr*, true>&, clang::SourceLocation, clang::QualType, clang::BinaryOperatorKind) (/buildbot/cuda-p4-0/work/clang-cuda-p4/clang/bin/clang-16+0x89570a7)
  #13 0x000000000893af00 clang::Sema::CreateBuiltinBinOp(clang::SourceLocation, clang::BinaryOperatorKind, clang::Expr*, clang::Expr*) (/buildbot/cuda-p4-0/work/clang-cuda-p4/clang/bin/clang-16+0x893af00)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130308



More information about the libcxx-commits mailing list