[llvm] [KnownBits] Make abdu and abds optimal (PR #89081)

via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 17 09:56:42 PDT 2024


================
@@ -367,9 +315,9 @@ TEST(KnownBitsTest, BinaryExhaustive) {
   testBinaryOpExhaustive(KnownBits::smax, APIntOps::smax);
   testBinaryOpExhaustive(KnownBits::smin, APIntOps::smin);
   testBinaryOpExhaustive(KnownBits::abdu, APIntOps::abdu,
-                         checkCorrectnessOnlyBinary);
+                         checkOptimalityBinary);
----------------
goldsteinn wrote:

This is default, you can just remove the argument.

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


More information about the llvm-commits mailing list