[clang] [NFC][clang][Driver] Move normalizeForBundler to OffloadBundler for reuse (PR #225049)

Aditya Sinha via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 22 03:00:23 PDT 2026


AdityaSinha149 wrote:

> LGTM. Please also remove the stale `HIPUtility.cpp` reference in `ClangLinkerWrapper.cpp`.

Hi @yxsamliu , moved `normalizeForBundler` to `clang/Basic/TargetID` instead of `OffloadBundler`; `clang-linker-wrapper` only links `clangBasic`, so it couldn't resolve the symbol from `clangDriver`. Now all three consumers share it with no extra deps. Still NFC, all checks pass. PTAL!

https://github.com/llvm/llvm-project/pull/225049


More information about the cfe-commits mailing list