summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2011-10-18 19:18:52 +0000
committerAndrew Trick <atrick@apple.com>2011-10-18 19:18:52 +0000
commit90b7b12f012d9234488277a323231e0b7a8d12ac (patch)
tree65f405df977e31073e115664a3bd71fb62cae657 /include
parent9d45de252c7c3851c0159db4dcaa31e93598b29e (diff)
downloadllvm-90b7b12f012d9234488277a323231e0b7a8d12ac.tar.gz
llvm-90b7b12f012d9234488277a323231e0b7a8d12ac.tar.bz2
llvm-90b7b12f012d9234488277a323231e0b7a8d12ac.tar.xz
Use ARM/t2PseudoInst class from ARM/Thumb2 special adds/subs patterns.
Clean up the patterns, fix comments, and avoid confusing both tools and coders. Note that the special adds/subs SelectionDAG nodes no longer have the dummy cc_out operand. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142397 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/Target.td9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/llvm/Target/Target.td b/include/llvm/Target/Target.td
index 6e28f79694..9714172aa4 100644
--- a/include/llvm/Target/Target.td
+++ b/include/llvm/Target/Target.td
@@ -356,6 +356,15 @@ class Instruction {
// associated with them. Once we've migrated all of them over to true
// pseudo-instructions that are lowered to real instructions prior to
// the printer/emitter, we can remove this attribute and just use isPseudo.
+ //
+ // The intended use is:
+ // isPseudo: Does not have encoding information and should be expanded,
+ // at the latest, during lowering to MCInst.
+ //
+ // isCodeGenOnly: Does have encoding information and can go through to the
+ // CodeEmitter unchanged, but duplicates a canonical instruction
+ // definition's encoding and should be ignored when constructing the
+ // assembler match tables.
bit isCodeGenOnly = 0;
// Is this instruction a pseudo instruction for use by the assembler parser.