aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorMikael Morin <mikael@gcc.gnu.org>2024-09-21 18:32:31 +0200
committerMikael Morin <mikael@gcc.gnu.org>2024-09-21 18:32:31 +0200
commit2a5fd72c7b857b07300705c50f0fddf621be6474 (patch)
tree8b9c8a48c0ab204942615d178fdf7c81aeca4856 /gcc/tree-vectorizer.h
parentc313924c3bcb4fa672c7c1880fe686bd5af2cc7a (diff)
downloadgcc-2a5fd72c7b857b07300705c50f0fddf621be6474.zip
gcc-2a5fd72c7b857b07300705c50f0fddf621be6474.tar.gz
gcc-2a5fd72c7b857b07300705c50f0fddf621be6474.tar.bz2
fortran: Remove MINLOC/MAXLOC frontend optimization
Remove the frontend pass rewriting calls of MINLOC/MAXLOC without DIM to calls with one-valued DIM enclosed in an array constructor. This transformation was circumventing the limitation of inline MINLOC/MAXLOC code generation to scalar cases only, allowing inline code to be generated if ARRAY had rank 1 and DIM was absent. As MINLOC/MAXLOC has gained support of inline code generation in that case, the limitation is no longer effective, and the transformation no longer necessary. gcc/fortran/ChangeLog: * frontend-passes.cc (optimize_minmaxloc): Remove. (optimize_expr): Remove dispatch to optimize_minmaxloc.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions