aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorStephen Neuendorffer <stephen.neuendorffer@xilinx.com>2020-05-13 22:32:21 -0700
committerStephen Neuendorffer <stephen.neuendorffer@xilinx.com>2020-05-15 10:31:57 -0700
commit9de4ee3815db2b49960e931bcc3c0cc6a28ad0de (patch)
treed6a899235a8bf4628e569b1c9b98a9fba7fc42b4 /llvm/lib/IR/Function.cpp
parent330b7491d573c0357a07b7ed21f30af167ce5d8a (diff)
downloadllvm-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