Merge "Enable MLGO for register allocation" into main
This commit is contained in:
@@ -140,6 +140,9 @@ var (
|
||||
"-Werror=format-security",
|
||||
"-nostdlibinc",
|
||||
|
||||
// Enable MLGO for register allocation.
|
||||
"-mllvm -regalloc-enable-advisor=release",
|
||||
|
||||
// Emit additional debug info for AutoFDO
|
||||
"-fdebug-info-for-profiling",
|
||||
}
|
||||
@@ -167,6 +170,8 @@ var (
|
||||
"-Wl,--exclude-libs,libgcc_stripped.a",
|
||||
"-Wl,--exclude-libs,libunwind_llvm.a",
|
||||
"-Wl,--exclude-libs,libunwind.a",
|
||||
// Enable MLGO for register allocation.
|
||||
"-Wl,-mllvm,-regalloc-enable-advisor=release",
|
||||
}
|
||||
|
||||
deviceGlobalLldflags = append(deviceGlobalLdflags, commonGlobalLldflags...)
|
||||
|
Reference in New Issue
Block a user