Skip to content

nir/opt_shrink_vectors: shrink some intrinsics from start

Alyssa Rosenzweig requested to merge alyssa/mesa:nir/shrink-start into main

intrinsics with a component() are straightforward to shrink from the start. notably helps vectorized I/O. agx:

total instructions in shared programs: 2038217 -> 2038049 (<.01%)
instructions in affected programs: 10249 -> 10081 (-1.64%)
helped: 115
HURT: 11
Instructions are helped.

total alu in shared programs: 1593094 -> 1592939 (<.01%)
alu in affected programs: 7145 -> 6990 (-2.17%)
helped: 105
HURT: 14
Alu are helped.

total fscib in shared programs: 1589254 -> 1589102 (<.01%)
fscib in affected programs: 7217 -> 7065 (-2.11%)
helped: 105
HURT: 16
Fscib are helped.

total bytes in shared programs: 13975666 -> 13974722 (<.01%)
bytes in affected programs: 65942 -> 64998 (-1.43%)
helped: 109
HURT: 17
Bytes are helped.

total regs in shared programs: 592758 -> 591187 (-0.27%)
regs in affected programs: 6936 -> 5365 (-22.65%)
helped: 279
HURT: 22
Regs are helped.
Edited by Alyssa Rosenzweig

Merge request reports