Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [ms-inline-asm] Use the frontend size only for ambiguous instructions | Reid Kleckner | 2017-05-04 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | This avoids problems on code like this: char buf[16]; __asm { movups xmm0, [buf] mov [buf], eax } The frontend size in this case (1) is wrong, and the register makes the instruction matching unambiguous. There are also enough bytes available that we shouldn't complain to the user that they are potentially using an incorrectly sized instruction to access the variable. Supersedes D32636 and D26586 and fixes PR28266 llvm-svn: 302179 | ||||
* | [ms-inline-asm] Handle dependent identifiers in inline asm | David Majnemer | 2016-01-04 | 1 | -0/+25 |
| | | | | | | | | | Build up a dependent expression for MS-style inline assembly if the identifier's type is dependent. This fixes PR26001. llvm-svn: 256795 | ||||
* | [ms-inline-asm] Add field access to MS inline asm identifier lookup | Reid Kleckner | 2015-08-26 | 1 | -0/+31 |
Now we can parse code like this: struct A { int field; }; int f(A o) { __asm mov eax, o.field } Fixes PR19117. llvm-svn: 246088 |