This implements a spell corrector to suggest another mnemonic when an invalid one is specified, for example:
$ echo "adXd r1,r2,#3" | llvm-mc -triple arm
<stdin>:1:1: error: invalid instruction, did you mean: add, qadd?
adXd r1,r2,#3
^
It is target agnostic, but as a first step I have added it only to the ARM backend.