Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[6.2][IRGen] Emit llvm fneg operation for Builtin.fneg_* #81381

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

Open
wants to merge 1 commit into
base: release/6.2
Choose a base branch
from

Conversation

drexin
Copy link
Contributor

@drexin drexin commented May 8, 2025

  • Explanation: The original handling was a workaround before LLVM added the fneg operation. Now that it has it, we should use it.
  • Scope: IRGen for FNeg builtin
  • Issues: rdar://150722907
  • Original PRs: [IRGen] Emit llvm fneg operation for Builtin.fneg_*Β #81339
  • Risk: Low. Replaces an approximation of an instruction with the instruction itself
  • Testing: Adjusted existing tests to use the new instruction
  • Reviewers: @rjmccall @stephentyrone

rdar://150722907

The original handling was a workaround before LLVM added the fneg operation. Now that it has it, we should use it.
@drexin drexin requested a review from a team as a code owner May 8, 2025 20:54
@drexin drexin changed the title [IRGen] Emit llvm fneg operation for Builtin.fneg_* [6.2][IRGen] Emit llvm fneg operation for Builtin.fneg_* May 8, 2025
@drexin drexin added swift 6.2 πŸ’ release cherry pick Flag: Release branch cherry picks labels May 8, 2025
@drexin
Copy link
Contributor Author

drexin commented May 8, 2025

@swift-ci test

@drexin
Copy link
Contributor Author

drexin commented May 9, 2025

@swift-ci test macos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
πŸ’ release cherry pick Flag: Release branch cherry picks swift 6.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants