From d60f6d272b796150881be3553f8883b562652a0f Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Sun, 28 May 2017 18:24:41 +0000 Subject: [PATCH] [TableGen][X86] Mark a couple global tables as const. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304099 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/X86FoldTablesEmitter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/TableGen/X86FoldTablesEmitter.cpp b/utils/TableGen/X86FoldTablesEmitter.cpp index 1f3665c208a..8d72c8178dc 100644 --- a/utils/TableGen/X86FoldTablesEmitter.cpp +++ b/utils/TableGen/X86FoldTablesEmitter.cpp @@ -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[] = {