[llvm-commits] [llvm] r119682 - in /llvm/trunk: lib/Transforms/Scalar/ScalarReplAggregates.cpp test/Transforms/ScalarRepl/memcpy-from-global.ll

Duncan Sands baldrick at free.fr
Wed Nov 17 23:09:13 PST 2010


Hi Chris,

> --- llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp (original)
> +++ llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp Thu Nov 18 00:20:47 2010
> @@ -1814,6 +1815,13 @@
>       MemTransferInst *MI = dyn_cast<MemTransferInst>(U);
>       if (MI == 0)
>         return false;
> +
> +    // If the transfer is using the alloca as a source of the transfer, then
> +    // it (unless the transfer is volatile).

this comment doesn't parse!  Perhaps "then it" -> "then ignore it".

Ciao,

Duncan.



More information about the llvm-commits mailing list