[all-commits] [llvm/llvm-project] 137cde: [mlir][ROCDL] do not hardcode partial lld path in ...

ftynse via All-commits all-commits at lists.llvm.org
Mon Feb 2 02:39:49 PST 2026


  Branch: refs/heads/users/ftynse/no-hardcoded-lld-path
  Home:   https://github.com/llvm/llvm-project
  Commit: 137cde12b16cac6b715176ba404b027287e472fb
      https://github.com/llvm/llvm-project/commit/137cde12b16cac6b715176ba404b027287e472fb
  Author: Alex Zinenko <git at ozinenko.com>
  Date:   2026-02-02 (Mon, 02 Feb 2026)

  Changed paths:
    M mlir/include/mlir/Target/LLVM/ROCDL/Utils.h
    M mlir/lib/Target/LLVM/ROCDL/Target.cpp

  Log Message:
  -----------
  [mlir][ROCDL] do not hardcode partial lld path in utilities

`ROCDL::linkObjectCode` was unconditionally appending llvm/bin/ld.lld to the
path it is been passed to to look for lld, which isn't desirable for a utility
function and makes it unusable with, e.g., system lld or one from the LLVM's
own build directory. Move this logic to the caller and let the utility take a
full path.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list