Skip to content
Unverified Commit afa13ba1 authored by serge-sans-paille's avatar serge-sans-paille
Browse files

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
parent 53791896
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment