HomePhabricator

[InstCombine][AMDGPU] Trim components of s_buffer_load

Authored by piotr on Dec 20 2019, 12:06 PM.

Description

[InstCombine][AMDGPU] Trim components of s_buffer_load

Summary:
Add trimming of unused components of s_buffer_load.

For s_buffer_load and unformatted buffer_load also trim unused
components at the beginning of vector and update offset accordingly.

Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, llvm-commits

Tags: #llvm

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

Details

Committed
piotrJan 30 2020, 1:48 AM
Differential Revision
D71785: [InstCombine][AMDGPU] Trim components of s_buffer_load
Parents
rG021f531786df: [DebugInfo] Fix DebugLine::Prologue::getLength
Branches
Unknown
Tags
Unknown