[PATCH] D15578: Add support for composite structs in MS inline asm

Marina Yatsina via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 17 01:30:14 PST 2015


myatsina marked an inline comment as done.

================
Comment at: test/CodeGen/ms-inline-asm.c:487
@@ -474,3 +486,3 @@
 // CHECK-LABEL: define void @t39
   __asm mov eax, [eax].A.b
 // CHECK: mov eax, [eax].4
----------------
rnk wrote:
> Interesting, MSVC rejects this, but we accept. Anyway, it's not relevant to this patch.
I found this comment in X86AsmParser.cpp which might be related:

// Parse struct field access.  Intel requires a dot, but MSVC doesn't.  MSVC
// will in fact do global lookup the field name inside all global typedefs,
// but we don't emulate that.


Repository:
  rL LLVM

http://reviews.llvm.org/D15578





More information about the llvm-commits mailing list