This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Add variants of 64-bit vector types for vec_sel.
ClosedPublic

Authored by Esme on Jan 6 2021, 2:28 AM.

Details

Summary

This patch added the following variants of vec_sel.

vector bool long long
vec_sel(vector bool long long
        vector bool long long,
        vector bool long long);

vector bool long long
vec_sel(vector bool long long
        vector bool long long,
        vector unsigned long long);

vector signed long long
vec_sel(vector signed long long
        vector signed long long,
        vector bool long long);

vector signed long long
vec_sel(vector signed long long
        vector signed long long,
        vector unsigned long long);

vector unsigned long long
vec_sel(vector unsigned long long
        vector unsigned long long,
        vector bool long long);

vector unsigned long long
vec_sel(vector unsigned long long
        vector unsigned long long,
        vector unsigned long long);

It fixed https://bugs.llvm.org/show_bug.cgi?id=46770

Diff Detail

Event Timeline

Esme created this revision.Jan 6 2021, 2:28 AM
Esme requested review of this revision.Jan 6 2021, 2:28 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 6 2021, 2:28 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
qiucf added a comment.Jan 7 2021, 8:10 AM
This comment was removed by qiucf.
steven.zhang edited the summary of this revision. (Show Details)Jan 7 2021, 6:18 PM
nemanjai accepted this revision.Jan 8 2021, 3:02 AM

Kind of bizarre that we missed these, thanks for adding them. LGTM.

This revision is now accepted and ready to land.Jan 8 2021, 3:02 AM
This revision was landed with ongoing or failed builds.Jan 10 2021, 7:56 PM
This revision was automatically updated to reflect the committed changes.