[llvm-commits] [llvm] r44193 - /llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp

Chris Lattner clattner at apple.com
Fri Nov 16 20:29:12 PST 2007


Thanks! Testcase please,

-Chris

http://nondot.org/sabre
http://llvm.org

On Nov 16, 2007, at 2:44 PM, Tanya Lattner <tonic at nondot.org> wrote:

> Author: tbrethou
> Date: Fri Nov 16 16:44:50 2007
> New Revision: 44193
>
> URL: http://llvm.org/viewvc/llvm-project?rev=44193&view=rev
> Log:
> Fix for PR1801
>
>
> Modified:
>    llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
>
> Modified: llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp?rev=44193&r1=44192&r2=44193&view=diff
>
> ===
> ===
> ===
> =====================================================================
> --- llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp (original)
> +++ llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp Fri Nov 16  
> 16:44:50 2007
> @@ -929,6 +929,9 @@
>   }
>
>   ValueName *Name = F->getValueName();
> +  if (!Name)
> +    return UnknownModRefBehavior;
> +
>   unsigned NameLen = Name->getKeyLength();
>   const char *NamePtr = Name->getKeyData();
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list