[PATCH] D66029: llvm-canon

Michal Paszkowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 21 23:16:36 PDT 2019


mpaszkowski added a comment.

In D66029#1639228 <https://reviews.llvm.org/D66029#1639228>, @hfinkel wrote:

> > Now the canonicalizer sorts values in PHI nodes. After a discussion, I have decided not to remove duplicates. Those duplicates could come from some other passes and in my opinion, the canonicalizer should make them stand out instead of removing them.
>
> I suppose that you mean that, if passes are introducing duplicates, that's something that we'd rather fix? That might be true. I'm okay with proceeding on this basis. If we need the deduplicating behavior we'll find out.


Yes, this is exactly what I meant . We will see how this works, as you said alternatively we can add that later.

Does the rest of the code look good to you? I will need someone to commit this patch for me (I don't have commit rights).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66029/new/

https://reviews.llvm.org/D66029





More information about the llvm-commits mailing list