[Bug rtl-optimization/93565] Combine duplicates count trailing zero instructions

wdijkstr at arm dot com gcc-bugzilla@gcc.gnu.org
Thu Feb 6 22:22:00 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93565

Wilco <wdijkstr at arm dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wdijkstr at arm dot com

--- Comment #6 from Wilco <wdijkstr at arm dot com> ---
(In reply to Segher Boessenkool from comment #4)
> Why would that be unlikely?  It lengthens the lifetime of that pseudo,
> potentially significantly.

The move should be easy to remove since it is already known to be redundant. I
don't understand how you can say that the lifetime is increased when
duplicating the instruction is actually what increases the lifetime. Also it
requires extra registers to hold the two identical results.


More information about the Gcc-bugs mailing list