diff options
| author | Nate Begeman <natebegeman@mac.com> | 2005-08-30 02:39:32 +0000 |
|---|---|---|
| committer | Nate Begeman <natebegeman@mac.com> | 2005-08-30 02:39:32 +0000 |
| commit | c9d1e370a538c09971f390abcb5b0645551956c2 (patch) | |
| tree | 6da42cd40a214c0b5385c8ab2e20d25169e17e60 | |
| parent | 08a1e38730a37fe13bfced397d33b3e3f0848e00 (diff) | |
| download | bcm5719-llvm-c9d1e370a538c09971f390abcb5b0645551956c2.tar.gz bcm5719-llvm-c9d1e370a538c09971f390abcb5b0645551956c2.zip | |
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.
llvm-svn: 23146
| -rw-r--r-- | llvm/include/llvm/CodeGen/SelectionDAGNodes.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h index ba53a18b70c..8d5cf106562 100644 --- a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/llvm/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, |

