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

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 18 02:06:35 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);
----------------
jayfoad wrote:

Done, thanks.

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


More information about the llvm-commits mailing list