The InstCombine pass matched a sequence of and-shl-add instructions into
bitreverse even when the demanded width is illegal for a target machine.
That produces the IR sequences like the following one:
%trunc = trunc i32 %x to i9 %rev = call i9 @llvm.bitreverse.i9(i9 %trunc) %mask = and i9 %rev, -128 %reverse = zext i9 %mask to i32
The illegal bitreverse intrinsics are being emulated, so this combining
produces inefficient code.
The CHECK lines in this file are generated by a script, update_llc_test_checks.py. We shouldn't use CHECK-NOT in such tests as the script will just overwrite it the next time someone runs.