[PATCH] D31908: [AntiDepBreaker] Don't rename callee saved register restore instruction

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 3 13:40:14 PDT 2017


MatzeB added a comment.

In https://reviews.llvm.org/D31908#745271, @kparzysz wrote:

> In https://reviews.llvm.org/D31908#745251, @MatzeB wrote:
>
> > So for return blocks you have to take all CSR registers (depending on what you do with/without pristines). (See also https://reviews.llvm.org/D32464 where I partially rediscovered that fact).
>
>
> We (Hexagon) add all the non-pristine CSRs as implicit uses of the return instructions.


Yeah I like that way of modeling things explicitely. Unfortunately that is not how most llvm targets work today.


https://reviews.llvm.org/D31908





More information about the llvm-commits mailing list