[llvm-commits] [llvm] r141567 - /llvm/trunk/include/llvm/Target/Target.td
Jakob Stoklund Olesen
stoklund at 2pi.dk
Mon Oct 10 11:51:33 PDT 2011
Author: stoklund
Date: Mon Oct 10 13:51:33 2011
New Revision: 141567
URL: http://llvm.org/viewvc/llvm-project?rev=141567&view=rev
Log:
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.
Modified:
llvm/trunk/include/llvm/Target/Target.td
Modified: llvm/trunk/include/llvm/Target/Target.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/Target.td?rev=141567&r1=141566&r2=141567&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/Target.td (original)
+++ llvm/trunk/include/llvm/Target/Target.td Mon Oct 10 13:51:33 2011
@@ -586,7 +586,7 @@
// 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);
More information about the llvm-commits
mailing list