[llvm] r318226 - [X86] Fix the parameter order in the default implementation of X86_VENDOR macro in X86TargetParser.def
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 14 15:54:28 PST 2017
Author: ctopper
Date: Tue Nov 14 15:54:28 2017
New Revision: 318226
URL: http://llvm.org/viewvc/llvm-project?rev=318226&view=rev
Log:
[X86] Fix the parameter order in the default implementation of X86_VENDOR macro in X86TargetParser.def
The default implementation doesn't do anything so the order doesn't matter, but good for cleanliness.
Modified:
llvm/trunk/include/llvm/Support/X86TargetParser.def
Modified: llvm/trunk/include/llvm/Support/X86TargetParser.def
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/X86TargetParser.def?rev=318226&r1=318225&r2=318226&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/X86TargetParser.def (original)
+++ llvm/trunk/include/llvm/Support/X86TargetParser.def Tue Nov 14 15:54:28 2017
@@ -14,7 +14,7 @@
// NOTE: NO INCLUDE GUARD DESIRED!
#ifndef X86_VENDOR
-#define X86_VENDOR(STRING, ENUM)
+#define X86_VENDOR(ENUM, STR)
#endif
X86_VENDOR(VENDOR_INTEL, "intel")
X86_VENDOR(VENDOR_AMD, "amd")
More information about the llvm-commits
mailing list