[PATCH] D157086: [LiveRange] Remove inaccurate verification of live-in PhysRegs

Carl Ritson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 13 23:01:15 PDT 2023


critson added a comment.

In D157086#4560602 <https://reviews.llvm.org/D157086#4560602>, @foad wrote:

> Could you still check that at least one aliasing registers is in the liveins? (Much as I am loath to suggest new uses of MCRegAliasIterator.)

Yes, we can check aliases -- this is only compiled with debug and so it's probably acceptable.

> Do you have a test case? Does it only show up before PHIElimination, and if so why?

This happens during / post-RA; however, normally we do not generate/regenerate LiveIntervals at this point hence this is an edge case.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157086



More information about the llvm-commits mailing list