This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Combine BUILD_VECTOR of int to fp conversions
Needs ReviewPublic

Authored by nemanjai on Apr 4 2018, 10:28 AM.

Details

Reviewers
echristo
hfinkel
kbarton
Group Reviewers
Restricted Project
Summary

We currently emit pretty bad code for this and we have most of the handling already implemented to do this efficiently on Power9. This combines the node to trigger the efficient handling.

Diff Detail

Event Timeline

nemanjai created this revision.Apr 4 2018, 10:28 AM
nemanjai updated this revision to Diff 141012.Apr 4 2018, 11:40 AM

Add the missing test case updates.

nemanjai updated this revision to Diff 229626.Nov 15 2019, 1:17 PM

Rebased with the current source tree.
Updated the new test cases.
Improved some of the handling for the target pattern.
Refactored some of the original combines as the new combine overrode what they do.
Fixed some issue in the combine for load/convert/splat which were exposed by the new combine.

Herald added a project: Restricted Project. · View Herald TranscriptNov 15 2019, 1:17 PM
nemanjai added a reviewer: Restricted Project.Nov 15 2019, 1:17 PM