https://github.com/nickdesaulniers commented: patch LGTM, but I'll defer to @michaelrj-google to check that the correct modes are used explicitly in each case. I'm guessing this PR comes with a tradeoff to code size? https://github.com/llvm/llvm-project/pull/111559