[LLVMdev] LICM/store-aliasing of global loads

Eli Friedman eli.friedman at gmail.com
Tue Jul 22 17:16:28 PDT 2008


On Tue, Jul 22, 2008 at 10:22 AM, Dan Gohman <gohman at apple.com> wrote:
> Slightly better than checking for GlobalVariabls directly
> is to call the AliasAnalysis' pointsToConstantMemory method.

Ah, I didn't realize there was such a method; that's definitely the way to go.

-Eli



More information about the llvm-dev mailing list