summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-05-08 18:51:58 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-05-08 18:51:58 +0000
commit65a58168ccee051727a2f099fed494576a0ff481 (patch)
tree1f2ef20f021222f938d77b71d690b5b7a9d0195f /llvm/include
parentc94dbf5ba0ebf8f1a0ff845512b00a41fe8aa634 (diff)
downloadbcm5719-llvm-65a58168ccee051727a2f099fed494576a0ff481.tar.gz
bcm5719-llvm-65a58168ccee051727a2f099fed494576a0ff481.zip
Factor out cycle-finder code and make it generic.
llvm-svn: 71241
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/CodeGen/SelectionDAGISel.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/include/llvm/CodeGen/SelectionDAGISel.h b/llvm/include/llvm/CodeGen/SelectionDAGISel.h
index 05a047563a7..d2c0dc420f8 100644
--- a/llvm/include/llvm/CodeGen/SelectionDAGISel.h
+++ b/llvm/include/llvm/CodeGen/SelectionDAGISel.h
@@ -88,10 +88,8 @@ public:
/// U can be folded during instruction selection that starts at Root and
/// folding N is profitable.
virtual
- bool IsLegalAndProfitableToFold(SDNode *N, SDNode *U, SDNode *Root) const {
- return true;
- }
-
+ bool IsLegalAndProfitableToFold(SDNode *N, SDNode *U, SDNode *Root) const;
+
/// CreateTargetHazardRecognizer - Return a newly allocated hazard recognizer
/// to use for this target when scheduling the DAG.
virtual ScheduleHazardRecognizer *CreateTargetHazardRecognizer();
OpenPOWER on IntegriCloud