We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 451f3fc commit 890ab28Copy full SHA for 890ab28
llvm/include/llvm/Support/KnownBits.h
@@ -311,12 +311,6 @@ struct KnownBits {
311
return KnownBits(Zero | RHS.Zero, One | RHS.One);
312
}
313
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
-
320
/// Return true if LHS and RHS have no common bits set.
321
static bool haveNoCommonBitsSet(const KnownBits &LHS, const KnownBits &RHS) {
322
return (LHS.Zero | RHS.Zero).isAllOnes();
0 commit comments