diff options
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r-- | include/llvm/CodeGen/SelectionDAGISel.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGISel.h b/include/llvm/CodeGen/SelectionDAGISel.h index 05a047563a..d2c0dc420f 100644 --- a/include/llvm/CodeGen/SelectionDAGISel.h +++ b/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(); |