yaxunl added inline comments.
================ Comment at: clang/lib/CodeGen/CodeGenModule.cpp:6845-6846 + llvm::MD5::MD5Result Result; + for (const auto &Arg : PreprocessorOpts.Macros) + Hash.update(Arg.first); + Hash.final(Result); ---------------- Are these options always the same for device and host compilation? If not, this may not work since host and device compilation will have different names for the same variable. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D125904/new/ https://reviews.llvm.org/D125904 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits