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

Let ConvertToROCDL use MathToROCDL, not MathToLLVM #19994

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bjacob
Copy link
Contributor

@bjacob bjacob commented Feb 14, 2025

I'm not sure if this makes any difference. It's just something I stumbled upon, that seemed possibly unintentional.

Signed-off-by: Benoit Jacob <jacob.benoit.1@gmail.com>
@@ -217,7 +217,6 @@ struct ConvertToROCDLPass final
populateLowerHALInterfaceOp(llvmPatterns);
populateLLVMConversionPatterns(&getContext(), llvmPatterns, converter);
populateComplexToLLVMConversionPatterns(converter, llvmPatterns);
populateMathToLLVMConversionPatterns(converter, llvmPatterns);
Copy link
Contributor

Choose a reason for hiding this comment

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

You won't want to get rid of this since this has patterns that the device libraries don't - that is, MathToROCDL only includes things that don't get covered by MathToLLVM

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.

2 participants