This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2 10/13] Avoid CSE of MEMs in different address spaces


On 10/21/2015 03:37 AM, Jeff Law wrote:
On 10/20/2015 03:27 PM, Richard Henderson wrote:
---
  gcc/cselib.c                                 | 22 +++++++++++++---------
  gcc/fold-const.c                             | 14 +++++++-------
  gcc/testsuite/gcc.target/i386/addr-space-2.c | 11 +++++++++++
  3 files changed, 31 insertions(+), 16 deletions(-)
  create mode 100644 gcc/testsuite/gcc.target/i386/addr-space-2.c
This part is fine.  Does the one testcase cover both the cselib.c &
fold-const.c fix?  If not, it'd be good to cover both if we can.

Yes it does.

The fold-const fix gets us as far as .optimized, but then the cselib fix gets us past postreload-cse.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]