r239696 - Add test for parsing the XOR operator in Intel syntax inline assembly.

Michael Kuperstein michael.m.kuperstein at intel.com
Sun Jun 14 06:03:27 PDT 2015


Author: mkuper
Date: Sun Jun 14 08:03:27 2015
New Revision: 239696

URL: http://llvm.org/viewvc/llvm-project?rev=239696&view=rev
Log:
Add  test for parsing the XOR operator in Intel syntax inline assembly.
LLVM side of the patch was committed as r239695.

Differential Revision: http://reviews.llvm.org/D10384
Patch by marina.yatsina at intel.com

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

Modified: cfe/trunk/test/CodeGen/ms-inline-asm.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/ms-inline-asm.c?rev=239696&r1=239695&r2=239696&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/ms-inline-asm.c (original)
+++ cfe/trunk/test/CodeGen/ms-inline-asm.c Sun Jun 14 08:03:27 2015
@@ -432,6 +432,8 @@ void t37() {
 // CHECK: mov eax, $$4294967292
   __asm mov eax, ~15
 // CHECK: mov eax, $$4294967280
+  __asm mov eax, 6 ^ 3
+// CHECK: mov eax, $$5
 // CHECK: "~{eax},~{dirflag},~{fpsr},~{flags}"()
 }
 





More information about the cfe-commits mailing list