Skip to content
Commit 8ba1c38a authored by Amara Emerson's avatar Amara Emerson
Browse files

[AArch64][GlobalISel] Add heuristics for G_FCONSTANT localization.

Now that in an earlier commit we adopt the heuristics for SDAG's expansion
of 32/64b fpimms to either GPR materializations or CP load, we can also improve
the localizer to also understand the same heuristics. This avoids localizing
expensive immediates as that increases code size.

The combination of these two changes results in minor improvements in CTMark -Os,
and bigger improvements in some other cases.
parent 49d5bb4b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment