summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2005-04-01 22:34:39 +0000
committerNate Begeman <natebegeman@mac.com>2005-04-01 22:34:39 +0000
commitfc1b1dad88a256ab5ab16dd548ad82df8efa2ca9 (patch)
treebff323ec69fda509212bf7337184b3cb8055ce78 /include
parente6fea166c312931d01f9850754f0a9f8e9f60571 (diff)
downloadllvm-fc1b1dad88a256ab5ab16dd548ad82df8efa2ca9.tar.gz
llvm-fc1b1dad88a256ab5ab16dd548ad82df8efa2ca9.tar.bz2
llvm-fc1b1dad88a256ab5ab16dd548ad82df8efa2ca9.tar.xz
Add ISD::UNDEF node
Teach the SelectionDAG code how to expand and promote it Have PPC32 LowerCallTo generate ISD::UNDEF for int arg regs used up by fp arguments, but not shadowing their value. This allows us to do the right thing with both fixed and vararg floating point arguments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20988 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h
index 67ceda1161..e9b54fb92c 100644
--- a/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -74,6 +74,9 @@ namespace ISD {
// out.
ImplicitDef,
+ // UNDEF - An undefined node
+ UNDEF,
+
// EXTRACT_ELEMENT - This is used to get the first or second (determined by
// a Constant, which is required to be operand #1), element of the aggregate
// value specified as operand #0. This is only for use before legalization,