[PATCH] D63459: Loop Cache Analysis

Ettore Tiotto via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 12 15:13:26 PDT 2019


etiotto added a comment.

In D63459#1625843 <https://reviews.llvm.org/D63459#1625843>, @xbolva00 wrote:

> /home/xbolva00/LLVM/llvm/lib/Analysis/LoopCacheAnalysis.cpp:110:14: warning: ‘llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::IndexedReference&)’ has not been declared within llvm
>
>   raw_ostream &llvm::operator<<(raw_ostream &OS, const IndexedReference &R) {
>                ^~~~
>
> In file included from /home/xbolva00/LLVM/llvm/lib/Analysis/LoopCacheAnalysis.cpp:28:0:
>  /home/xbolva00/LLVM/llvm/include/llvm/Analysis/LoopCacheAnalysis.h:45:23: note: only here as a friend
>
>   friend raw_ostream &operator<<(raw_ostream &OS, const IndexedReference &R);
>                       ^~~~~~~~
>
> /home/xbolva00/LLVM/llvm/lib/Analysis/LoopCacheAnalysis.cpp:443:14: warning: ‘llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::CacheCost&)’ has not been declared within llvm
>
>   raw_ostream &llvm::operator<<(raw_ostream &OS, const CacheCost &CC) {
>                ^~~~
>
> In file included from /home/xbolva00/LLVM/llvm/lib/Analysis/LoopCacheAnalysis.cpp:28:0:
>  /home/xbolva00/LLVM/llvm/include/llvm/Analysis/LoopCacheAnalysis.h:174:23: note: only here as a friend
>
>   friend raw_ostream &operator<<(raw_ostream &OS, const CacheCost &CC);
>   
>   
>
> GCC 7 Linux.


I uploaded a fix for this warning. I use clang to build sigh, apologies for the problem.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63459/new/

https://reviews.llvm.org/D63459





More information about the llvm-commits mailing list