[all-commits] [llvm/llvm-project] 3a6f3f: Fix return status of SimplifyCFG

serge-sans-paille via All-commits all-commits at lists.llvm.org
Fri Sep 4 22:54:52 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a6f3fc16039293920bfd6982052fd5fc14529e4
      https://github.com/llvm/llvm-project/commit/3a6f3fc16039293920bfd6982052fd5fc14529e4
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2020-09-05 (Sat, 05 Sep 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/Local.cpp
    A llvm/test/Transforms/SimplifyCFG/merge-default.ll

  Log Message:
  -----------
  Fix return status of SimplifyCFG

When a switch case is folded into default's case, that's an IR change that
should be reported, update ConstantFoldTerminator accordingly.

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




More information about the All-commits mailing list