From 197bd30ff3d3314e84f3c95a66eacce748f9d4af Mon Sep 17 00:00:00 2001 From: Bill Schmidt Date: Thu, 26 Feb 2015 17:43:03 +0000 Subject: [PATCH] re PR target/65171 (r214254 causes thousands of std::length_errors running boost testsuite on ppc64le) 2015-02-26 Bill Schmidt PR target/65171 * config/rs6000/rs6000.c (rs6000_analyze_swaps): Ensure instructions with TImode operands are included in the analysis. From-SVN: r221022 --- gcc/ChangeLog | 6 ++++++ gcc/config/rs6000/rs6000.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2dff1fe75fc..f651903d8e8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-02-26 Bill Schmidt + + 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 * tree-ssa-threadupdate.c (dump_jump_thread_path): Print all edges diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 6cef0f5a93c..e72fa654f5f 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -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) -- 2.30.2