topperc wrote: > The changes LGTM, but is it possible to test it (or at least some parts of it)? Patch now contains changes to one of the tests from #82227. That tests the code in getNode(ISD::ANY_EXTEND https://github.com/llvm/llvm-project/pull/82199