[all-commits] [llvm/llvm-project] ffdb5f: [flang] add missing unreachable in D139179

jeanPerier via All-commits all-commits at lists.llvm.org
Fri Dec 2 05:50:34 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ffdb5f951c8fde9540d7c52d3403bf8520e764a4
      https://github.com/llvm/llvm-project/commit/ffdb5f951c8fde9540d7c52d3403bf8520e764a4
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2022-12-02 (Fri, 02 Dec 2022)

  Changed paths:
    M flang/lib/Lower/ConvertExprToHLFIR.cpp

  Log Message:
  -----------
  [flang] add missing unreachable in D139179

Fix bot failure https://lab.llvm.org/buildbot/#/builders/160/builds/13647
caused by https://reviews.llvm.org/D139179.

Even if the switch is fully covering, adding an unreachable after is
required to cover all path since the switch argument could be a broken
value that does not belong to the enum.




More information about the All-commits mailing list