[PATCH] D65490: [SimplifyCFG] Mark missed Changed to true.

Alina Sbirlea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 30 17:01:33 PDT 2019


asbirlea created this revision.
asbirlea added reviewers: zhizhouy, manojgupta.
Herald added subscribers: sanjoy.google, jlebar.
Herald added a project: LLVM.

DominatorTree is invalid after SimplifyCFG because of a missed `Changed = true` when simplifying a branch condition and removing an edge.
Resolves PR42272.


Repository:
  rL LLVM

https://reviews.llvm.org/D65490

Files:
  lib/Transforms/Utils/SimplifyCFG.cpp
  test/Transforms/SimplifyCFG/invalidate-dom.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65490.212473.patch
Type: text/x-patch
Size: 3264 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190731/8c7e0cc9/attachment.bin>


More information about the llvm-commits mailing list