Accept RIP-relative symbols with 'i' constraint, and
authorDale Johannesen <dalej@apple.com>
Tue, 6 Jul 2010 23:27:00 +0000 (23:27 +0000)
committerDale Johannesen <dalej@apple.com>
Tue, 6 Jul 2010 23:27:00 +0000 (23:27 +0000)
commite2b448c20862ec3da494ef502cca0074c1301acb
treee8209aab6e28d3ba397a982bee8bfe3dabc1705c
parented2185e171a86b8c0e166803fd4066383a6cff08
Accept RIP-relative symbols with 'i' constraint, and
print the (%rip) only if the 'a' modifier is present.
PR 7528.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107727 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/2010-07-06-asm-RIP.ll [new file with mode: 0644]