[all-commits] [llvm/llvm-project] 0b4cf8: [fix-irreducible] Skip unreachable predecessors.

darkbuck via All-commits all-commits at lists.llvm.org
Sat Jul 11 07:10:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b4cf802fad4f504aefbeb70c061e60cff10d153
      https://github.com/llvm/llvm-project/commit/0b4cf802fad4f504aefbeb70c061e60cff10d153
  Author: Michael Liao <michael.hliao at gmail.com>
  Date:   2020-07-11 (Sat, 11 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/FixIrreducible.cpp
    A llvm/test/Transforms/FixIrreducible/unreachable.ll

  Log Message:
  -----------
  [fix-irreducible] Skip unreachable predecessors.

Summary:
- Skip unreachable predecessors during header detection in SCC. Those
  unreachable blocks would be generated in the switch lowering pass in
  the corner cases or other frontends. Even though they could be removed
  through the CFG simplification, we should skip them during header
  detection.

Reviewers: sameerds

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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


  Commit: 81db614411bdc8f95e5b7e2acaf551507eb7201b
      https://github.com/llvm/llvm-project/commit/81db614411bdc8f95e5b7e2acaf551507eb7201b
  Author: Michael Liao <michael.hliao at gmail.com>
  Date:   2020-07-11 (Sat, 11 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp

  Log Message:
  -----------
  Fix `-Wunused-variable` warnings. NFC.


Compare: https://github.com/llvm/llvm-project/compare/850b150cff3d...81db614411bd


More information about the All-commits mailing list