aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/module.cc
diff options
context:
space:
mode:
authorManolis Tsamis <manolis.tsamis@vrull.eu>2023-11-01 12:27:28 +0100
committerPhilipp Tomsich <philipp.tomsich@vrull.eu>2024-05-24 14:11:51 +0200
commit6d6f324bda1ccb51cd43ff9d4d017eb71bb2d690 (patch)
tree20558f0a6c4aaa12601d55fb4832eb99e3d7e35c /gcc/cp/module.cc
parent7acd5d71547f74a2af35bab1b17a518197d25d23 (diff)
downloadgcc-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/module.cc')
0 files changed, 0 insertions, 0 deletions