[all-commits] [llvm/llvm-project] ec54e2: Revert "[CVP] processSwitch: Remove default case w...

RotateRight via All-commits all-commits at lists.llvm.org
Thu Aug 19 05:47:37 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec54e275f56cc042eb9c25acd76bff18b9ea8092
      https://github.com/llvm/llvm-project/commit/ec54e275f56cc042eb9c25acd76bff18b9ea8092
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-08-19 (Thu, 19 Aug 2021)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/Local.h
    M llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/Transforms/CorrelatedValuePropagation/basic.ll

  Log Message:
  -----------
  Revert "[CVP] processSwitch: Remove default case when switch cover all possible values."

This reverts commit 9934a5b2ed5aa6e6bbb2e55c3cd98839722c226e.
This patch may cause miscompiles because it missed a constraint
as shown in the examples from:
https://llvm.org/PR51531




More information about the All-commits mailing list