Mark the standard pseudos as isPseudo = 1.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 10 Oct 2011 18:51:33 +0000 (18:51 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 10 Oct 2011 18:51:33 +0000 (18:51 +0000)
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

include/llvm/Target/Target.td

index b709b873f9dee25ac5e7b2ddb0b64d1c9ee6804c..aa9a4f5af18c76ea4723cb50c14f8f356e54006a 100644 (file)
@@ -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);