[PATCH] D141576: [CodeGen] Prevent overlapping subregs in getCoveringSubRegIndexes

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 13 08:23:52 PST 2023


arsenm added a comment.

In D141576#4046355 <https://reviews.llvm.org/D141576#4046355>, @Pierre-vh wrote:

> Testing for this is a bit tricky, fortunately it looks like it's already covered by a test.
> If another form of testing is needed, perhaps we could do a unit test? I feel like it'd be a lot more straightforward to just query TRI in a unit test and check all the corner cases there.

You already have the reduced mir test?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141576



More information about the llvm-commits mailing list