[llvm-commits] [llvm] r60678 - /llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h

Chris Lattner clattner at apple.com
Sun Dec 7 23:00:02 PST 2008


On Dec 7, 2008, at 1:33 PM, Dan Gohman wrote:

> Author: djg
> Date: Sun Dec  7 15:33:27 2008
> New Revision: 60678
>
> URL: http://llvm.org/viewvc/llvm-project?rev=60678&view=rev
> Log:
> Use bool instead of int, now that it no longer evokes a warning.

Cool, thanks Dan.  We're still getting warnings on some platforms  
though:
http://google1.osuosl.org:8011/builders/llvm-x86_64-linux/builds/859/steps/compile/logs/warnings

-Chris

>
>
> Modified:
>    llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h
>
> Modified: llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h?rev=60678&r1=60677&r2=60678&view=diff
>
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
> --- llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h  
> (original)
> +++ llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h Sun  
> Dec  7 15:33:27 2008
> @@ -153,7 +153,7 @@
>   private:
>     /// ValueIsLoadPair - This is a pair<Value*, bool> where the  
> bool is true if
>     /// the dependence is a read only dependence, false if read/write.
> -    typedef PointerIntPair<Value*, 1, int> ValueIsLoadPair;
> +    typedef PointerIntPair<Value*, 1, bool> ValueIsLoadPair;
>
>     /// CachedNonLocalPointerInfo - This map stores the cached  
> results of doing
>     /// a pointer lookup at the bottom of a block.  The key of this  
> map is the
>
>
> _______________________________________________
> 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