diff options
author | Dan Gohman <gohman@apple.com> | 2008-04-03 00:02:49 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-04-03 00:02:49 +0000 |
commit | 907df57ca083ba8f7b8fbaea41c3c0d617f64e3e (patch) | |
tree | b915aca8885f38aa53adbffbbbf6d9750d19506c /utils/TableGen/DAGISelEmitter.h | |
parent | 3f795233d2a7557f6df6746a7cfe85fabf0dd6ae (diff) | |
download | external_llvm-907df57ca083ba8f7b8fbaea41c3c0d617f64e3e.zip external_llvm-907df57ca083ba8f7b8fbaea41c3c0d617f64e3e.tar.gz external_llvm-907df57ca083ba8f7b8fbaea41c3c0d617f64e3e.tar.bz2 |
Move instruction flag inference out of InstrInfoEmitter and into
CodeGenDAGPatterns, where it can be used in other tablegen backends.
This allows the inference to be done for DAGISelEmitter so that it
gets accurate mayLoad/mayStore/isSimpleLoad flags.
This brings MemOperand functionality back to where it was before
48329. However, it doesn't solve the problem of anonymous patterns
which expand to code that does loads or stores.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49123 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/DAGISelEmitter.h')
-rw-r--r-- | utils/TableGen/DAGISelEmitter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/DAGISelEmitter.h b/utils/TableGen/DAGISelEmitter.h index 534326e..1b47bcc 100644 --- a/utils/TableGen/DAGISelEmitter.h +++ b/utils/TableGen/DAGISelEmitter.h @@ -14,6 +14,7 @@ #ifndef DAGISEL_EMITTER_H #define DAGISEL_EMITTER_H +#include "TableGenBackend.h" #include "CodeGenDAGPatterns.h" #include <set> |