[Darwin, PPC, Mode Iterators 0/n] Make iterators visible to darwin.md.
authorIain Sandoe <iain@sandoe.co.uk>
Tue, 24 Sep 2019 19:15:01 +0000 (19:15 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Tue, 24 Sep 2019 19:15:01 +0000 (19:15 +0000)
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  <iain@sandoe.co.uk>

* config/rs6000/rs6000.md: Move darwin.md include until
after the definition of the mode iterators.

From-SVN: r276106

gcc/ChangeLog
gcc/config/rs6000/rs6000.md

index ab0cef7..420b3ac 100644 (file)
@@ -1,3 +1,8 @@
+2019-09-24  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * config/rs6000/rs6000.md: Move darwin.md include until
+       after the definition of the mode iterators.
+
 2019-09-23  Martin Sebor  <msebor@redhat.com>
 
        PR tree-optimization/91570
index f0b0bb4..4dbf85b 100644 (file)
 (include "predicates.md")
 (include "constraints.md")
 
-(include "darwin.md")
-
 \f
 ;; Mode iterators
 
                                     (SF "TARGET_P8_VECTOR")
                                     (DI "TARGET_POWERPC64")])
 
+(include "darwin.md")
 \f
 ;; Start with fixed-point load and store insns.  Here we put only the more
 ;; complex forms.  Basic data transfer is done later.