From c0fb36f4429f3b9971e87edd7d0dfedb01f4c1a6 Mon Sep 17 00:00:00 2001 From: Coby Tayree Date: Sun, 5 Feb 2017 10:23:06 +0000 Subject: [X86][MS]Adjacent comments within multi-line inline assembly statement Allowing adjacent comments within MS inline assembly multi-line statement Differential Revision: https://reviews.llvm.org/D28989 llvm-svn: 294120 --- clang/test/CodeGen/ms-inline-asm.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'clang/test/CodeGen') diff --git a/clang/test/CodeGen/ms-inline-asm.c b/clang/test/CodeGen/ms-inline-asm.c index 6efc09aec51..6db0cff50d0 100644 --- a/clang/test/CodeGen/ms-inline-asm.c +++ b/clang/test/CodeGen/ms-inline-asm.c @@ -55,9 +55,15 @@ void t7() { } } __asm {} + __asm { + ; + ; label + mov eax, ebx + } // CHECK: t7 // CHECK: call void asm sideeffect inteldialect "int $$0x2cU", "~{dirflag},~{fpsr},~{flags}"() // CHECK: call void asm sideeffect inteldialect "", "~{dirflag},~{fpsr},~{flags}"() +// CHECK: call void asm sideeffect inteldialect "mov eax, ebx", "~{eax},~{dirflag},~{fpsr},~{flags}"() } int t8() { -- cgit v1.2.3