]> granicus.if.org Git - llvm/commit
Move mnemonicIsValid to Mips target.
authorCraig Topper <craig.topper@gmail.com>
Wed, 8 Feb 2017 02:54:12 +0000 (02:54 +0000)
committerCraig Topper <craig.topper@gmail.com>
Wed, 8 Feb 2017 02:54:12 +0000 (02:54 +0000)
commit66c7245ff0656dfc09d1fb90b7f6db7f0a6c47b1
tree335088355dfee0276bb92ec3905b310be3a7a5b0
parent75bd1d7575dc7299dd5714588e2ca2b4d5658878
Move mnemonicIsValid to Mips target.

Summary:
The Mips target is the only user of mnemonicIsValid. This patch
moves this method from AsmMatcherEmitter.cpp to MipsAsmParser.cpp,
getting rid of the method in all other targets where it generated
warnings about an unused function.

Patch by Gonsolo.

Reviewers: craig.topper

Reviewed By: craig.topper

Subscribers: sdardis

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294400 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
utils/TableGen/AsmMatcherEmitter.cpp