https://github.com/Asher8118 approved this pull request. I've not looked through all of the CodeGen test changes, but the code change itself makes sense and matches the SWOG and the MCA test looks fine. LGTM. https://github.com/llvm/llvm-project/pull/153810