[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 ab0cef72f2b24a39029c9c31ff327bf23d94719e..420b3ac8fbfaa31fcf2050eeea34d740224489a6 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 f0b0bb4526e9b4bf7ffe6a2f8ea87dccf4dbe49f..4dbf85bbc95bfdddcb1c73282dcf53b2bb71ea8c 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.