[clang] [Clang][OpenMP][LoopTransformations] Fix incorrect number of generated loops for Tile and Reverse directives (PR #140532)
Alexey Bataev via cfe-commits
cfe-commits at lists.llvm.org
Fri May 23 09:30:57 PDT 2025
alexey-bataev wrote:
> > What I see in the source code that it is used as a boolean flag. Can we transform it to bool? There is no need to keep it integer
>
> Please could you cite the exact line? I'm not sure if you are refering to the logic inside checkTransformableLoopNest or not.
I check getNumGeneratedLoops() function usage. I see that it is used only in 2 linesб which can be replaced by just a boolean
https://github.com/llvm/llvm-project/pull/140532
More information about the cfe-commits
mailing list