Skip to content

[Lanai] Use softPromoteHalfType#175137

Merged
nikic merged 1 commit intollvm:mainfrom
tgross35:f16-lanai
Jan 9, 2026
Merged

[Lanai] Use softPromoteHalfType#175137
nikic merged 1 commit intollvm:mainfrom
tgross35:f16-lanai

Conversation

@tgross35
Copy link
Contributor

@tgross35 tgross35 commented Jan 9, 2026

There are currently no other tests checking half so I am unsure how well supported the type is, but the patch here resolves the op tests.

Fixes the (unlisted) Lanai portion of #97975
Fixes the (unlisted) Lanai portion of #97981

There are currently no other tests checking `half` so I am unsure how
well supported the type is, but the patch here resolves the op tests.

Fixes the (unlisted) Lanai portion of llvm#97975
Fixes the (unlisted) Lanai portion of llvm#97981
@nikic
Copy link
Contributor

nikic commented Jan 9, 2026

I think at this point it might make more sense to make softPromoteHalfType return true by default and instead opt-out the targets where this might require further work (IIRC amdgpu had some test changes)?

@tgross35
Copy link
Contributor Author

tgross35 commented Jan 9, 2026

I was planning to follow up with that, but figured that it is worth swapping the remaining targets first since some need more specific updates, and in case of problems changing the default.

Would you prefer me to drop this patchset and just do that? If it's fine to apply these first, I'll mark this one through #175141 ready to review (still need to figure something out with xcore)

@nikic
Copy link
Contributor

nikic commented Jan 9, 2026

I'm okay with doing these first.

@tgross35 tgross35 marked this pull request as ready for review January 9, 2026 09:52
@tgross35
Copy link
Contributor Author

tgross35 commented Jan 9, 2026

@nikic nikic merged commit a218940 into llvm:main Jan 9, 2026
14 checks passed
@tgross35 tgross35 deleted the f16-lanai branch January 9, 2026 10:11
Priyanshu3820 pushed a commit to Priyanshu3820/llvm-project that referenced this pull request Jan 18, 2026
There are currently no other tests checking `half` so I am unsure how
well supported the type is, but the patch here resolves the op tests.

Fixes the (unlisted) Lanai portion of
llvm#97975
Fixes the (unlisted) Lanai portion of
llvm#97981
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.

3 participants