[PATCH] D34189: AMDGPU: Avoid saving/restoring reserved m0 register

Tom Stellard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 13 18:26:41 PDT 2017


tstellar added a comment.

> This changes the code to assume that m0 is available since it is
>  reserved so we shouldn't have any longer liveranges crossing potential
>  spill/reload places.

m0 could potentially be live for the whole program, so this assumption is not correct.


Repository:
  rL LLVM

https://reviews.llvm.org/D34189





More information about the llvm-commits mailing list