[clang] [RISCV] Implement multi-lib reuse rule for RISC-V bare-metal toolchain (PR #73765)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 29 10:04:38 PST 2023


================
@@ -1715,6 +1716,129 @@ static void findCSKYMultilibs(const Driver &D, const llvm::Triple &TargetTriple,
     Result.Multilibs = CSKYMultilibs;
 }
 
+/// Extend the multi-lib re-use selection mechanism for RISC-V.
+/// This funciton will try to re-use multi-lib if they are compatible.
----------------
topperc wrote:

function*

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


More information about the cfe-commits mailing list