Skip to content

Commit fbd2f47

Browse files
authored
[X86] Use array instead of SmallVector. NFC (llvm#155321)
1 parent 4859ee9 commit fbd2f47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/X86/X86Subtarget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ void X86Subtarget::initSubtargetFeatures(StringRef CPU, StringRef TuneCPU,
280280
}
281281

282282
// Disable 64-bit only features in non-64-bit mode.
283-
SmallVector<StringRef, 9> FeaturesIn64BitOnly = {
283+
StringRef FeaturesIn64BitOnly[] = {
284284
"egpr", "push2pop2", "ppx", "ndd", "ccmp", "nf", "cf", "zu", "uintr"};
285285
if (FullFS.find("-64bit-mode") != std::string::npos)
286286
for (StringRef F : FeaturesIn64BitOnly)

0 commit comments

Comments
 (0)