[llvm] [SLP]Improve minbitwidth analysis. (PR #78976)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 5 10:21:31 PST 2024
alexey-bataev wrote:
> Seems to break the build, maybe on GCC only?
>
> ```
>
> /var/llvm-compile-time-tracker/llvm-project/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:3617:24: error: declaration of ‘llvm::TargetTransformInfo* llvm::slpvectorizer::BoUpSLP::TTI’ changes meaning of ‘TTI’ [-fpermissive]
> 3617 | TargetTransformInfo *TTI;
> | ^~~
> In file included from /var/llvm-compile-time-tracker/llvm-project/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:48:
> /var/llvm-compile-time-tracker/llvm-project/llvm/include/llvm/Analysis/TargetTransformInfo.h:206:29: note: ‘TTI’ declared here as ‘typedef class llvm::TargetTransformInfo llvm::TTI’
> 206 | typedef TargetTransformInfo TTI;
> | ^~~
> ```
Am, I did not touch this code. Probably, some kind of side effect. Could you provide full error report?
https://github.com/llvm/llvm-project/pull/78976
More information about the llvm-commits
mailing list