HomePhabricator

[PowerPC][Power10] Fix the Test LSB by Byte (xvtlsbb) Builtins Implementation

Authored by amyk on Jul 22 2020, 10:16 AM.

Description

[PowerPC][Power10] Fix the Test LSB by Byte (xvtlsbb) Builtins Implementation

The implementation of the xvtlsbb builtins/intrinsics were not correct as the
intrinsics previously used i1 as an argument type. This patch changes the i1
argument type used in these intrinsics to be i32 instead, as having the second
as an i1 can lead to issues in the backend.

Differential Revision: https://reviews.llvm.org/D84291