Chad Rosier
73e325de55
[ms-inline asm] Add support for clobbers in CodeGen.
...
This is a reapplication of r161914 now that the scoping issue has been resolved
in r161966.
llvm-svn: 161967
2012-08-15 18:12:36 +00:00
Eric Christopher
d9401e2e58
Revert this to try to bring the i386 bots back.
...
llvm-svn: 161931
2012-08-15 06:31:06 +00:00
Chad Rosier
2d5d1327c4
[ms-inline asm] Add support for clobbers in CodeGen.
...
llvm-svn: 161914
2012-08-15 00:43:09 +00:00
Chad Rosier
a078a5e405
[ms-inline asm] More test cases to make sure buildMSAsmString() doesn't regress.
...
llvm-svn: 161908
2012-08-14 23:48:41 +00:00
Chad Rosier
c97a6bbfd8
[ms-inline asm] Add a helpful assert.
...
llvm-svn: 161890
2012-08-14 19:22:06 +00:00
Chad Rosier
65a8e0b69f
[ms-inline asm] Have patchMSAsmStrings() return a vector or AsmStrings.
...
The AsmParser expects a single asm instruction, but valid ms-style inline asm
statements may contain multiple instructions.
This happens with asm blocks
__asm {
mov ebx, eax
mov ecx, ebx
}
or when multiple asm statements are adjacent to one another
__asm mov ebx, eax
__asm mov ecx, ebx
and
__asm mov ebx, eax __asm mov ecx, ebx
Currently, asm blocks are not properly handled.
llvm-svn: 161780
2012-08-13 20:32:07 +00:00
Chad Rosier
1426a81a74
[ms-inline asm] Use the new Inline Asm Non-Standard Dialect attribute.
...
llvm-svn: 161642
2012-08-10 00:00:34 +00:00
Chad Rosier
360e1763d5
[ms-inline asm] Add basic codegen support for simple asm stmts. Currently,
...
only machine specific clobbers are modeled.
llvm-svn: 161524
2012-08-08 21:15:52 +00:00
Chad Rosier
83916498b8
[ms-inline asm] Add a very simple test case. Basically, we're only testing for
...
crashers at the moment (and coincidentally this case was causing a crash).
llvm-svn: 161520
2012-08-08 20:37:31 +00:00