[clang] [clang][AMDGPU] Enable module splitting by default (PR #128509)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 26 12:02:02 PDT 2025
================
@@ -708,6 +711,33 @@ void amdgpu::getAMDGPUTargetFeatures(const Driver &D,
options::OPT_m_amdgpu_Features_Group);
}
+static unsigned getFullLTOPartitions(const Driver &D, const ArgList &Args) {
+ const Arg *A = Args.getLastArg(options::OPT_flto_partitions_EQ);
----------------
jhuber6 wrote:
This should be `getLastArgValue` with a default of `"8"`.
https://github.com/llvm/llvm-project/pull/128509
More information about the cfe-commits
mailing list