Re: RFA: avoid changing MEMs to mode with higher alignment than underlying memory

2021-01-25 Thread Richard Biener via Gcc-patches
On Tue, Jan 26, 2021 at 3:07 AM Joern Wolfgang Rennecke wrote: > > esirisc has a sub-target that has DImode with 4 byte alignment, and > DFmode with 8 byte alignment. For code like g++.dg/torture/pr39713.C , > the optimizes changes the mode of a MEM from DImode to DFmode even if > the required al

RFA: avoid changing MEMs to mode with higher alignment than underlying memory

2021-01-25 Thread Joern Wolfgang Rennecke
esirisc has a sub-target that has DImode with 4 byte alignment, and DFmode with 8 byte alignment. For code like g++.dg/torture/pr39713.C , the optimizes changes the mode of a MEM from DImode to DFmode even if the required alignment is not available. Appended is is the target-independent part of t