[PowerPC, AsmParser] Enable the mnemonic spell corrector
authorHal Finkel <hfinkel@anl.gov>
Sat, 16 Dec 2017 02:42:18 +0000 (02:42 +0000)
committerHal Finkel <hfinkel@anl.gov>
Sat, 16 Dec 2017 02:42:18 +0000 (02:42 +0000)
commite86a8b79b52ae7350818f6afa58cd21a9ef9c3cc
treecdb0fcde2e1de6dec3b3c78ee4a4bbf410c96761
parentc08960597c73d42ff7281aad6f7b949ed120862b
[PowerPC, AsmParser] Enable the mnemonic spell corrector

r307148 added an assembly mnemonic spelling correction support and enabled it
on ARM. This enables that support on PowerPC as well.

Patch by Dmitry Venikov, thanks!

Differential Revision: https://reviews.llvm.org/D40552

llvm-svn: 320911
llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
llvm/test/MC/PowerPC/invalid-instructions-spellcheck.s [new file with mode: 0644]