This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU][GlobalISel] Fix insert point in FoldableFneg combine
ClosedPublic

Authored by mbrkusanin on Feb 10 2022, 9:59 AM.

Details

Summary

Newly created fneg was built after some of it's uses in some cases.
Now it will be built immediately after instruction whose dst it negates.

Diff Detail

Event Timeline

mbrkusanin created this revision.Feb 10 2022, 9:59 AM
mbrkusanin requested review of this revision.Feb 10 2022, 9:59 AM
arsenm accepted this revision.Feb 10 2022, 10:03 AM
This revision is now accepted and ready to land.Feb 10 2022, 10:03 AM
This revision was landed with ongoing or failed builds.Feb 11 2022, 3:12 AM
This revision was automatically updated to reflect the committed changes.