[all-commits] [llvm/llvm-project] a41c95: [LNICM] Fix infinite loop

uint256_t via All-commits all-commits at lists.llvm.org
Mon Aug 16 20:55:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a41c95c0e3c24076df7b9449e350e04c5c073126
      https://github.com/llvm/llvm-project/commit/a41c95c0e3c24076df7b9449e350e04c5c073126
  Author: Whitney Tsang <whitneyt at ca.ibm.com>
  Date:   2021-08-17 (Tue, 17 Aug 2021)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LICM.cpp
    M llvm/test/Transforms/LICM/lnicm-sink.ll

  Log Message:
  -----------
  [LNICM] Fix infinite loop

There is a bug introduced by https://reviews.llvm.org/D107219 which causes an infinite loop, when there are more than 2 levels PHINode chain.

Reviewed By: uint256_t

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




More information about the All-commits mailing list