[PATCH] D80260: [WIP][SVE] Prototype for general merging MOVPRFX support.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 27 15:16:29 PDT 2020


sdesmalen added a comment.

In D80260#2051652 <https://reviews.llvm.org/D80260#2051652>, @cameron.mcinally wrote:

> I have a nagging feeling that I forced this implementation on you.


Not at all, it may be more the other way around :-) We initially went the pseudo-route downstream so we could use the reverse instructions, but we later used this for the cheaper zeroing as well.
For the former (using reverse instructions) there probably isn't much else we can do then go the pseudo route, but for the latter (cheaper merging) there may also be other alternatives to consider.

> My intention was to use this patch as an intuition pump, not necessarily as the path forward. I don't have a lot of intuition around MOVPRFX today, so I'm hoping for guidance on the best way to proceed.

Are you happy to bring this topic up in tomorrow's meeting? If there's time, we can talk through the approach in this patch and maybe get some more input.

> I definitely see the desired flexibility of having a lowering pass pre-regalloc. If you think that's the better solution, I'll work on it. I just don't have a strong opinions on where in the pipeline that pass should live.

I'm a bit confused by what you mean with 'pre-regalloc lowering pass'? (Do you mean something like the ConditionalEarlyClobber pass mentioned in D80410 <https://reviews.llvm.org/D80410>?)


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

https://reviews.llvm.org/D80260





More information about the llvm-commits mailing list