Adds the loop end location to the loop metadata.
authorAmara Emerson <amara.emerson@arm.com>
Tue, 8 Nov 2016 11:18:59 +0000 (11:18 +0000)
committerAmara Emerson <amara.emerson@arm.com>
Tue, 8 Nov 2016 11:18:59 +0000 (11:18 +0000)
commit0b40201e13996273490dcc7e95fd09dd74f4f903
tree22ba98438fe00b6d34b1d420503b4378c2efc523
parentc5079dc3cce447e39603ca2139eb030cad7d770a
Adds the loop end location to the loop metadata.

This additional information can be used to improve the locations when generating remarks for loops.

Patch by Florian Hahn.

Differential Revision: https://reviews.llvm.org/D25763

llvm-svn: 286227
llvm/include/llvm/Analysis/LoopInfo.h
llvm/lib/Analysis/LoopInfo.cpp