[llvm-commits] CVS: llvm/include/llvm/CodeGen/SelectionDAG.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Apr 12 19:37:32 PDT 2005
Changes in directory llvm/include/llvm/CodeGen:
SelectionDAG.h updated: 1.19 -> 1.20
---
Log message:
Add a new helper method which returns the and that is equivalent to what
ZERO_EXTEND_INREG was.
---
Diffs of the changes: (+4 -0)
SelectionDAG.h | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/include/llvm/CodeGen/SelectionDAG.h
diff -u llvm/include/llvm/CodeGen/SelectionDAG.h:1.19 llvm/include/llvm/CodeGen/SelectionDAG.h:1.20
--- llvm/include/llvm/CodeGen/SelectionDAG.h:1.19 Thu Feb 17 14:16:58 2005
+++ llvm/include/llvm/CodeGen/SelectionDAG.h Tue Apr 12 21:37:19 2005
@@ -149,6 +149,10 @@
SDOperand getSetCC(ISD::CondCode, MVT::ValueType VT,
SDOperand LHS, SDOperand RHS);
+ /// getZeroExtendInReg - Return the expression required to zero extend the Op
+ /// value assuming it was the smaller SrcTy value.
+ SDOperand getZeroExtendInReg(SDOperand Op, MVT::ValueType SrcTy);
+
/// getNode - Gets or creates the specified node.
///
SDOperand getNode(unsigned Opcode, MVT::ValueType VT);
More information about the llvm-commits
mailing list