[PATCH] D131825: (Reland) [fastalloc] Support allocating specific register class in fastalloc

LuoYuanke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 15 04:37:29 PDT 2022


LuoYuanke added a comment.

In D131825#3722672 <https://reviews.llvm.org/D131825#3722672>, @RKSimon wrote:

> @LuoYuanke This appears to be causing a AMDGPU test to fail on EXPENSIVE_CHECKS builds : https://github.com/llvm/llvm-project/issues/57149

Yes. The root cause is related to "si-lower-sgpr-spills". With fast register allocation, `LIS = getAnalysisIfAvailable<LiveIntervals>();` get nullptr. It can also be reproduced without my patch. However when I change the test to greedy, the test case runs very slowly. I would revert my patch first and file an issue the test case.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131825



More information about the llvm-commits mailing list