HomePhabricator

[PowerPC] Fix td pattern for P10 VSLDBI and VSRDBI

Authored by quinnp on Sep 16 2021, 12:00 PM.

Description

[PowerPC] Fix td pattern for P10 VSLDBI and VSRDBI

This patch fixes the pattern for the P10 instructions Vector Shift Left
Double by Bit Immediate VN-form and Vector Shift Right Double by Bit
Immediate VN-form. The third argument should be a target constant (timm)
instead of an i32 because an immediate is expected.

Reviewed By: lei

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

Details

Committed
quinnpSep 27 2021, 10:36 AM
Reviewer
lei
Differential Revision
D109920: [PowerPC] Fix td pattern for P10 VSLDBI and VSRDBI
Parents
rGc4afb5f81b62: [HIP] Fix linking of asanrt.bc
Branches
Unknown
Tags
Unknown