Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Loop Specialization]: Specialize loops containing masked operations with loop invariant mask #3586

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

etiotto
Copy link
Contributor

@etiotto etiotto commented Mar 1, 2025

Version loops containing masked operations (e.g. tt.load with a mask) where the mask is loop invariant.

@etiotto etiotto self-assigned this Mar 1, 2025
@etiotto etiotto marked this pull request as ready for review March 3, 2025 16:16
@etiotto etiotto requested a review from chengjunlu March 3, 2025 16:16
@@ -3,9 +3,9 @@
#include "mlir/Dialect/Arith/IR/Arith.h"
#include "mlir/Dialect/SCF/IR/SCF.h"
#include "mlir/IR/Verifier.h"
// #include "mlir/Pass/Pass.h"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove

class VersioningCondition {
// Abstract base class for mask validators.
// Mask validators are used to check whether a given mask has an expected form.
// Concreate subclasses define the expected form.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: Concreate -> Concrete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Loop Specialization]: Specialize loops containing masked operations with loop invariant mask
1 participant