[PATCH] D87093: [AMDGPU] Workaround for LDS Misalignment bug on GFX10

Mirko Brkusanin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 3 07:56:01 PDT 2020


mbrkusanin added a comment.

Note that tests with flat instructions are not copied to //GlobalISel/lds-misaligned-bug.ll//. While we can put similar check in //allowsMisalignedMemoryAccessesImpl// for flat address space as well it will cause SDag to produce less optimal code. For some reason it will break down a load 16, align 8 into four //flat_load_dword// instead of two //flat_load_dwordx2// instructions (but not similar stores). This patch should fix problems mentioned in D84403 <https://reviews.llvm.org/D84403> while I look into this.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87093



More information about the llvm-commits mailing list