Skip to content

Conversation

@makslevental
Copy link
Contributor

@makslevental makslevental commented Jan 27, 2025

Fixes #5691 and unblocks #5684

@makslevental makslevental force-pushed the makslevental/remove-macros branch 3 times, most recently from 3c90853 to 857dea8 Compare January 27, 2025 21:50
@makslevental makslevental changed the title [NFC] replace TritonGPUToLLVM/Utility.h macros with TritonImplicitLocOpBuilder [NFC] replace TritonGPUToLLVM/Utility.h macros with TritonLLVMOpBuilder Jan 27, 2025
@makslevental makslevental force-pushed the makslevental/remove-macros branch from 857dea8 to 98efa53 Compare January 27, 2025 21:52
@makslevental makslevental marked this pull request as ready for review January 27, 2025 22:13
@makslevental
Copy link
Contributor Author

@peterbell10 please take a look when you get a chance.

Copy link
Contributor

@peterbell10 peterbell10 left a comment

Choose a reason for hiding this comment

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

Some nits but otherwise LGTM

Copy link
Contributor

@peterbell10 peterbell10 left a comment

Choose a reason for hiding this comment

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

Looks good, will wait a bit to merge in case anyone else has thoughts though.

@ThomasRaoux
Copy link
Collaborator

What llvm change causes the macor to not work anymore?

@makslevental
Copy link
Contributor Author

What llvm change causes the macor to not work anymore?

I didn't bisect to find which commit but the issue is a collision with these members https://github.com/llvm/llvm-project/blob/1a5d8926c5f9c1e75a285e122cf6cad0191a41b5/llvm/include/llvm/IR/ConstantRange.h#L403

@makslevental makslevental force-pushed the makslevental/remove-macros branch from 69cd4af to 57f742b Compare January 28, 2025 17:01
@antiagainst
Copy link
Collaborator

Thanks for taking care of this @makslevental!

@makslevental
Copy link
Contributor Author

Thanks for taking care of this @makslevental!

Discussed with @ThomasRaoux - gonna hold for a bit before landing

@makslevental makslevental force-pushed the makslevental/remove-macros branch from 57f742b to d0dafa5 Compare January 28, 2025 18:39
@peterbell10 peterbell10 merged commit bc4675a into triton-lang:main Jan 28, 2025
7 checks passed
peterbell10 pushed a commit that referenced this pull request Jan 29, 2025
AlexAUT pushed a commit to AlexAUT/triton that referenced this pull request Jan 29, 2025
@makslevental makslevental deleted the makslevental/remove-macros branch January 29, 2025 21:31
makslevental added a commit to makslevental/triton that referenced this pull request Feb 19, 2025
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.

New LLVM version will conflict with macros defined in TritonGPUToLLVM/Utility.h

4 participants