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: Repost: RFA [4.1]: improvement to if-conversion and cross-jumping (PR20070)


Ulrich Weigand wrote:



Ah, this is indeed the bug: info.local_rvalue is true for *both* register
1 and 2, because of an off-by-one bug in find_dying_inputs fixed by the
patch below. This fixes my test case.


Oops, indeed. I suppose that happened because I'm still used to the idiom --nregs >= 0,
which we phase out for stylistic reasons and changes in prevalent relative operation
costs.



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