[llvm] [APInt] Added APInt::clearBits() method (PR #137098)

Liam Semeria via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 24 14:16:03 PDT 2025


================
@@ -2520,6 +2520,62 @@ TEST(APIntTest, setAllBits) {
   EXPECT_EQ(128u, i128.popcount());
 }
 
+TEST(APIntTest, clearBits) {
----------------
liamsemeria wrote:

thats very helpful thanks for the tip!

https://github.com/llvm/llvm-project/pull/137098


More information about the llvm-commits mailing list