diff options
author | Whitney Tsang <whitneyt@ca.ibm.com> | 2020-01-28 03:50:33 +0000 |
---|---|---|
committer | Whitney Tsang <whitneyt@ca.ibm.com> | 2020-01-28 14:18:00 +0000 |
commit | 78dc64989c2f5c075ca74af9dac0c1cb4a2b1f4b (patch) | |
tree | b9d05d00206ba03845c3b63ac0e7ca9b17324f85 /llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp | |
parent | bb73210ba9f16c1516f564235c86cbddccd1bd6d (diff) | |
download | llvm-78dc64989c2f5c075ca74af9dac0c1cb4a2b1f4b.zip llvm-78dc64989c2f5c075ca74af9dac0c1cb4a2b1f4b.tar.gz llvm-78dc64989c2f5c075ca74af9dac0c1cb4a2b1f4b.tar.bz2 |
[CodeMoverUtils] Improve IsControlFlowEquivalent.
Summary:
Currently IsControlFlowEquivalent determine if two blocks are control
flow equivalent by checking if A dominates B and B post dominates A.
There exists blocks that are control flow equivalent even if they don't
satisfy the A dominates B and B post dominates A condition.
For example,
if (cond)
A
if (cond)
B
In the PR, we determine if two blocks are control flow equivalent by
also checking if the two sets of conditions A and B depends on are
equivalent.
Reviewer: jdoerfert, Meinersbur, dmgreen, etiotto, bmahjour, fhahn,
hfinkel, kbarton
Reviewed By: fhahn
Subscribers: hiraditya, llvm-commits
Tag: LLVM
Differential Revision: https://reviews.llvm.org/D71578
Diffstat (limited to 'llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions