[PATCH] D105836: [AMDGPU] Add TII::isAmbientPhysRegUse() to allow VOP rematerialization

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 14 11:39:15 PDT 2021


kparzysz added a comment.

Yes, that's what I meant.  I.e. not "it this register always rematerializable", but "it this register rematerializable in this situation".

It will require more work, because we may need to insert instructions that restore the value of that physical register, and currently that's not happening.


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

https://reviews.llvm.org/D105836



More information about the llvm-commits mailing list