mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
Revert of r213521. This change introduced a non-hermetic test (depending on a
file not in the test/ area). Backing out now so that this test isn't part of the 3.5 branch. Original commit message: "TableGen: Allow AddedComplexity values to be negative [...]" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213596 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -771,7 +771,7 @@ static unsigned getPatternSize(const TreePatternNode *P,
|
||||
|
||||
/// Compute the complexity metric for the input pattern. This roughly
|
||||
/// corresponds to the number of nodes that are covered.
|
||||
int PatternToMatch::
|
||||
unsigned PatternToMatch::
|
||||
getPatternComplexity(const CodeGenDAGPatterns &CGP) const {
|
||||
return getPatternSize(getSrcPattern(), CGP) + getAddedComplexity();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user