diff options
author | Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> | 2020-05-13 22:32:21 -0700 |
---|---|---|
committer | Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> | 2020-05-15 10:31:57 -0700 |
commit | 9de4ee3815db2b49960e931bcc3c0cc6a28ad0de (patch) | |
tree | d6a899235a8bf4628e569b1c9b98a9fba7fc42b4 /llvm/lib/IR/Function.cpp | |
parent | 330b7491d573c0357a07b7ed21f30af167ce5d8a (diff) | |
download | llvm-9de4ee3815db2b49960e931bcc3c0cc6a28ad0de.zip llvm-9de4ee3815db2b49960e931bcc3c0cc6a28ad0de.tar.gz llvm-9de4ee3815db2b49960e931bcc3c0cc6a28ad0de.tar.bz2 |
[MLIR] Allow unreachable blocks to violate dominance property.
It is possible for optimizations to create SSA code which violates
the dominance property in unreachable blocks. Equivalently, dominance
computed using normal mechanisms is undefined in unreachable blocks.
See discussion here: https://llvm.discourse.group/t/rfc-allowing-dialects-to-relax-the-ssa-dominance-condition/833/51
This patch only checks the dominance condition inside blocks which are
reachable from the the entry block of their region. Note that the
dominance conditions of regions contained in an unreachable block are
still checked.
Differential Revision: https://reviews.llvm.org/D79922
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions