diff options
author | Richard Biener <rguenther@suse.de> | 2022-01-05 15:13:33 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-01-10 11:29:43 +0100 |
commit | be59671c5624fe8bf21ddb0192e97ebdfa4db381 (patch) | |
tree | c7d5dc368bf7380f136fe20d687cb0a541f6f782 /gcc/tree-vect-loop.c | |
parent | 92e114d66e93d60dcef97c66cddbae38b657d768 (diff) | |
download | gcc-be59671c5624fe8bf21ddb0192e97ebdfa4db381.zip gcc-be59671c5624fe8bf21ddb0192e97ebdfa4db381.tar.gz gcc-be59671c5624fe8bf21ddb0192e97ebdfa4db381.tar.bz2 |
middle-end/101530 - fix shufflevector lowering
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-forward
as here where we know we're dealing with an rvalue.
FAIL: c-c++-common/torture/builtin-shufflevector-1.c -O0 execution test
2022-01-05 Richard Biener <rguenther@suse.de>
PR middle-end/101530
gcc/c-family/
* c-common.c (c_build_shufflevector): Wrap the BIT_FIELD_REF
in a TARGET_EXPR to force a temporary.
gcc/testsuite/
* c-c++-common/builtin-shufflevector-3.c: New testcase.
Diffstat (limited to 'gcc/tree-vect-loop.c')
0 files changed, 0 insertions, 0 deletions