https://github.com/smithp35 approved this pull request. LGTM too, could you update the test to require x86? Will be worth giving some time to see if MaskRay has any further comments. https://github.com/llvm/llvm-project/pull/216248