[PATCH] D149947: [MachineVerifier] Verify liveins for live-through segments

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 15 04:44:00 PDT 2023


arsenm added a comment.

In D149947#4341662 <https://reviews.llvm.org/D149947#4341662>, @foad wrote:

> In D149947#4329844 <https://reviews.llvm.org/D149947#4329844>, @arsenm wrote:
>
>> Can you add a unit test for this?
>
> I'm not sure. Do we have any unit tests for specific MachineVerifier failures? I couldn't see any.

I was thinking of unittests/MI/LiveIntervalTest.cpp. You can't really write a plain MIR test to produce broken live intervals


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149947



More information about the llvm-commits mailing list