[llvm-commits] CVS: llvm/lib/Target/X86/X86AsmPrinter.cpp
Jeff Cohen
jeffc at jolt-lang.org
Thu May 4 09:19:52 PDT 2006
Changes in directory llvm/lib/Target/X86:
X86AsmPrinter.cpp updated: 1.176 -> 1.177
---
Log message:
Make Intel syntax the default when LLVM is built with VC++.
---
Diffs of the changes: (+6 -1)
X86AsmPrinter.cpp | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/X86/X86AsmPrinter.cpp
diff -u llvm/lib/Target/X86/X86AsmPrinter.cpp:1.176 llvm/lib/Target/X86/X86AsmPrinter.cpp:1.177
--- llvm/lib/Target/X86/X86AsmPrinter.cpp:1.176 Tue May 2 20:29:57 2006
+++ llvm/lib/Target/X86/X86AsmPrinter.cpp Thu May 4 11:19:27 2006
@@ -37,7 +37,12 @@
clEnumVal(att, " Emit AT&T-style assembly"),
clEnumVal(intel, " Emit Intel-style assembly"),
clEnumValEnd),
- cl::init(att));
+#ifdef _MSC_VER
+ cl::init(intel)
+#else
+ cl::init(att)
+#endif
+ );
/// doInitialization
bool X86SharedAsmPrinter::doInitialization(Module &M) {
More information about the llvm-commits
mailing list