[PATCH] D25764: Add end location of loop to loop metadata.
Florian Hahn via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 19 04:31:46 PDT 2016
fhahn created this revision.
fhahn added a reviewer: hfinkel.
fhahn added a subscriber: cfe-commits.
The patch adds the loop end location to the loop metadata. This additional information can be used to improve the locations when generating remarks for loops.
The patch depends on the companion LLVM patch https://reviews.llvm.org/D25763 (https://reviews.llvm.org/D25763).
https://reviews.llvm.org/D25764
Files:
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/CGDebugInfo.h
lib/CodeGen/CGLoopInfo.cpp
lib/CodeGen/CGLoopInfo.h
lib/CodeGen/CGStmt.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGenCXX/debug-info-line-if.cpp
test/CodeGenCXX/debug-info-loops.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25764.75125.patch
Type: text/x-patch
Size: 12691 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161019/08dbb5e0/attachment-0001.bin>
More information about the cfe-commits
mailing list