[PATCH] D37063: [LoopUnroll] Don't add metadata to unrolled remainder loop
Sam Parker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 23 07:12:58 PDT 2017
samparker created this revision.
Herald added a subscriber: aprantl.
Debug information was being corrupted when the runtime remainder loop was fully unrolled. But in the case when the remainder loop is going to be fully unrolled, there isn't the need to add loop metadata to it.
https://reviews.llvm.org/D37063
Files:
lib/Transforms/Utils/LoopUnrollRuntime.cpp
test/DebugInfo/unrolled-loop-remainder.ll
test/Transforms/LoopUnroll/runtime-unroll-remainder.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37063.112362.patch
Type: text/x-patch
Size: 8735 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170823/62ea1e0e/attachment.bin>
More information about the llvm-commits
mailing list