]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2015-02-26 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
authorwschmidt <wschmidt@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Feb 2015 17:43:03 +0000 (17:43 +0000)
committerwschmidt <wschmidt@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Feb 2015 17:43:03 +0000 (17:43 +0000)
PR target/65171
* config/rs6000/rs6000.c (rs6000_analyze_swaps): Ensure
instructions with TImode operands are included in the analysis.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221022 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index 2dff1fe75fcf2b2c6c358563414a100be0dce808..f651903d8e80592e5819e871f78d39347e27d2b7 100644 (file)
@@ -1,3 +1,9 @@
+2015-02-26  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
+
+       PR target/65171
+       * config/rs6000/rs6000.c (rs6000_analyze_swaps): Ensure
+       instructions with TImode operands are included in the analysis.
+
 2015-02-26  Sebastian Pop  <s.pop@samsung.com>
 
        * tree-ssa-threadupdate.c (dump_jump_thread_path): Print all edges
index 6cef0f5a93cc637ffa9c7de9f44ca3a82750b8e1..e72fa654f5f93a8a7c15ac9b79347bc6d0b513dd 100644 (file)
@@ -34781,7 +34781,7 @@ rs6000_analyze_swaps (function *fun)
                    mode = V4SImode;
                }
 
-             if (VECTOR_MODE_P (mode))
+             if (VECTOR_MODE_P (mode) || mode == TImode)
                {
                  insn_entry[uid].is_relevant = 1;
                  if (mode == TImode || mode == V1TImode)
@@ -34808,7 +34808,7 @@ rs6000_analyze_swaps (function *fun)
                  && VECTOR_MODE_P (GET_MODE (SET_DEST (insn))))
                mode = GET_MODE (SET_DEST (insn));
 
-             if (VECTOR_MODE_P (mode))
+             if (VECTOR_MODE_P (mode) || mode == TImode)
                {
                  insn_entry[uid].is_relevant = 1;
                  if (mode == TImode || mode == V1TImode)