]> granicus.if.org Git - clang/commitdiff
Add test for parsing the XOR operator in Intel syntax inline assembly.
authorMichael Kuperstein <michael.m.kuperstein@intel.com>
Sun, 14 Jun 2015 13:03:27 +0000 (13:03 +0000)
committerMichael Kuperstein <michael.m.kuperstein@intel.com>
Sun, 14 Jun 2015 13:03:27 +0000 (13:03 +0000)
LLVM side of the patch was committed as r239695.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@239696 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/ms-inline-asm.c

index a6f1b71b392b347df7e3c2331516bf90379b57d5..d98b498a36fae4da7c5ee16ecd4527b3e2d9f073 100644 (file)
@@ -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}"()
 }