Skip to content

Revert "[libclc] replace float remquo with amd ocml implementation"#181443

Merged
wenju-he merged 1 commit intomainfrom
revert-177131-remquo-use-amdgpu-ocml-remquo-float
Feb 14, 2026
Merged

Revert "[libclc] replace float remquo with amd ocml implementation"#181443
wenju-he merged 1 commit intomainfrom
revert-177131-remquo-use-amdgpu-ocml-remquo-float

Conversation

@wenju-he
Copy link
Contributor

Reverts #177131
It broke SPIRV target: error in backend: unable to legalize instruction: %88:fid(s32) = G_FCANONICALIZE

Copy link
Collaborator

@tstellar tstellar left a comment

Choose a reason for hiding this comment

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

LGTM. The other way to solve this would be to use the old implementation for SPIRV only and the new implementation for the other targets, but that might not be worth the complication.

@wenju-he
Copy link
Contributor Author

Thanks @tstellar

@wenju-he wenju-he merged commit 560e229 into main Feb 14, 2026
12 checks passed
@wenju-he wenju-he deleted the revert-177131-remquo-use-amdgpu-ocml-remquo-float branch February 14, 2026 01:49
manasij7479 pushed a commit to manasij7479/llvm-project that referenced this pull request Feb 18, 2026
…lvm#181443)

Reverts llvm#177131
It broke SPIRV target: error in backend: unable to legalize instruction:
%88:fid(s32) = G_FCANONICALIZE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

libclc libclc OpenCL library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants