Previously, we forced a #0 inline constant tacked on for the lut instructions to mirror the blob's behaviour, which caused some suboptimal codegen due to our constant inlining implementation. Instead, just don't force a constant at all. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Tested-by: Tomeu Vizoso <tomeu.vizoso@collabora.comtags/19.1-branchpoint
.src0 = quirk_flipped_r24 ? SSA_UNUSED_1 : src0, | .src0 = quirk_flipped_r24 ? SSA_UNUSED_1 : src0, | ||||
.src1 = quirk_flipped_r24 ? src0 : src1, | .src1 = quirk_flipped_r24 ? src0 : src1, | ||||
.dest = dest, | .dest = dest, | ||||
.inline_constant = (nr_inputs == 1) && !quirk_flipped_r24 | |||||
} | } | ||||
}; | }; | ||||