yozhu added a comment. @MaskRay @smeenai I have added a test case to cover the prior behavior when branch thunk might be required. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D128382/new/ https://reviews.llvm.org/D128382