[llvm] r349931 - [SelectionDAG] Remove KnownBits output paramater version.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 21 09:29:39 PST 2018
Author: rksimon
Date: Fri Dec 21 09:29:38 2018
New Revision: 349931
URL: http://llvm.org/viewvc/llvm-project?rev=349931&view=rev
Log:
[SelectionDAG] Remove KnownBits output paramater version.
Completes the work started by @bogner in rL340594.
Modified:
llvm/trunk/include/llvm/CodeGen/SelectionDAG.h
Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAG.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SelectionDAG.h?rev=349931&r1=349930&r2=349931&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SelectionDAG.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SelectionDAG.h Fri Dec 21 09:29:38 2018
@@ -1432,18 +1432,6 @@ public:
KnownBits computeKnownBits(SDValue Op, const APInt &DemandedElts,
unsigned Depth = 0) const;
- /// \copydoc SelectionDAG::computeKnownBits(SDValue,unsigned)
- void computeKnownBits(SDValue Op, KnownBits &Known,
- unsigned Depth = 0) const {
- Known = computeKnownBits(Op, Depth);
- }
-
- /// \copydoc SelectionDAG::computeKnownBits(SDValue,const APInt&,unsigned)
- void computeKnownBits(SDValue Op, KnownBits &Known, const APInt &DemandedElts,
- unsigned Depth = 0) const {
- Known = computeKnownBits(Op, DemandedElts, Depth);
- }
-
/// Used to represent the possible overflow behavior of an operation.
/// Never: the operation cannot overflow.
/// Always: the operation will always overflow.
More information about the llvm-commits
mailing list