[PATCH] D96980: [amdgpu] Revert agnostic SGPR spill.

Ruiling, Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 19 16:44:02 PST 2021


ruiling added a comment.

In D96980#2575164 <https://reviews.llvm.org/D96980#2575164>, @hliao wrote:

> That's the part I don't understand. Why code path is still executed when exec mask is 0? For the regular code by the compiler, exec mask 0 always results in branch away on that code path. There's even no chance to execute that. Could you elaborate on how a code path could be executed with exec mask 0?

`SIRemoveShortExecBranches.cpp` is one source of executing instructions when exec == 0. I am not sure if there are any others.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96980



More information about the llvm-commits mailing list