diff options
| author | Dan Gohman <gohman@apple.com> | 2008-08-22 00:20:26 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2008-08-22 00:20:26 +0000 |
| commit | 49e19e906fd445f8dcc90b6b6d620ade9dc2f7dd (patch) | |
| tree | 725434ab26c4c50a99aa02df7f3859f097f651cd /llvm/utils/TableGen/CodeGenDAGPatterns.h | |
| parent | 24c0154b7719810de52bdc21555efcd708e08b0b (diff) | |
| download | bcm5719-llvm-49e19e906fd445f8dcc90b6b6d620ade9dc2f7dd.tar.gz bcm5719-llvm-49e19e906fd445f8dcc90b6b6d620ade9dc2f7dd.zip | |
Factor out the predicate check code from DAGISelEmitter.cpp
and use it in FastISelEmitter.cpp, and make FastISel
subtarget aware. Among other things, this lets it work
properly on x86 targets that don't have SSE, where it
successfully selects x87 instructions.
llvm-svn: 55156
Diffstat (limited to 'llvm/utils/TableGen/CodeGenDAGPatterns.h')
| -rw-r--r-- | llvm/utils/TableGen/CodeGenDAGPatterns.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/CodeGenDAGPatterns.h b/llvm/utils/TableGen/CodeGenDAGPatterns.h index 4434cf0c1c1..4d7ea58b06b 100644 --- a/llvm/utils/TableGen/CodeGenDAGPatterns.h +++ b/llvm/utils/TableGen/CodeGenDAGPatterns.h @@ -444,6 +444,8 @@ struct PatternToMatch { TreePatternNode *getDstPattern() const { return DstPattern; } const std::vector<Record*> &getDstRegs() const { return Dstregs; } unsigned getAddedComplexity() const { return AddedComplexity; } + + std::string getPredicateCheck() const; }; |

