HomePhabricator

[AMDGPU] Unroll preferences improvements

Authored by rampitec on Feb 2 2017, 6:20 PM.

Description

[AMDGPU] Unroll preferences improvements

Exit loop analysis early if suitable private access found.
Do not account for GEPs which are invariant to loop induction variable.
Do not account for Allocas which are too big to fit into register file anyway.
Add option for tuning: -amdgpu-unroll-threshold-private.

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

llvm-svn: 293991

Details

Committed
rampitecFeb 2 2017, 6:20 PM
Differential Revision
D29473: [AMDGPU] Unroll preferences improvements
Parents
rGf60b68457eaf: [Support] Accept macosx triple as 'darwin' in Host unittest. NFC.
Branches
Unknown
Tags
Unknown