[flang-commits] [clang] [flang] [Flang] Add code-object-version option (PR #72638)
Jan Leyonberg via flang-commits
flang-commits at lists.llvm.org
Fri Nov 17 05:52:32 PST 2023
================
@@ -264,6 +263,37 @@ static void addDepdendentLibs(mlir::ModuleOp &mlirModule,
}
}
+// Add to MLIR code target specific items which are dependent on target
+// configuration specified by the user
+static void addTargetSpecificMLIRItems(mlir::ModuleOp &mlirModule,
+ CompilerInstance &ci) {
+ const TargetOptions &targetOpts = ci.getInvocation().getTargetOpts();
----------------
jsjodin wrote:
Create a separate function for adding the code object version like addDependentLibs is a separate function.
https://github.com/llvm/llvm-project/pull/72638
More information about the flang-commits
mailing list