This fixes a problem where a load from global+idx generated incorrect
code on <=gfx7 when the index is divergent.
Change-Id: Ib4d177d6254b1dd3f8ec0203fdddec94bd8bc5ed
Differential D47383
[AMDGPU] Avoid using divergent value in mubuf addr64 descriptor tpr on May 25 2018, 11:33 AM. Authored by
Details This fixes a problem where a load from global+idx generated incorrect Change-Id: Ib4d177d6254b1dd3f8ec0203fdddec94bd8bc5ed
Diff Detail
Event TimelineComment Actions The test seems pretty lacking. There are a lot more combinations of divergent and non-divergent changed here that aren't tested
Comment Actions Thanks. I feel like some of this could perhaps be improved with a computeKnownBits if there is a 64-bit uniform base and a 32-bit non-uniform offset, but that doesn't have to be part of this change.
|
Have you run clang-format on this? It looks a bit off.