Merge "Remove unneeded MLGO cflag" into main am: 78a456e771
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2839803 Change-Id: I60df6de321df974fb7277141ca6919ea4abd9f38 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
817aea043a
1 changed files with 0 additions and 1 deletions
|
@ -150,7 +150,6 @@ func (lto *lto) flags(ctx BaseModuleContext, flags Flags) Flags {
|
|||
if !ctx.Config().IsEnvFalse("THINLTO_USE_MLGO") {
|
||||
// Register allocation MLGO flags for ARM64.
|
||||
if ctx.Arch().ArchType == android.Arm64 {
|
||||
ltoCFlags = append(ltoCFlags, "-mllvm -regalloc-enable-advisor=release")
|
||||
ltoLdFlags = append(ltoLdFlags, "-Wl,-mllvm,-regalloc-enable-advisor=release")
|
||||
}
|
||||
// Flags for training MLGO model.
|
||||
|
|
Loading…
Reference in a new issue