HomePhabricator

[PowerPC] Materialize 34 bit constants with pli on Power 10.

Authored by stefanp on Feb 2 2021, 4:07 AM.

Description

[PowerPC] Materialize 34 bit constants with pli on Power 10.

NOTE: This patch was originally written by Anil Mahmud. His code has been rebased but otherwise left mostly unchanged.

A new instructon on Power 10 allows for the materialization of 34 bit
immediate values. This patch allows the compiler to take advantage of
the new instruction in this situation.

Reviewed By: amyk

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

Details

Committed
stefanpFeb 2 2021, 7:49 AM
Reviewer
amyk
Differential Revision
D92879: [PowerPC] Materialize 34 bit constants with pli on Power 10.
Parents
rG3a5adf84834a: [ARM] Add MVE insert-of-extract pattern
Branches
Unknown
Tags
Unknown