[PATCH] D41466: [Unroll][DebugInfo] Propagate loop body's debug info to epilog preheader

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 20 15:04:18 PST 2017


probinson added subscribers: andreadb, probinson.
probinson added a project: debug-info.
probinson added inline comments.


================
Comment at: test/Transforms/LoopUnroll/runtime-loop1.ll:16
 ; EPILOG: for.body.epil.preheader:
-; EPILOG:   br label %for.body.epil, !dbg [[EXIT_LOC:![0-9]+]]
+; EPILOG:   br label %for.body.epil, !dbg [[BODY_LOC:![0-9]+]]
 ; EPILOG: for.body.epil:
----------------
The test is now defining BODY_LOC three times in the EPILOG run.  Once should be enough.  (The unmodified test incorrectly defines it twice, and you've added a third.)


Repository:
  rL LLVM

https://reviews.llvm.org/D41466





More information about the llvm-commits mailing list