This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Use fneg instead of fsub -0.0, X Cin IR expansion of __builtin_neon_vfmsh_f16.
ClosedPublic

Authored by craig.topper on Apr 3 2023, 9:37 PM.

Details

Summary

Addresses the FIXME and removes the only in tree use of
llvm::ConstantFP::getZeroValueForNegation for an FP type.

Diff Detail

Event Timeline

craig.topper created this revision.Apr 3 2023, 9:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 3 2023, 9:37 PM
craig.topper requested review of this revision.Apr 3 2023, 9:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 3 2023, 9:37 PM
This revision is now accepted and ready to land.Apr 4 2023, 1:24 AM
dmgreen accepted this revision.Apr 4 2023, 1:29 AM

Sounds OK to me

This revision was landed with ongoing or failed builds.Apr 4 2023, 9:01 AM
This revision was automatically updated to reflect the committed changes.