diff options
author | Nate Begeman <natebegeman@mac.com> | 2004-09-28 21:01:45 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2004-09-28 21:01:45 +0000 |
commit | cdd66b524f62ef6acd6bfa4e586edf8a406c4928 (patch) | |
tree | cb828c35e8a197955f69fee8c438f5443414cd44 /utils/TableGen/InstrInfoEmitter.cpp | |
parent | 5b71d3af35f941585acb50de4909cff20f68680d (diff) | |
download | external_llvm-cdd66b524f62ef6acd6bfa4e586edf8a406c4928.zip external_llvm-cdd66b524f62ef6acd6bfa4e586edf8a406c4928.tar.gz external_llvm-cdd66b524f62ef6acd6bfa4e586edf8a406c4928.tar.bz2 |
Add support for the isLoad and isStore flags, needed by the instruction scheduler
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16554 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/InstrInfoEmitter.cpp')
-rw-r--r-- | utils/TableGen/InstrInfoEmitter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/TableGen/InstrInfoEmitter.cpp b/utils/TableGen/InstrInfoEmitter.cpp index c02eda1..69570bc 100644 --- a/utils/TableGen/InstrInfoEmitter.cpp +++ b/utils/TableGen/InstrInfoEmitter.cpp @@ -113,6 +113,8 @@ void InstrInfoEmitter::emitRecord(const CodeGenInstruction &Inst, unsigned Num, if (Inst.isBarrier) OS << "|M_BARRIER_FLAG"; if (Inst.hasDelaySlot) OS << "|M_DELAY_SLOT_FLAG"; if (Inst.isCall) OS << "|M_CALL_FLAG"; + if (Inst.isLoad) OS << "|M_LOAD_FLAG"; + if (Inst.isStore) OS << "|M_STORE_FLAG"; if (Inst.isTwoAddress) OS << "|M_2_ADDR_FLAG"; if (Inst.isTerminator) OS << "|M_TERMINATOR_FLAG"; OS << ", 0"; |