diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-03-19 01:14:27 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-03-19 01:14:27 +0000 |
| commit | da5b4ad03e934adbd0de8c97ee9d901504add18b (patch) | |
| tree | 8f7aff797818365cd6845e2936777d85df9cef42 /llvm/utils/TableGen/CodeGenDAGPatterns.h | |
| parent | fbd0109ca45476c25ba04c4d671bf5d8699b91a2 (diff) | |
| download | bcm5719-llvm-da5b4ad03e934adbd0de8c97ee9d901504add18b.tar.gz bcm5719-llvm-da5b4ad03e934adbd0de8c97ee9d901504add18b.zip | |
eliminate the last use of EEVT::isUnknown
llvm-svn: 98918
Diffstat (limited to 'llvm/utils/TableGen/CodeGenDAGPatterns.h')
| -rw-r--r-- | llvm/utils/TableGen/CodeGenDAGPatterns.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/llvm/utils/TableGen/CodeGenDAGPatterns.h b/llvm/utils/TableGen/CodeGenDAGPatterns.h index 487cbfc3fa8..404cb35770b 100644 --- a/llvm/utils/TableGen/CodeGenDAGPatterns.h +++ b/llvm/utils/TableGen/CodeGenDAGPatterns.h @@ -41,11 +41,6 @@ namespace llvm { /// arbitrary integer, floating-point, and vector types, so only an unknown /// value is needed. namespace EEVT { - enum DAGISelGenValueType { - // FIXME: Remove EEVT::isUnknown! - isUnknown = MVT::LAST_VALUETYPE - }; - /// TypeSet - This is either empty if it's completely unknown, or holds a set /// of types. It is used during type inference because register classes can /// have multiple possible types and we don't know which one they get until @@ -212,8 +207,8 @@ public: /// getKnownType - If the type constraints on this node imply a fixed type /// (e.g. all stores return void, etc), then return it as an - /// MVT::SimpleValueType. Otherwise, return EEVT::isUnknown. - unsigned getKnownType() const; + /// MVT::SimpleValueType. Otherwise, return MVT::Other. + MVT::SimpleValueType getKnownType() const; /// hasProperty - Return true if this node has the specified property. /// |

