[llvm-dev] How to get information about data dependencies?

David Greene via llvm-dev
Wed, 15 Jul 2020 19:17:38 -0000

Stefanos Baziotis via llvm-dev <llvm-dev at lists.llvm.org> writes:

> Well... I tried that and it doesn't seem to be very useful
> unfortunately.  The C/C++ way that arrays are defined is probably why
> DA is not that useful. Namely that a row can alias with another row in
> 2D arrays. The theory behind DA is quite powerful if we knew that they
> don't alias. Right now, it just gives up.

Note that the situation is very different in flang, where good
dependence analysis becomes much more critical.

                      -David