[PATCH] D83985: [SimplifyCFG] Fix crash in the EXPENSIVE_CHECKS build

Jon Roelofs via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 16 14:20:32 PDT 2020


jroelofs created this revision.
jroelofs added reviewers: lebedev.ri, serge-sans-paille.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83985

Files:
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/Transforms/SimplifyCFG/two-entry-phi-fold-crash.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83985.278600.patch
Type: text/x-patch
Size: 4309 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200716/a6a80056/attachment.bin>


More information about the llvm-commits mailing list