[PATCH] D45503: [AMDGPU] Ensure there are enough registers for wave dispatch

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 12 13:40:53 PDT 2018


arsenm added a comment.

I think this is the wrong way to solve this. I know I have a patch where I started to fix this before. I don’t like inspecting the IR types in the AsmPrinter to determine the used number of registers. The way this is determined is more complicated than the type size in bits, so this really needs to determine this from what legalization decided to do.


Repository:
  rL LLVM

https://reviews.llvm.org/D45503





More information about the llvm-commits mailing list