[flang-commits] [flang] [flang][NFCI]Use config structure for MLIR to LLVM pass creation (PR #67792)
Mats Petersson via flang-commits
flang-commits at lists.llvm.org
Fri Sep 29 07:13:28 PDT 2023
================
@@ -713,10 +713,18 @@ void CodeGenAction::generateLLVMIR() {
pm.addPass(std::make_unique<Fortran::lower::VerifierPass>());
pm.enableVerifier(/*verifyPasses=*/true);
+ const auto targetOpts = ci.getInvocation().getTargetOpts();
+ const llvm::Triple triple(targetOpts.triple);
----------------
Leporacanthicus wrote:
Nope, it's from an unrelated change - should be moved out of this patch. [It is needed in the other change!]
https://github.com/llvm/llvm-project/pull/67792
More information about the flang-commits
mailing list