summaryrefslogtreecommitdiff
path: root/utils/TableGen/InstrInfoEmitter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-08-26 20:40:46 +0000
committerChris Lattner <sabre@nondot.org>2005-08-26 20:40:46 +0000
commit8b50f9b8dcd6da00ddc961ecda967719eb745dee (patch)
treeceb1ee4eb082860deebee761e2a562f7dfced062 /utils/TableGen/InstrInfoEmitter.cpp
parent09321dcf5a3d8acb89dfcad2191c630a54938458 (diff)
downloadllvm-8b50f9b8dcd6da00ddc961ecda967719eb745dee.tar.gz
llvm-8b50f9b8dcd6da00ddc961ecda967719eb745dee.tar.bz2
llvm-8b50f9b8dcd6da00ddc961ecda967719eb745dee.tar.xz
Expose a new flag to TargetInstrInfo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23094 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/InstrInfoEmitter.cpp')
-rw-r--r--utils/TableGen/InstrInfoEmitter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/TableGen/InstrInfoEmitter.cpp b/utils/TableGen/InstrInfoEmitter.cpp
index 57f776f4eb..718491e2b5 100644
--- a/utils/TableGen/InstrInfoEmitter.cpp
+++ b/utils/TableGen/InstrInfoEmitter.cpp
@@ -197,6 +197,8 @@ void InstrInfoEmitter::emitRecord(const CodeGenInstruction &Inst, unsigned Num,
if (Inst.isConvertibleToThreeAddress) OS << "|M_CONVERTIBLE_TO_3_ADDR";
if (Inst.isCommutable) OS << "|M_COMMUTABLE";
if (Inst.isTerminator) OS << "|M_TERMINATOR_FLAG";
+ if (Inst.usesCustomDAGSChedInserter)
+ OS << "|M_USES_CUSTOM_DAG_SCHED_INSERTION";
OS << ", 0";
// Emit all of the target-specific flags...