================

----------------
Nerixyz wrote:

It would be nice if this tested something more involved where one instruction 
is encoded with more than one byte. I think the example from the issue can be a 
good test here:
```cpp
int a, b;

int main(int argc, char **argv)
{
    __asm
    {
        lea eax, a
        mov dword ptr [eax], 1

        lea ebx, b
        mov dword ptr [ebx], 1

        mov eax, [eax]
        add [ebx], eax

        inc eax

        imul dword ptr [ebx]
        mov [ebx], eax
    }

    return 0;
}
```

That one also has some empty lines in there.

https://github.com/llvm/llvm-project/pull/193007
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to