From 42eb48017d5cf2a7c76b73cb829871e67635536a Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Tue, 24 Sep 2019 19:15:01 +0000 Subject: [PATCH] [Darwin, PPC, Mode Iterators 0/n] Make iterators visible to darwin.md. As a clean-up, we want to be able to use mode iterators in darwin.md. This patch moves the include point for the Darwin include until after the definition of the mode iterators and attrs. No functional change intended. gcc/ChangeLog: 2019-09-24 Iain Sandoe * config/rs6000/rs6000.md: Move darwin.md include until after the definition of the mode iterators. From-SVN: r276106 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/rs6000.md | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ab0cef72f2b..420b3ac8fbf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-09-24 Iain Sandoe + + * config/rs6000/rs6000.md: Move darwin.md include until + after the definition of the mode iterators. + 2019-09-23 Martin Sebor PR tree-optimization/91570 diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index f0b0bb4526e..4dbf85bbc95 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -361,8 +361,6 @@ (include "predicates.md") (include "constraints.md") -(include "darwin.md") - ;; Mode iterators @@ -731,6 +729,7 @@ (SF "TARGET_P8_VECTOR") (DI "TARGET_POWERPC64")]) +(include "darwin.md") ;; Start with fixed-point load and store insns. Here we put only the more ;; complex forms. Basic data transfer is done later.