[all-commits] [llvm/llvm-project] 0fee91: [LoopUnroll] Add a test case for rG7873376bb36b.

whitneywhtsang via All-commits all-commits at lists.llvm.org
Sat May 30 13:34:57 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0fee91a187d98ad68d70fb42dad4451fce172a23
      https://github.com/llvm/llvm-project/commit/0fee91a187d98ad68d70fb42dad4451fce172a23
  Author: Whitney Tsang <whitneyt at ca.ibm.com>
  Date:   2020-05-30 (Sat, 30 May 2020)

  Changed paths:
    M llvm/test/Transforms/LoopUnroll/nonlatchcondbr.ll

  Log Message:
  -----------
  [LoopUnroll] Add a test case for rG7873376bb36b.

rG7873376bb36b fixes a build failure for allyesconfig.

The problem happened when the single exiting block doesn't dominate the
loop latch, then the immediate dominator of the exit block should not be
the exiting block after unrolling. As the exiting block of
different unrolled iteration can branch to the exit block, and the ith
exiting block doesn't dominate (i+1)th exiting block, the immediate
dominator of the exit block should not the nearest common dominator of
the exiting block and the loop latch of the same iteration.

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




More information about the All-commits mailing list