[polly] r255776 - ScopInfo: Introduce getNumberOfArrayAccesses

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 20 23:14:27 PST 2015


On 12/21/2015 12:28 AM, Johannes Doerfert wrote:
> On 12/21, Johannes Doerfert via llvm-commits wrote:
>> Why do we need to __count__ ArrayKind accesses for one llvm::Instruction?
>> I was always assuming each llvm::Instruction causes either 0 or 1
>> ArrayKind access, thus we are interested in a boolean predicate not a
>> number. If I am wrong please correct me, if not please write something
>> that does not return a bool but the ArrayKind access if it exists and
>> null otherwise.
> Didn't you already implement what I describe above in r255713?

r256136, thank you for the review!

Tobias


More information about the llvm-commits mailing list