Skip to content

llvm-reduce: Do not delete convergencectrl in operand-bundles #133858

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

Merged

Conversation

arsenm
Copy link
Contributor

@arsenm arsenm commented Apr 1, 2025

The IR verifier will fail if there are any convergent calls without
a convergencectrl bundle, if there are any convergencectrl bundles.

With the current verifier rules, we would need to drop all the instances
of convergencectrl in the function as a set, and strip all the convergence
token intrinsics. As such, I think it would be more appropriate to have a
separate convergence reduction pass.

The IR verifier will fail if there are any convergent calls without
a convergencectrl bundle, if there are any convergencectrl bundles.

With the current verifier rules, we would need to drop all the instances
of convergencectrl in the function as a set, and strip all the convergence
token intrinsics. As such, I think it would be more appropriate to have a
separate convergence reduction pass.
@arsenm arsenm added the llvm-reduce label Apr 1, 2025 — with Graphite App
Copy link
Contributor Author

arsenm commented Apr 1, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@arsenm arsenm requested review from aeubanks, fhahn, regehr and ssahasra April 1, 2025 05:12
@arsenm arsenm marked this pull request as ready for review April 1, 2025 05:12
@regehr
Copy link
Contributor

regehr commented Apr 1, 2025

LGTM

@arsenm arsenm merged commit 55ac652 into main Apr 2, 2025
15 checks passed
@arsenm arsenm deleted the users/arsenm/llvm-reduce/ignore-convergencectrl-operand-bundles branch April 2, 2025 01:48
Ankur-0429 pushed a commit to Ankur-0429/llvm-project that referenced this pull request Apr 2, 2025
…33858)

The IR verifier will fail if there are any convergent calls without
a convergencectrl bundle, if there are any convergencectrl bundles.

With the current verifier rules, we would need to drop all the instances
of convergencectrl in the function as a set, and strip all the
convergence
token intrinsics. As such, I think it would be more appropriate to have
a
separate convergence reduction pass.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants