[PATCH] D96869: [AMDGPU] Fix saving fp and bp

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 3 05:54:40 PST 2021


arsenm added a comment.

In D96869#2596509 <https://reviews.llvm.org/D96869#2596509>, @sebastian-ne wrote:

> In the light of changes in  D96980 <https://reviews.llvm.org/D96980>, can we assume that
>
> 1. `exec != 0` in the function prolog and epilog?

Yes (at least for the prolog). Allowing functions to kill exec and return is an open question. We have to assume a call to an arbitrary function will have any of the problematic cases that can't run with exec=0.

> 2. exec in the epilog is a subset of exec in the prolog (i.e. no new lanes are active)?

This should be fine


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96869



More information about the llvm-commits mailing list