[PATCH] D52176: Remove LoopID metadata from the branch instruction that follows the peeled iterations.
Vyacheslav Zakharin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 17 09:56:10 PDT 2018
vzakhari created this revision.
vzakhari added a reviewer: mkazantsev.
Herald added subscribers: llvm-commits, zzheng.
This change removes LoopID metadata from the branch instruction created for the peeled iterations. It just improves LLVM IR readability after the loop peeling, e.g. the branch instructions belonging to the peel code are not marked with metadata making it clear that they are not loop latch branches anymore.
Repository:
rL LLVM
https://reviews.llvm.org/D52176
Files:
lib/Transforms/Utils/LoopUnrollPeel.cpp
test/Transforms/LoopUnroll/peel-loop-conditions.ll
test/Transforms/LoopUnroll/peel-loop.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52176.165781.patch
Type: text/x-patch
Size: 6074 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180917/e0c17f8b/attachment.bin>
More information about the llvm-commits
mailing list