[PATCH] D80077: [LiveVariables] Don't set undef reg PHI used as live for FromMBB

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 17 21:48:46 PDT 2020


shchenz added a comment.

> In fact, after the PHIElimination pass, if there is no use for %2:g8rc, it will be removed. But the patch D73152 <https://reviews.llvm.org/D73152> has added it into LivrVariables for %bb.0, it's not correct.

If here the `undef` is for `%2:g8rc`, is it possible to move the removal action for  `%2:g8rc` to the time when we create `undef` for it?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80077





More information about the llvm-commits mailing list