================ @@ -99,6 +99,14 @@ static unsigned log2LdstWidth(unsigned Opcode) { switch (Opcode) { default: llvm_unreachable("Unexpected opcode"); + case RISCV::LB: ---------------- yetingk wrote: Removed. https://github.com/llvm/llvm-project/pull/83375