Changes in directory llvm/include/llvm/Target:
TargetAsmInfo.h updated: 1.19 -> 1.20 --- Log message: Fix for PR1095: http://llvm.org/PR1095 : LLVM would miscompile ASM dialects when compiling for PPC. Added dialects for the X86 and PPC backends. It defaults to "0", the first variant of a compound inline asm expression. --- Diffs of the changes: (+8 -2) TargetAsmInfo.h | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) Index: llvm/include/llvm/Target/TargetAsmInfo.h diff -u llvm/include/llvm/Target/TargetAsmInfo.h:1.19 llvm/include/llvm/Target/TargetAsmInfo.h:1.20 --- llvm/include/llvm/Target/TargetAsmInfo.h:1.19 Sun Jan 14 00:27:21 2007 +++ llvm/include/llvm/Target/TargetAsmInfo.h Mon Jan 15 21:42:04 2007 @@ -89,7 +89,10 @@ /// emit before and after an inline assembly statement. const char *InlineAsmStart; // Defaults to "#APP\n" const char *InlineAsmEnd; // Defaults to "#NO_APP\n" - + + /// AssemblerDialect - Which dialect of an assembler variant to use. + unsigned AssemblerDialect; // Defaults to 0 + //===--- Data Emission Directives -------------------------------------===// /// ZeroDirective - this should be set to the directive used to get some @@ -128,7 +131,7 @@ /// Otherwise, it emits ".align log2(N)", e.g. 3 to align to an 8 byte /// boundary. bool AlignmentIsInBytes; // Defaults to true - + //===--- Section Switching Directives ---------------------------------===// /// SwitchToSectionDirective - This is the directive used when we want to @@ -343,6 +346,9 @@ const char *getInlineAsmEnd() const { return InlineAsmEnd; } + unsigned getAssemblerDialect() const { + return AssemblerDialect; + } const char *getZeroDirective() const { return ZeroDirective; } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits