commit | 60590377e64ba1efaaab73b4264c89b7399f1b83 | [log] [tgz] |
---|---|---|
author | Coby Tayree <coby.tayree@intel.com> | Mon Jul 24 07:04:55 2017 +0000 |
committer | Coby Tayree <coby.tayree@intel.com> | Mon Jul 24 07:04:55 2017 +0000 |
tree | 9d1c8fe5e6d8f9191a7450a88b79395526b09a8c | |
parent | 6b3530480740350c71100f3ab4d9b0d2ae7e6430 [diff] |
[X86][InlineAsm][Ms Compatibility]Prefer variable name over a register when the two collides On MS-style, the following snippet: int eax; __asm mov eax, ebx should yield loading of ebx, into the location pointed by the variable eax This patch sees to it. Currently, a reg-to-reg move would have been invoked. clang: D34740 Differential Revision: https://reviews.llvm.org/D34739 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308866 91177308-0d34-0410-b5e6-96231b3b80d8