[llvm] r304099 - [TableGen][X86] Mark a couple global tables as const. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sun May 28 11:24:41 PDT 2017
Author: ctopper
Date: Sun May 28 13:24:41 2017
New Revision: 304099
URL: http://llvm.org/viewvc/llvm-project?rev=304099&view=rev
Log:
[TableGen][X86] Mark a couple global tables as const. NFC
Modified:
llvm/trunk/utils/TableGen/X86FoldTablesEmitter.cpp
Modified: llvm/trunk/utils/TableGen/X86FoldTablesEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/X86FoldTablesEmitter.cpp?rev=304099&r1=304098&r2=304099&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/X86FoldTablesEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/X86FoldTablesEmitter.cpp Sun May 28 13:24:41 2017
@@ -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[] = {
More information about the llvm-commits
mailing list