[all-commits] [llvm/llvm-project] a0537f: [SimplifyCFG] Fix crash in the EXPENSIVE_CHECKS build

Jon Roelofs via All-commits all-commits at lists.llvm.org
Thu Jul 16 14:35:24 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a0537fc35f0e72123e426ced7879188aaab6f76b
      https://github.com/llvm/llvm-project/commit/a0537fc35f0e72123e426ced7879188aaab6f76b
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2020-07-16 (Thu, 16 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    A llvm/test/Transforms/SimplifyCFG/two-entry-phi-fold-crash.ll

  Log Message:
  -----------
  [SimplifyCFG] Fix crash in the EXPENSIVE_CHECKS build

SimplifyCFG was incorrectly reporting to the pass manager that it had not made
changes after folding away a PHI.  This is detected in the EXPENSIVE_CHECKS
build when the function's hash changes.

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




More information about the All-commits mailing list