Re: [PATCH] middle-end/101530 - fix shufflevector lowering

2022-01-10 Thread Richard Biener via Gcc-patches
wrapping the TARGET_EXPR inside a COMPOUND_EXPR. Fixed as follows, re-bootstrapped and tested on x86_64-unknown-linux-gnu and pushed. Richard. >From be59671c5624fe8bf21ddb0192e97ebdfa4db381 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 5 Jan 2022 15:13:33 +0100 Subject: [PATCH] middle-end

Re: [PATCH] middle-end/101530 - fix shufflevector lowering

2022-01-05 Thread Jeff Law via Gcc-patches
On 1/5/2022 7:17 AM, Richard Biener via Gcc-patches wrote: This makes __builtin_shufflevector lowering force the result of the BIT_FIELD_REF lowpart operation to a temporary as to fulfil the IL verifier constraint that BIT_FIELD_REFs should be always in outermost handled component position. T

[PATCH] middle-end/101530 - fix shufflevector lowering

2022-01-05 Thread Richard Biener via Gcc-patches
This makes __builtin_shufflevector lowering force the result of the BIT_FIELD_REF lowpart operation to a temporary as to fulfil the IL verifier constraint that BIT_FIELD_REFs should be always in outermost handled component position. Trying to enforce this during gimplification isn't as straight-fo