[PATCH] D123231: [StructurizeCFG] Improve basic block ordering

Ruiling, Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 12 09:38:10 PDT 2022


ruiling added a comment.

> which increases compilation time and register pressure.

Have you looked at which part is responsible for the compilation time increase? Is is possible that we hit inefficiency in certain pass?
The "register pressure" here specifically means SGPR usage, right?

I don't think it is a good idea to move exist blocks into the loop especially when threads in a wave exit the loop in different iterations. Executing the exit block after loop should benefit for runtime performance.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123231



More information about the llvm-commits mailing list