Skip to content
Snippets Groups Projects
Commit 40425c50 authored by Andreas Klebinger's avatar Andreas Klebinger Committed by Marge Bot
Browse files

Aarch64 NCG: Use encoded immediates for literals.

Try to generate

    instr x2, <imm>

instead of

    mov x1, lit
    instr x2, x1

When possible. This get's rid if quite a few redundant
mov instructions.

I believe this causes a metric decrease for LargeRecords as
we reduce register pressure.

-------------------------
Metric Decrease:
    LargeRecord
-------------------------
parent 0bfc8908
No related branches found
No related tags found
No related merge requests found
Pipeline #82155 canceled
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment