[PATCH] D52410: Use TRI->regsOverlap() in MachineBasicBlock::computeRegisterLiveness

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 24 17:56:56 PDT 2018


arsenm added a comment.

In https://reviews.llvm.org/D52410#1243396, @uabelho wrote:

> In https://reviews.llvm.org/D52410#1243309, @arsenm wrote:
>
> > An instruction just needs to def one or the other and the live out would be vcc, since it needs to visit the super register
>
>
> Hm, you think any of the cases in test/CodeGen/AMDGPU/fold-immediate-operand-shrink.mir could be copied and modifed
>  into exposing it then? Any idea which one would be most appropriate?


It doesn't actually work. The query is on the passed register, which is always the super register so this doesn't apply


Repository:
  rL LLVM

https://reviews.llvm.org/D52410





More information about the llvm-commits mailing list