arcana-lab / noelle

NOELLE Offers Empowering LLVM Extensions
MIT License
72 stars 35 forks source link

DGBase::getLeafNodes semantics mismatch #142

Closed zgerst closed 1 month ago

zgerst commented 1 month ago

Bug:

The function DG<T>::getLeafNodes in DGBase.hpp does the opposite of what its semantics suggest:

Solution:

Swap the code within the if and else statements of DG<T>::getLeafNodes.