diff options
author | Bill Wendling <isanbard@gmail.com> | 2007-01-16 03:42:04 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2007-01-16 03:42:04 +0000 |
commit | e21237e59a8e172e4b038c4998411538853d6bc5 (patch) | |
tree | fa586421039cdf5148e9fac1d09ef7d5cdfa8363 /llvm/lib/Target/TargetAsmInfo.cpp | |
parent | 4268fc08d383522016587b05f2809e422da58472 (diff) | |
download | bcm5719-llvm-e21237e59a8e172e4b038c4998411538853d6bc5.tar.gz bcm5719-llvm-e21237e59a8e172e4b038c4998411538853d6bc5.zip |
Fix for 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.
llvm-svn: 33246
Diffstat (limited to 'llvm/lib/Target/TargetAsmInfo.cpp')
-rw-r--r-- | llvm/lib/Target/TargetAsmInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/TargetAsmInfo.cpp b/llvm/lib/Target/TargetAsmInfo.cpp index c2f3e034363..b1845007440 100644 --- a/llvm/lib/Target/TargetAsmInfo.cpp +++ b/llvm/lib/Target/TargetAsmInfo.cpp @@ -32,6 +32,7 @@ TargetAsmInfo::TargetAsmInfo() : FunctionAddrSuffix(""), InlineAsmStart("#APP"), InlineAsmEnd("#NO_APP"), + AssemblerDialect(0), ZeroDirective("\t.zero\t"), ZeroDirectiveSuffix(0), AsciiDirective("\t.ascii\t"), |