1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Start checking from the root of the matched sub-tree.

llvm-svn: 30957
This commit is contained in:
Evan Cheng 2006-10-14 08:30:53 +00:00
parent 513dc7ed5f
commit c8b9d15614

View File

@ -71,8 +71,8 @@ public:
}
/// CanBeFoldedBy - Returns true if the specific operand node N of U can be
/// folded during instruction selection?
virtual bool CanBeFoldedBy(SDNode *N, SDNode *U) { return true; }
/// folded during instruction selection that starts at Root?
virtual bool CanBeFoldedBy(SDNode *N, SDNode *U, SDNode *Root) { return true;}
/// CreateTargetHazardRecognizer - Return a newly allocated hazard recognizer
/// to use for this target when scheduling the DAG.