[all-commits] [llvm/llvm-project] aa5ec3: [LoopDeletion] Emit a remark when a dead loop is d...

Visoiu Mistrih Francis via All-commits all-commits at lists.llvm.org
Fri Jul 3 15:41:52 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: aa5ec34e312699a2fe5263133129a1e103ac91ee
      https://github.com/llvm/llvm-project/commit/aa5ec34e312699a2fe5263133129a1e103ac91ee
  Author: Francis Visoiu Mistrih <francisvm at yahoo.com>
  Date:   2020-07-03 (Fri, 03 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopDeletion.cpp
    A llvm/test/Transforms/LoopDeletion/basic-remark.ll
    M llvm/test/Transforms/LoopDeletion/unreachable-loops.ll

  Log Message:
  -----------
  [LoopDeletion] Emit a remark when a dead loop is deleted

This emits a remark when LoopDeletion deletes a dead loop, using the
source location of the loop's header. There are currently two reasons
for removing the loop: invariant loop or loop that never executes.

Differential Revision: https://reviews.llvm.org/D83113




More information about the All-commits mailing list