[LLVMdev] how to choose which alias analysis used in my pass? (original) (raw)

Hal Finkel hfinkel at anl.gov
Wed Oct 15 12:56:21 PDT 2014


----- Original Message -----

From: "Jingyue Wu" <jingyue at google.com> To: "songlh" <songlh at cs.wisc.edu>, llvmdev at cs.uiuc.edu Sent: Wednesday, October 15, 2014 2:50:12 PM Subject: Re: [LLVMdev] how to choose which alias analysis used in my pass?

Isn't -basicaa the default alias analysis already?

No, -basicaa is added (along with several others) when -O3 (or similar) is provided, but you'll only get -noaa if you run opt without specifying anything else.

-Hal

Jingyue

On Wed Oct 15 2014 at 6:42:59 AM songlh < songlh at cs.wisc.edu > wrote: Hi, I want to use memory dependence analysis in my pass, but I feel the default alias analysis is not precise enough. How could I choose to use another alias analysis algorithm? I have tried opt -load mypass.so -basicaa xx.bc > /dev/null. But I feel the alias analysis algorithm does not change. Do I need to add something in my codes? Thanks a lot! Best, Linhai


LLVM Developers mailing list LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu http://lists.cs.uiuc.edu/ mailman/listinfo/llvmdev


LLVM Developers mailing list LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

-- Hal Finkel Assistant Computational Scientist Leadership Computing Facility Argonne National Laboratory



More information about the llvm-dev mailing list