[llvm] [Matrix] Hoist finalizeLowering into caller. NFC (PR #143038)

Lei Huang via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 19 08:11:41 PDT 2025


lei137 wrote:

> > > > Hi @jroelofs, This patch broke us downstream. Can you please provide some information as to what the benefits are provided by this change?
> > > 
> > > 
> > > The idea for it came from review feedback from @fhahn in [#141869 (comment)](https://github.com/llvm/llvm-project/pull/141869#discussion_r2129177420): we call finalizeLowering in all of the Visit* methods, so it _should_ be NFC to hoist that into the caller. Can you share a small reproducer?
> > 
> > 
> > Unfortunately I can't as it touches upon downstream specific code.
> 
> Bad merge? Or is it the merge conflict itself that is causing you some problems?

This caused some changes in an opt test case checks.  I think it's good but I just want to confirm.
Basically some `shufflevector` were changed to `@llvm.matrix.transpose`.

https://github.com/llvm/llvm-project/pull/143038


More information about the llvm-commits mailing list