diff options
author | Manolis Tsamis <manolis.tsamis@vrull.eu> | 2023-11-01 12:27:28 +0100 |
---|---|---|
committer | Philipp Tomsich <philipp.tomsich@vrull.eu> | 2024-05-24 14:11:51 +0200 |
commit | 6d6f324bda1ccb51cd43ff9d4d017eb71bb2d690 (patch) | |
tree | 20558f0a6c4aaa12601d55fb4832eb99e3d7e35c /gcc/cp | |
parent | 7acd5d71547f74a2af35bab1b17a518197d25d23 (diff) | |
download | gcc-6d6f324bda1ccb51cd43ff9d4d017eb71bb2d690.zip gcc-6d6f324bda1ccb51cd43ff9d4d017eb71bb2d690.tar.gz gcc-6d6f324bda1ccb51cd43ff9d4d017eb71bb2d690.tar.bz2 |
MATCH: Look through VIEW_CONVERT when folding VEC_PERM_EXPRs.
The match.pd patterns to merge two vector permutes into one fail when a
potentially no-op view convert expressions is between the two permutes.
This change lifts this restriction.
gcc/ChangeLog:
* match.pd: Allow no-op view_convert between permutes.
gcc/testsuite/ChangeLog:
* gcc.dg/fold-perm-2.c: New test.
Diffstat (limited to 'gcc/cp')
0 files changed, 0 insertions, 0 deletions