Files
clang-p2996/llvm/test/Transforms/MoveAutoInit/volatile.ll
serge-sans-paille afa13ba18d Reapply Move "auto-init" instructions to the dominator of their users
Original patch (50b2a113db) 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
2023-04-24 18:10:10 +02:00

1.1 KiB