mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
DominanceInfo is strongly preferred over RegionInfo
This is and always was strong community consensus. Make this clear in the header in case newcomers may not be aware. llvm-svn: 212570
This commit is contained in:
parent
53a92d5006
commit
16bbc1b589
@ -22,6 +22,16 @@
|
|||||||
// itself is not, but in practice runtime seems to be in the order of magnitude
|
// itself is not, but in practice runtime seems to be in the order of magnitude
|
||||||
// of dominance tree calculation.
|
// of dominance tree calculation.
|
||||||
//
|
//
|
||||||
|
// WARNING: LLVM is generally very concerned about compile time such that
|
||||||
|
// the use of additional analysis passes in the default
|
||||||
|
// optimization sequence is avoided as much as possible.
|
||||||
|
// Specifically, if you do not need the RegionInfo, but dominance
|
||||||
|
// information could be sufficient please base your work only on
|
||||||
|
// the dominator tree. Most passes maintain it, such that using
|
||||||
|
// it has often near zero cost. In contrast RegionInfo is by
|
||||||
|
// default not available, is not maintained by existing
|
||||||
|
// transformations and there is no intention to do so.
|
||||||
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
#ifndef LLVM_ANALYSIS_REGIONINFO_H
|
#ifndef LLVM_ANALYSIS_REGIONINFO_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user