| commit | 91c826620079bad984959aae511bf32241f6e4b0 | [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 | 5211d6cd90741020933fe2763fe20f13e56c69e4 | |
| parent | 6a8f3f9e20d9bd39f1298c029c56cada1b21f399 [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 llvm-svn: 166592