summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/ms-inline-asm.c
diff options
context:
space:
mode:
authorCoby Tayree <coby.tayree@intel.com>2017-02-05 10:23:06 +0000
committerCoby Tayree <coby.tayree@intel.com>2017-02-05 10:23:06 +0000
commitc0fb36f4429f3b9971e87edd7d0dfedb01f4c1a6 (patch)
treee053ee2ed46d975b1c4b96c86ef4caa648f0b38f /clang/test/CodeGen/ms-inline-asm.c
parent7a3eb290efe22c2aef5fce8ffd06c5f7c314cfa5 (diff)
downloadbcm5719-llvm-c0fb36f4429f3b9971e87edd7d0dfedb01f4c1a6.tar.gz
bcm5719-llvm-c0fb36f4429f3b9971e87edd7d0dfedb01f4c1a6.zip
[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
Diffstat (limited to 'clang/test/CodeGen/ms-inline-asm.c')
-rw-r--r--clang/test/CodeGen/ms-inline-asm.c6
1 files changed, 6 insertions, 0 deletions
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() {
OpenPOWER on IntegriCloud