add support for the new isel matcher to generate

(isprofitable|islegal)tofold checks.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96331 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2010-02-16 06:10:58 +00:00
parent a08b587494
commit e39650a805
7 changed files with 123 additions and 12 deletions
+10
View File
@@ -106,3 +106,13 @@ void CheckOrImmMatcherNode::print(raw_ostream &OS, unsigned indent) const {
printChild(OS, indent);
}
void CheckProfitableToFoldMatcherNode::print(raw_ostream &OS,
unsigned indent) const {
OS.indent(indent) << "CheckProfitableToFold\n";
printChild(OS, indent);
}
void CheckLegalToFoldMatcherNode::print(raw_ostream &OS, unsigned indent) const{
OS.indent(indent) << "CheckLegalToFold\n";
printChild(OS, indent);
}