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

Fix attribute collision for HL intrinsics (#5451) #5543

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

pow2clk
Copy link
Member

@pow2clk pow2clk commented Aug 14, 2023

HL Intrinsic functions share declarations with those that match group and function signature, regardless of the original intrinsic name. This means that intrinsics with differing attributes can be collapsed into the same HL functions, leading to incorrect attributes for some HL intrinsics.

This fixes this issue by adding the attributes to the HL operation mangling, the same way this issue was fixed for the HLWaveSensitive attribute before.

Fixes #3505


Co-authored-by: Joshua Batista [email protected]
(cherry picked from commit d9c07e9)

HL Intrinsic functions share declarations with those that match group
and function signature, regardless of the original intrinsic name. This
means that intrinsics with differing attributes can be collapsed into
the same HL functions, leading to incorrect attributes for some HL
intrinsics.

This fixes this issue by adding the attributes to the HL operation
mangling, the same way this issue was fixed for the HLWaveSensitive
attribute before.

Fixes microsoft#3505

---------

Co-authored-by: Joshua Batista <[email protected]>
(cherry picked from commit d9c07e9)
@pow2clk pow2clk enabled auto-merge (squash) August 14, 2023 16:13
@pow2clk pow2clk merged commit 69e54e2 into microsoft:release-1.7.2308 Aug 14, 2023
11 checks passed
@pow2clk pow2clk deleted the cp-attrib-coll branch August 14, 2023 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants