aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen/DAGISelMatcherOpt.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-24 07:06:50 +0000
committerChris Lattner <sabre@nondot.org>2010-02-24 07:06:50 +0000
commit91c6a822baaba3cb2def94224115e57b84805347 (patch)
treef4dc2be05accba1ccf02ff1c0f3bbf4c7ac26f45 /utils/TableGen/DAGISelMatcherOpt.cpp
parent95b6b9ae75bce23eb3e536f37a3e1b84fbedc9bb (diff)
downloadexternal_llvm-91c6a822baaba3cb2def94224115e57b84805347.zip
external_llvm-91c6a822baaba3cb2def94224115e57b84805347.tar.gz
external_llvm-91c6a822baaba3cb2def94224115e57b84805347.tar.bz2
The new isel passes all tests, time to start making it go fast.
Also add an easy macro at the top of DAGISelEmitter.cpp to enable it. Lets see if I can avoid accidentally turning it on :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97029 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/DAGISelMatcherOpt.cpp')
-rw-r--r--utils/TableGen/DAGISelMatcherOpt.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/utils/TableGen/DAGISelMatcherOpt.cpp b/utils/TableGen/DAGISelMatcherOpt.cpp
new file mode 100644
index 0000000..7859f36
--- /dev/null
+++ b/utils/TableGen/DAGISelMatcherOpt.cpp
@@ -0,0 +1,19 @@
+//===- DAGISelMatcherOpt.cpp - Optimize a DAG Matcher ---------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file implements the DAG Matcher optimizer.
+//
+//===----------------------------------------------------------------------===//
+
+#include "DAGISelMatcher.h"
+using namespace llvm;
+
+void llvm::OptimizeMatcher(const MatcherNode *Matcher) {
+ // Nothing yet.
+}