[PATCH] D27418: [X86][inline-asm] Add support for MS 'EVEN' directive

coby via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 4 11:11:07 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL299454: [X86][inline-asm] Add support for MS 'EVEN' directive (authored by coby).

Changed prior to commit:
  https://reviews.llvm.org/D27418?vs=80280&id=94095#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D27418

Files:
  cfe/trunk/test/CodeGen/ms-inline-asm-EVEN.c


Index: cfe/trunk/test/CodeGen/ms-inline-asm-EVEN.c
===================================================================
--- cfe/trunk/test/CodeGen/ms-inline-asm-EVEN.c
+++ cfe/trunk/test/CodeGen/ms-inline-asm-EVEN.c
@@ -0,0 +1,15 @@
+// RUN: %clang_cc1 %s -triple i386-unknown-unknown -fasm-blocks -emit-llvm -o - | FileCheck %s
+
+// CHECK: .byte 64
+// CHECK: .byte 64
+// CHECK: .byte 64
+// CHECK:  .even
+void t1() {
+  __asm {
+    .byte 64
+    .byte 64
+    .byte 64
+    EVEN
+    mov eax, ebx
+  }
+}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27418.94095.patch
Type: text/x-patch
Size: 510 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170404/fe553acc/attachment.bin>


More information about the cfe-commits mailing list