JonChesterfield added a comment. Approach in D155384 <https://reviews.llvm.org/D155384> is better for PromoteAlloca. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D155240/new/ https://reviews.llvm.org/D155240