Add a new helper method which returns the and that is equivalent to what
authorChris Lattner <sabre@nondot.org>
Wed, 13 Apr 2005 02:37:19 +0000 (02:37 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 13 Apr 2005 02:37:19 +0000 (02:37 +0000)
ZERO_EXTEND_INREG was.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21264 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAG.h

index 4bb1739ec12cc9a194e9ad70f304c9ed572e8955..9ae69c256ba977a249c84517e6ba34482dd0fa8e 100644 (file)
@@ -149,6 +149,10 @@ public:
   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);