[PATCH] [WebAssembly] rewrite argument unscheduling loop

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 19 16:30:57 PST 2015


Thanks. I've got a couple of post-review things I fixed up (comment,
initialized InsertPt to EntryBB.end()).

That other review is interesting. I'll give it a better look when I get a
chance.

-eric

On Thu, Nov 19, 2015 at 4:29 PM Dan Gohman <sunfish at mozilla.com> wrote:

> Hi Eric,
>
> Yeah, looks ok to me. Thanks for fixing this!
>
> As the comment says, I'm hoping to remove that code soon anyway;
> http://reviews.llvm.org/D14750 is what I'm currently hoping to do instead.
>
> Dan
>
>
> On Thu, Nov 19, 2015 at 4:24 PM, Eric Christopher <echristo at gmail.com>
> wrote:
>
>> Hi Dan, JF,
>>
>> I was getting a weird memory iterator error in this loop (in ToT with
>> Debug+Asserts), but while I was looking at it I realized we could simplify
>> the logic a bit if we split the loop apart into two - the part looking for
>> the new insert point and then the part to look for all of the argument
>> instructions.
>>
>> It also solves the problem I was seeing with an invalid EntryBB.begin()
>> during the insert.
>>
>> OK?
>>
>> -eric
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151120/99f21e6d/attachment.html>


More information about the llvm-commits mailing list