commit | 0bb3af9ec1bd55cf11dd8c68f2cb1580dbec75a8 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Dec 19 19:29:58 2006 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Dec 19 19:29:58 2006 +0000 |
tree | 17b765b7454ccbdf51ef7ad1f845fe6d7062336b | |
parent | db167271fdd4a96dea88a923d2fd8934e5b4f037 [diff] |
Fix PR1061 and CodeGen/X86/2006-12-19-IntelSyntax.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32676 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86IntelAsmPrinter.cpp b/lib/Target/X86/X86IntelAsmPrinter.cpp index 91e1478..dd73a2d 100755 --- a/lib/Target/X86/X86IntelAsmPrinter.cpp +++ b/lib/Target/X86/X86IntelAsmPrinter.cpp
@@ -211,7 +211,8 @@ NeedPlus = true; } - if (DispSpec.isGlobalAddress() || DispSpec.isConstantPoolIndex()) { + if (DispSpec.isGlobalAddress() || DispSpec.isConstantPoolIndex() || + DispSpec.isJumpTableIndex()) { if (NeedPlus) O << " + "; printOp(DispSpec, "mem");