summaryrefslogtreecommitdiff
path: root/compiler/optimizing/instruction_builder.cc
diff options
context:
space:
mode:
author Jiakai Zhang <jiakaiz@google.com> 2023-04-21 16:31:53 +0100
committer Jiakai Zhang <jiakaiz@google.com> 2023-04-21 19:04:20 +0100
commitb80a870c0da49b4e164344b6254ddddb20d99fbc (patch)
tree6d40792a16d79d938f4b9e3fc181040a5cffd592 /compiler/optimizing/instruction_builder.cc
parent69f2ae9d2e6904e2a842a864881cb31cc40ddd32 (diff)
Change the order of BCP compilation.
Since odrefresh was first introduced on S, it has been compiling BCP in a non-optimal order: it compiles for 32 bit first, and then compiles for 64 bit. If the device runs out of space after compiling for 32 bit, BCP will not be compiled for 64 bit. The metrics reporting was also wrong: if a device supported two ISAs, the 32 bit was always reported as "primary". After this change, odrefresh compiles for the real primary ISA first and reports metrics correctly. Bug: 269230245 Test: Run odrefresh and see BCP compiled in a better order. Change-Id: Ib859fff6534530d063a321edbe8cccbcee2fe7f2
Diffstat (limited to 'compiler/optimizing/instruction_builder.cc')
0 files changed, 0 insertions, 0 deletions