[all-commits] [llvm/llvm-project] a72e03: [mlir] Add llvm.linker.options operation to the LL...

David Truby via All-commits all-commits at lists.llvm.org
Mon Nov 13 06:13:18 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a72e034f1308b0b8ec3ceca499d3913103b33b48
      https://github.com/llvm/llvm-project/commit/a72e034f1308b0b8ec3ceca499d3913103b33b48
  Author: David Truby <david.truby at arm.com>
  Date:   2023-11-13 (Mon, 13 Nov 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/include/mlir/Target/LLVMIR/ModuleImport.h
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    M mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp
    M mlir/lib/Target/LLVMIR/ModuleImport.cpp
    A mlir/test/Target/LLVMIR/Import/metadata-linker-options.ll
    M mlir/test/Target/LLVMIR/llvmir-invalid.mlir
    M mlir/test/Target/LLVMIR/llvmir.mlir

  Log Message:
  -----------
  [mlir] Add llvm.linker.options operation to the LLVM IR Dialect (#71720)

This patch adds a `llvm.linker.options` operation taking a list of
strings to pass to the linker when the resulting object file is linked.
This is particularly useful on Windows to specify the CRT version to use
for this object file.




More information about the All-commits mailing list