This is an archive of the discontinued LLVM Phabricator instance.

Move mnemonicIsValid to Mips target.
ClosedPublic

Authored by gonsolo on Jan 15 2017, 1:53 PM.

Details

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.

Diff Detail

Repository
rL LLVM

Event Timeline

gonsolo updated this revision to Diff 84502.Jan 15 2017, 1:53 PM
gonsolo retitled this revision from to Move mnemonicIsValid to Mips target..
gonsolo updated this object.
gonsolo added a reviewer: craig.topper.
gonsolo updated this object.Jan 15 2017, 1:59 PM
This revision is now accepted and ready to land.Jan 24 2017, 9:57 PM

Thanks. Would you care to commit?

This revision was automatically updated to reflect the committed changes.