Skip to content

Commit 890ab28

Browse files
[KnownBits] Remove commonBits (llvm#95430)
commonBits has been deprecated since: commit d8229e2 Author: Jay Foad <[email protected]> Date: Wed May 10 16:50:33 2023 +0100
1 parent 451f3fc commit 890ab28

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

llvm/include/llvm/Support/KnownBits.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -311,12 +311,6 @@ struct KnownBits {
311311
return KnownBits(Zero | RHS.Zero, One | RHS.One);
312312
}
313313

314-
/// Compute known bits common to LHS and RHS.
315-
LLVM_DEPRECATED("use intersectWith instead", "intersectWith")
316-
static KnownBits commonBits(const KnownBits &LHS, const KnownBits &RHS) {
317-
return LHS.intersectWith(RHS);
318-
}
319-
320314
/// Return true if LHS and RHS have no common bits set.
321315
static bool haveNoCommonBitsSet(const KnownBits &LHS, const KnownBits &RHS) {
322316
return (LHS.Zero | RHS.Zero).isAllOnes();

0 commit comments

Comments
 (0)