[llvm-dev] Loop Load Elimination - RAR forward deps

Renato Golin via llvm-dev llvm-dev at lists.llvm.org
Tue Nov 3 10:42:14 PST 2015


On 3 November 2015 at 17:49, Adam Nemet <anemet at apple.com> wrote:
> I don’t think so.  I think we want getDependences to return everything: true, output and input/RAR dependences and then have the client ignore the uninteresting types.

So, I agree with you in principle, and looking back now seems only
LoopDistribute is using it. It may be a good first strategy...


> We probably need a type enum in struct Dependence for true, output and intput/RAR dependence (probably rename the current type to direction).

I've done that in LLE, but I guess we'll need one in LAI->MemDep too.


> Just FYI, I am planning to push out the LLE set today unless testing uncovers something unexpected.

Fine by me. I'm working on top of it with no issues, so far.

cheers,
--renato


More information about the llvm-dev mailing list