forked from OSchip/llvm-project
[WebAssembly] Suppress unused function warning for register name matcher
llvm-svn: 328112
This commit is contained in:
parent
ec2f878779
commit
18574836f9
|
@ -32,6 +32,10 @@ using namespace llvm;
|
|||
|
||||
#define DEBUG_TYPE "wasm-asm-parser"
|
||||
|
||||
// TODO: TableGen generates this register name matcher, but it is not used
|
||||
// anywhere. Mark it with the "unused" attribute to suppress warnings.
|
||||
static unsigned LLVM_ATTRIBUTE_UNUSED MatchRegisterName(StringRef Name);
|
||||
|
||||
namespace {
|
||||
|
||||
// We store register types as SimpleValueType to retain SIMD layout
|
||||
|
|
Loading…
Reference in New Issue