[TableGen][X86] Mark a couple global tables as const. NFC
authorCraig Topper <craig.topper@gmail.com>
Sun, 28 May 2017 18:24:41 +0000 (18:24 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sun, 28 May 2017 18:24:41 +0000 (18:24 +0000)
llvm-svn: 304099

llvm/utils/TableGen/X86FoldTablesEmitter.cpp

index 1f3665c..8d72c81 100644 (file)
@@ -44,11 +44,11 @@ struct ManualMapEntry {
 class IsMatch;
 
 // List of instructions requiring explicitly aligned memory.
-const char *ExplicitAlign[] = {"MOVDQA",  "MOVAPS",  "MOVAPD",  "MOVNTPS",
+const char *const ExplicitAlign[] = {"MOVDQA",  "MOVAPS",  "MOVAPD",  "MOVNTPS",
                                "MOVNTPD", "MOVNTDQ", "MOVNTDQA"};
 
 // List of instructions NOT requiring explicit memory alignment.
-const char *ExplicitUnalign[] = {"MOVDQU", "MOVUPS", "MOVUPD"};
+const char *const ExplicitUnalign[] = {"MOVDQU", "MOVUPS", "MOVUPD"};
 
 // For manually mapping instructions that do not match by their encoding.
 const ManualMapEntry ManualMapSet[] = {