[PATCH] D31964: CodeGen: BlockPlacement: Clear ComputedEdges between functions.
Gerolf Hoflehner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 12 15:51:36 PDT 2017
Gerolf requested changes to this revision.
Gerolf added a comment.
This revision now requires changes to proceed.
Please double check your code one more time. Thank you!
-Gerolf
================
Comment at: lib/CodeGen/MachineBlockPlacement.cpp:2675
BlockToChain.clear();
// Must redo the post-dominator tree if blocks were changed.
if (MPDT)
----------------
I think you need to clear ComptedEdges here for the same reason you clear BlockToChain.
Repository:
rL LLVM
https://reviews.llvm.org/D31964
More information about the llvm-commits
mailing list