[all-commits] [llvm/llvm-project] d21809: [SCCP] Check whether the default case is reachable...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Mon Jan 8 04:08:55 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d218092543b3f9ba2204d7c8fe5ac70befa3d772
      https://github.com/llvm/llvm-project/commit/d218092543b3f9ba2204d7c8fe5ac70befa3d772
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/SCCPSolver.cpp
    M llvm/test/Transforms/SCCP/switch.ll

  Log Message:
  -----------
  [SCCP] Check whether the default case is reachable (#76295)

This patch eliminates unreachable default cases using range information.
Fixes #76085.




More information about the All-commits mailing list