This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Support for vector bool int128 on vector comparison builtins
ClosedPublic

Authored by Conanap on Sep 20 2021, 10:33 AM.

Details

Summary

This patch implements support for the type vector bool int128
for arguments on vector comparison builtins listed below,
which would otherwise crash due to ambiguity.

The following builtins are added:

vec_all_eq (vector bool __int128, vector bool __int128)
vec_all_ne (vector bool __int128, vector bool __int128)
vec_any_eq (vector bool __int128, vector bool __int128)
vec_any_ne (vector bool __int128, vector bool __int128)
vec_cmpne(vector bool __int128 a, vector bool __int128 b)
vec_cmpeq(vector bool __int128 a, vector bool __int128 b)

Diff Detail

Event Timeline

Conanap created this revision.Sep 20 2021, 10:33 AM
Conanap requested review of this revision.Sep 20 2021, 10:33 AM
Conanap edited the summary of this revision. (Show Details)Sep 21 2021, 7:17 AM
lei accepted this revision as: lei.Sep 21 2021, 7:47 AM
lei added a subscriber: lei.

LGTM
thx

This revision is now accepted and ready to land.Sep 21 2021, 7:47 AM
This revision was landed with ongoing or failed builds.Sep 21 2021, 2:29 PM
This revision was automatically updated to reflect the committed changes.