From 5a57168a55f23cff1f0d1c7ba4183b4182665e46 Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen <stoklund@2pi.dk> Date: Mon, 10 Oct 2011 18:51:33 +0000 Subject: [PATCH] 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 --- include/llvm/Target/Target.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Target/Target.td b/include/llvm/Target/Target.td index b709b873f9d..aa9a4f5af18 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);