Merge "Enable MLGO for register allocation" into main am: 798f5d2e7e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2736897 Change-Id: Id211ca4c74daeeb5d7954240b8d98963e941ad09 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
be007f33bf
1 changed files with 5 additions and 0 deletions
|
@ -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...)
|
||||
|
|
Loading…
Reference in a new issue