[PATCH] D19564: Update Debug Intrinsics in RewriteUsesOfClonedInstructions in LoopRotation
Adrian Prantl via llvm-commits
llvm-commits at lists.llvm.org
Thu May 5 14:15:58 PDT 2016
aprantl accepted this revision.
aprantl added a reviewer: aprantl.
aprantl added a comment.
This revision is now accepted and ready to land.
Small nitpick, otherwise this looks good now unless David has remaining concerns.
thanks!
================
Comment at: lib/Transforms/Scalar/LoopRotation.cpp:124
@@ +123,3 @@
+ Use &U = *UI++;
+ if (DbgInfoIntrinsic *UserInst = dyn_cast<DbgInfoIntrinsic>(U.getUser())) {
+ BasicBlock *UserBB = UserInst->getParent();
----------------
if !() continue; ?
http://reviews.llvm.org/D19564
More information about the llvm-commits
mailing list