> On Oct 11, 2018, at 11:01 PM, Jeff Law <l...@redhat.com> wrote:
> 
> On 10/11/18 3:09 PM, Paul Koning wrote:
>> Updated with an additional item I just debugged.
>> 
>> Since the code that uses the doloop_end pattern does not check the operand 
>> mode as given in the pattern, the pattern itself may need to do this, and 
>> that was not documented.  In addition, if the doloop_end pattern is a 
>> define_expand, there must be a define_insn (or define_insn_and_split) 
>> matching the generated pattern.  I had a define_split instead, and the 
>> result was an ICE in loop optimization (loop2_done pass).
>> 
>> This patch adds that information.  It also updates the example to reflect 
>> this.
>> 
>> Ok for trunk?
>> 
>>      paul
>> 
>> ChangeLog:
>> 
>> 2018-10-11  Paul Koning  <n...@arrl.net>
>> 
>>      * doc/md.texi (doloop_end): Document that the pattern code may
>>      need to check operand mode.
> OK.
> jeff

Thanks.  Committed.

        paul

Reply via email to