[llvm-commits] [llvm] r123571 - in /llvm/trunk: lib/Transforms/Scalar/ScalarReplAggregates.cpp test/Transforms/ScalarRepl/basictest.ll

Duncan Sands baldrick at free.fr
Sun Jan 16 05:36:11 PST 2011


Hi Chris, comment typo:

> --- llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp (original)
> +++ llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp Sun Jan 16 00:18:28 2011
...
> @@ -1851,6 +1868,19 @@
>         HasPadding(AI->getAllocatedType(), *TD))
>       return false;
>
> +  // If the alloca is never has an access to just *part* of it, but is accessed

is never -> never

> +  // with loads and stores, then we should use ConvertToScalarInfo to promote

accessed with -> accessed via ?

Ciao, Duncan.



More information about the llvm-commits mailing list