[RISCV] Simplify predicates with llvm::countr_zero (NFC)
It takes less code (in C++ and the host assembly) to get rid of the trailing zeros and compare against {3,5,9} than divide the immediate by {3,5,9} and check to see if we have a power of 2.
Loading
Please sign in to comment