kovdan01 added a comment. In D120129#3408088 <https://reviews.llvm.org/D120129#3408088>, @jdoerfert wrote:
> Godbold seems to not have included this: > > $ cat test.cpp > int main(){return 0;} > $ clang++ -fopenmp -fopenmp-targets=nvptx64 -Xopenmp-target -march=sm_80 > test.cpp > ... static bool llvm::isa_impl_cl<llvm::ConstantAsMetadata, const > llvm::Metadata *>::doit(const From *) [To = llvm::ConstantAsMetadata, From = > const llvm::Metadata *]: Assertion `Val && "isa<> used on a null pointer"' > failed. Thanks for the reproducer! Is the problem specific for sm_80 or not? I am unable to reproduce the issue with sm_75 and lower. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D120129/new/ https://reviews.llvm.org/D120129 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits