[PATCH] D102954: [AMDGPU] Lower kernel LDS into a sorted structure

Mahesha S via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 21 18:58:39 PDT 2021


hsmhsm added a comment.

As I understand this patch - changes to Value::replaceUsesWithIf() is a fundamental change, so it is better that some one from non AMDGPU team also review it.

Crux of the whole logic within the patch is from two functions - (1) shouldLowerLDSToStruct() and (2) isUsedOnlyFromFunction(). Any bug here will affect the whole functionality of the pass. So we need to be extra careful while reviweing these two functions.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102954/new/

https://reviews.llvm.org/D102954



More information about the llvm-commits mailing list