Skip to content

chore(compiler): bump amd-llvm to ww19.4 (remove COMGR hotswap tool)#6155

Merged
lamb-j merged 3 commits into
mainfrom
users/lambj/amd-llvm-bump-comgr-tool-removal
Jun 29, 2026
Merged

chore(compiler): bump amd-llvm to ww19.4 (remove COMGR hotswap tool)#6155
lamb-j merged 3 commits into
mainfrom
users/lambj/amd-llvm-bump-comgr-tool-removal

Conversation

@lamb-j

@lamb-j lamb-j commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

ISSUE ID: #6096

Summary

Pin-only amd-llvm SMP bump: 46fcb339 (ww19.3) → aa451e1f (ww19.4), adding one commit — ROCm/llvm-project#3007, which removes the comgr-side hotswap HSA tool (libamd_comgr_hotswap_tool.so). COMGR retains the amd_comgr_hotswap_rewrite API; the HSA_TOOLS_LIB tool now lives in rocm-systems (libhsa-hotswap.so, separate PRs).

Why this is safe standalone

  • Nothing in TheRock references/validates libamd_comgr_hotswap_tool.so, so removing it breaks no build or packaging step.
  • TheRock currently passes -DHOTSWAP_BUILD_TOOL=ON to comgr; after Revert "[ALMIOPEN-895] Remove positive filter to include missing test… #3007 that option no longer exists, so it becomes a harmless unused-variable warning, not an error.
  • The runtime hotswap path is HSA_TOOLS_LIB-gated (unset by default), so there is no runtime behavior change.

Scope

This PR is only the compiler/amd-llvm pin. The companion TheRock CMake cleanup (dropping the dead HOTSWAP_BUILD_TOOL wiring, building the rocm-systems libhsa-hotswap.so) and the rocm-systems SMP bump land separately.

Advances the amd-llvm pin by one commit over the current ww19.3 pin
(46fcb339): ROCm/llvm-project#3007, which removes the comgr-side hotswap HSA
tool (libamd_comgr_hotswap_tool.so). COMGR keeps the amd_comgr_hotswap_rewrite
API; the HSA tool now lives in rocm-systems (libhsa-hotswap.so).

Pin-only change. Nothing in TheRock depends on the removed tool, and the
existing -DHOTSWAP_BUILD_TOOL=ON arg becomes a harmless unused-variable warning
(the option no longer exists in comgr). The TheRock CMake cleanup and the
rocm-systems side land separately.
@therock-pr-bot

therock-pr-bot Bot commented Jun 25, 2026

Copy link
Copy Markdown

✅ All Checks Passed — Ready for Review

Check Status Details
🌿 Branch Name ✅ Pass
📝 PR Title/Description ✅ Pass
Forbidden Files ✅ Pass
🧪 Unit Test ✅ Pass PR does not contain code files — Unit Test auto-passed
🔎 pre-commit ✅ Pass
🚫 Draft PR 🔜 To Be Enabled
🚩 Feature Flag 🔜 To Be Enabled
📊 Code Coverage 🔜 To Be Enabled
🤖 therock-pr-bot ✅ Pass

🎉 All checks passed! This PR is ready for review.

📖 Need help? See the Policy FAQ for details on every check and how to fix failures.

@therock-pr-bot therock-pr-bot Bot added the Not ready to Review PR has unresolved policy failures — reviews blocked label Jun 25, 2026
@therock-pr-bot

therock-pr-bot Bot commented Jun 25, 2026

Copy link
Copy Markdown

🎉 All checks passed! This PR is ready for review.

@lamb-j lamb-j requested a review from ronlieb June 25, 2026 21:24
@lamb-j lamb-j changed the title Bump compiler/amd-llvm to ww19.4 (remove COMGR hotswap HSA tool) chore(compiler): bump amd-llvm to ww19.4 (remove COMGR hotswap tool) Jun 25, 2026
@therock-pr-bot therock-pr-bot Bot removed the Not ready to Review PR has unresolved policy failures — reviews blocked label Jun 25, 2026
@ronlieb

ronlieb commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

build fail: [rocFFT] terminate called after throwing an instance of 'std::runtime_error'
[rocFFT] what(): ld.lld: error: -plugin-opt=mcpu=: ld.lld: Unknown command line argument '-mcpu=gfx1201'. Try: 'ld.lld --help'
[rocFFT] ld.lld: Did you mean '--stats=gfx1201'?

lamb-j and others added 2 commits June 26, 2026 16:21
The previous pin pointed at 8887092c2e8 (#2964 "Make HotSwap tool
detection helpers LLVM-free"), which is an ancestor of the base pin
46fcb339. That moved the compiler backwards and reverted 46fcb339
"[Comgr] Fix hotswap transpiler link order breaking in-process LLD",
causing rocFFT's in-process LLD to fail with
"ld.lld: error: -plugin-opt=mcpu=: Unknown command line argument".

Re-point to aa451e1f (#3007 "Remove COMGR hotswap HSA tool"), the
intended ww19.4 target. This is now a clean forward-only bump of a
single commit over the base.

ISSUE ID: #6096
@lamb-j lamb-j merged commit 7148789 into main Jun 29, 2026
186 of 215 checks passed
@lamb-j lamb-j deleted the users/lambj/amd-llvm-bump-comgr-tool-removal branch June 29, 2026 16:01
@github-project-automation github-project-automation Bot moved this from TODO to Done in TheRock Triage Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants