[llvm-commits] [llvm] r55121 - /llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
Dan Gohman
gohman at apple.com
Thu Aug 21 09:02:48 PDT 2008
Author: djg
Date: Thu Aug 21 11:02:46 2008
New Revision: 55121
URL: http://llvm.org/viewvc/llvm-project?rev=55121&view=rev
Log:
Make HandleSDNode::getValue return an SDValue instead of
the full SDUse, which isn't needed.
Modified:
llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h?rev=55121&r1=55120&r2=55121&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h Thu Aug 21 11:02:46 2008
@@ -1453,7 +1453,7 @@
InitOperands(&Op, 1);
}
~HandleSDNode();
- SDUse getValue() const { return Op; }
+ const SDValue &getValue() const { return Op.getSDValue(); }
};
/// Abstact virtual class for operations for memory operations
More information about the llvm-commits
mailing list