commit | c0a14b86f7ad334c2a557c1ee4fff12e8d396fd0 | [log] [tgz] |
---|---|---|
author | Chad Rosier <mcrosier@apple.com> | Wed Oct 24 17:22:29 2012 +0000 |
committer | Chad Rosier <mcrosier@apple.com> | Wed Oct 24 17:22:29 2012 +0000 |
tree | d24e7e190dedce201e651b1c1e360a2d95b1dd4f | |
parent | 2f87640b86315beab8a5671cc23f524e59c58bd3 [diff] |
[ms-inline asm] Create a register operand, rather than a memory operand when we see the offsetof operator. Previously, we were matching something like MOVrm in the front-end and later matching MOVrr in the back-end. This change makes things more consistent. It also fixes cases where we can't match against a memory operand as the source (test cases coming). Part of rdar://12470317 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166592 91177308-0d34-0410-b5e6-96231b3b80d8