Reapply Move "auto-init" instructions to the dominator of their users
Original patch (50b2a113) ignored the fact that -ftrivial-auto-var-init could affect function parameters with the sret attribute. Just do not move instruction that don't affect alloca. Also add missing test case for volatile instruction. Differential Revision: https://reviews.llvm.org/D148507
Loading
Please sign in to comment