Merging r259798, r259835:
authorHans Wennborg <hans@hanshq.net>
Fri, 5 Feb 2016 00:46:12 +0000 (00:46 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 5 Feb 2016 00:46:12 +0000 (00:46 +0000)
commit12d60e9e7c149a7d333e277dfbe25a720c88c585
treeca9ed75c26e2c3acf20ab8cf698cea45ea2c12d6
parent78a7d49140626994c23367b709e7b30b41e5cf70
Merging r259798, r259835:

------------------------------------------------------------------------
r259798 | nemanjai | 2016-02-04 08:18:08 -0800 (Thu, 04 Feb 2016) | 9 lines

Enable the %s modifier in inline asm template string

This patch corresponds to review:
http://reviews.llvm.org/D16847

There are some files in glibc that use the output operand modifier even though
it was deprecated in GCC. This patch just adds support for it to prevent issues
with such files.
------------------------------------------------------------------------

------------------------------------------------------------------------
r259835 | nemanjai | 2016-02-04 14:36:10 -0800 (Thu, 04 Feb 2016) | 3 lines

Provide a test case for rl259798
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_38@259856 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
test/CodeGen/PowerPC/inline-asm-s-modifier.ll [new file with mode: 0644]