aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-10-10 18:51:33 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-10-10 18:51:33 +0000
commit5a57168a55f23cff1f0d1c7ba4183b4182665e46 (patch)
tree2293321229595ca627af307e9180b9d51c0a1661
parent9d2fa87816359ea615a31680c93e76b0dddbad17 (diff)
Mark the standard pseudos as isPseudo = 1.
The difference between isPseudo and isCodeGenOnly is a bit murky, but isCodeGenOnly should eventually go away. It is used for instructions that are clones of real instructions with slightly different properties. The standard pseudo-instructions never mirror real instructions, so they are definitely in the isPseudo category. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141567 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Target/Target.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Target/Target.td b/include/llvm/Target/Target.td
index b709b873f9..aa9a4f5af1 100644
--- a/include/llvm/Target/Target.td
+++ b/include/llvm/Target/Target.td
@@ -586,7 +586,7 @@ class InstrInfo {
// Standard Pseudo Instructions.
// This list must match TargetOpcodes.h and CodeGenTarget.cpp.
// Only these instructions are allowed in the TargetOpcode namespace.
-let isCodeGenOnly = 1, Namespace = "TargetOpcode" in {
+let isCodeGenOnly = 1, isPseudo = 1, Namespace = "TargetOpcode" in {
def PHI : Instruction {
let OutOperandList = (outs);
let InOperandList = (ins variable_ops);