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 md file until after the definition of the mode iterators and attrs. No functional change intended.
Discussed with, and approved by, Segher off-line, Tested on powerpc-darwin9, powerpc64-linux-gnu, applied to mainline, thanks Iain gcc/ChangeLog: 2019-09-24 Iain Sandoe <i...@sandoe.co.uk> * config/rs6000/rs6000.md: Move darwin.md include until after the definition of the mode iterators. diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index f0b0bb4526..4dbf85bbc9 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") - ^L ;; Mode iterators @@ -731,6 +729,7 @@ (SF "TARGET_P8_VECTOR") (DI "TARGET_POWERPC64")]) +(include "darwin.md") ^L ;; Start with fixed-point load and store insns. Here we put only the more ;; complex forms. Basic data transfer is done later.