[all-commits] [llvm/llvm-project] df308c: fix some bad logic that was removing all successor...

John Regehr via All-commits all-commits at lists.llvm.org
Sat Aug 13 18:15:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: df308cab28bdf53bb159d2927fc25ffab5a79fe7
      https://github.com/llvm/llvm-project/commit/df308cab28bdf53bb159d2927fc25ffab5a79fe7
  Author: John Regehr <regehr at cs.utah.edu>
  Date:   2022-08-13 (Sat, 13 Aug 2022)

  Changed paths:
    A llvm/test/tools/llvm-reduce/remove-bbs-nocrash.ll
    M llvm/tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp

  Log Message:
  -----------
  fix some bad logic that was removing all successor phi nodes, not just
out of chunk ones. the non-default second argument to
removePredecessor() is necessary to avoid creating invalid IR on
examples like the one in the provided test case

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




More information about the All-commits mailing list