commit | e4d168d65ff5ea235c89acd0027bcad0c64786ed | [log] [tgz] |
---|---|---|
author | Quentin Colombet <qcolombet@apple.com> | Thu Apr 21 20:46:27 2016 +0000 |
committer | Quentin Colombet <qcolombet@apple.com> | Thu Apr 21 20:46:27 2016 +0000 |
tree | cce723e8dfec5a7f658f957f720d17ab671770cb | |
parent | c7e7d3290e378d0bd55a4582cb6fdce4e3e24355 [diff] |
[MachineBasicBlock] Refactor SplitCriticalEdge to expose a query API. Introduce canSplitCriticalEdge, so that clients can now query whether or not a critical edge can be split without actually needing to split it. This may be useful when gathering information for cost models for instance. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267046 91177308-0d34-0410-b5e6-96231b3b80d8