Before packing LDS globals into a sorted structure, make sure that
their alignment is properly updated based on their size. This will make
sure that the members of sorted structure are properly aligned, and
hence it will further reduce the probability of unaligned LDS access.
Details
Details
- Reviewers
rampitec arsenm JonChesterfield
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
7,950 ms | x64 debian > libarcher.races::task-two.c |
Event Timeline
Comment Actions
The earlier commited patch https://reviews.llvm.org/D103261 had to be reverted since Align Alignment(GV->getAlignment()); was causing assert when GV->getAlignment() returns 0.
Comment Actions
Please continue the review in the existing place (i.e. reopen it) instead of making a new one