[llvm] [X86] Added ComputeKnownBits support for BEXTR (PR #199558)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 7 00:21:33 PDT 2026


================
@@ -2780,6 +2780,57 @@ TEST_F(ComputeKnownBitsTest, ComputeKnownUSubSatZerosPreserved) {
   expectKnownBits(/*zero*/ 2u, /*one*/ 0u);
 }
 
+TEST_F(ComputeKnownBitsTest, ComputeKnownBitsX86BmiBextr32) {
----------------
RKSimon wrote:

don't bother with unit tests - the IR tests are better

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


More information about the llvm-commits mailing list