electriclilies wrote: I agree that we need a way to test this upstream. That would probably require adding a test that has a different or fake data layout description, and I'm not sure how to do that. https://github.com/llvm/llvm-project/pull/137389