HomePhabricator

[AMDGPU][GlobalISel] Combine shift + logic + shift with constant operands

Authored by mbrkusanin on Oct 30 2020, 7:35 AM.

Description

[AMDGPU][GlobalISel] Combine shift + logic + shift with constant operands

This sequence of instructions can be simplified if they are single use and
some operands are constants. Additional combines may be applied afterwards.

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