From: Nate Begeman Date: Tue, 30 Aug 2005 02:39:32 +0000 (+0000) Subject: Add AssertSext, AssertZext nodes for targets that pass arguments in X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f7f3d321916c1ef3a82b2a175a368a148b1ede46;p=oota-llvm.git Add AssertSext, AssertZext nodes for targets that pass arguments in registers, and the incoming values have already been zero or sign extended from the appopriate type to the register width. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23146 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index ba53a18b70c..8d5cf106562 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -52,6 +52,13 @@ namespace ISD { // single token result. This is used to represent the fact that the operand // operators are independent of each other. TokenFactor, + + // AssertSext, AssertZext - These nodes record if a register contains a + // value that has already been zero or sign extended from a narrower type. + // These nodes take two operands. The first is the node that has already + // been extended, and the second is a value type node indicating the width + // of the extension + AssertSext, AssertZext, // Various leaf nodes. Constant, ConstantFP, GlobalAddress, FrameIndex, ConstantPool,