]> granicus.if.org Git - llvm/commitdiff
[SelectionDAG] Remove KnownBits output paramater version.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 21 Dec 2018 17:29:38 +0000 (17:29 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 21 Dec 2018 17:29:38 +0000 (17:29 +0000)
Completes the work started by @bogner in rL340594.

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

include/llvm/CodeGen/SelectionDAG.h

index 8093fdab5491eb10787fb091b0962022c09abdcc..b7d7f7b0dfddc6c7c68eb5ba0be294c1a512041e 100644 (file)
@@ -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.