HomePhabricator

[AMDGPU][GlobalISel] Fold a chain of two shift instructions with constant…

Authored by mbrkusanin on Oct 29 2020, 10:12 AM.

Description

[AMDGPU][GlobalISel] Fold a chain of two shift instructions with constant operands

Sequence of same shift instructions with constant operands can be combined into
a single shift instruction.

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