Repository navigation
Integrate llvm-project @864902e9b4d8bc6d3f0852d5c475e3dc97dd8335 - #18843
Conversation
Signed-off-by: Max Dawkins <[email protected]>
Signed-off-by: Max Dawkins <[email protected]>
Signed-off-by: Max Dawkins <[email protected]>
kuhar
left a comment
There was a problem hiding this comment.
How does the performance look like after this integrate?
| loopInvariantCodeMotion(funcOp); | ||
| linalg::hoistRedundantVectorTransfers(cast<func::FuncOp>(funcOp)); | ||
| linalg::hoistRedundantVectorTransfers(cast<func::FuncOp>(funcOp), | ||
| /*verifyNonZeroTrip=*/true); |
There was a problem hiding this comment.
We can make this false for the integrate which keeps the same behavior in the integrate commit. Then you can send another patch to enable this.
There was a problem hiding this comment.
The issue is that this test fails after the loop canonicalization patch that comes in from this integrate:
I added the verifyNonZeroTrip option upstream to handle this case along with the loop canonicalizations.
There was a problem hiding this comment.
Oh I see, there are other changes already break the tests and the change here fixes the issue.
Based on the CI, all the SDXL numbers are down from their golden numbers (e2e ~370ms->340ms). I'm not sure if these golden numbers are up to date, though. |
) bump llvm-project to llvm/llvm-project@864902e Main changes in IREE (causing test updates): - New forall loop canonicalizations are added which fold induction variables. This can canonicalilze away some index computation, and fold some extract_slice ops, so a few pipeline tests are changed. - A new option for `hoistRedundantVectorTransfers` (`verifyNonZeroTrip`) is set, which prevents hoisting from possibly zero trip loops. This option is flipped in this integrate because it fixes a bug exposed by forall loop canonicalizations. --------- Signed-off-by: Max Dawkins <[email protected]> Signed-off-by: Elias Joseph <[email protected]>
bump llvm-project to llvm/llvm-project@864902e
Main changes in IREE (causing test updates):
hoistRedundantVectorTransfers(verifyNonZeroTrip) is set, which prevents hoisting from possibly zero trip loops. This option is flipped in this integrate because it fixes a bug exposed by forall loop canonicalizations.