bmahjour

Results comments of bmahjour

All the reproducers pass with the proposed patch in https://reviews.llvm.org/D110973.

https://reviews.llvm.org/D110973 landed today. All three attached IR reproducers are now analyzed without crashing.

The problem is that `S` dependencies should be treated as if having loop carried dependency in all directions and they don't! There is also a problem in how the legality...

I suspect the following might be related to the mishandling of scalar dependencies: - https://github.com/llvm/llvm-project/issues/46867 - https://github.com/llvm/llvm-project/issues/47259 - https://github.com/llvm/llvm-project/issues/47401

Possible fixes as discussed in today's LoopOptWG call is to either use `APInt` (with 128-bit width) or use `double` type instead of `int64_t`.

> a proposed fix: https://reviews.llvm.org/D124984 Looks like D124984 only changes the path changed under D123400, but the test case above fails (gives 0 cost values) even before D123400 landed. @CongzheUalberta...

A negative dependence vector simply indicates that the source and sink of the dependence edge need to be reversed. For instance an anti-dependence of distance -1 from S1 to S2...

> I'm wondering if you could clarify what you meant by "One could define an interface where the input does not dictate the order of the end points of an...

> ``` > > for (int i = 0; i < 64; ++i) { > Src: A[i] = ...; > Dst: use(A[63 - i]); > } > ``` This is...