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 + } +}
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 + } +}
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits