summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/ms-inline-asm.c
diff options
context:
space:
mode:
authorMichael Kuperstein <michael.m.kuperstein@intel.com>2015-06-14 13:03:27 +0000
committerMichael Kuperstein <michael.m.kuperstein@intel.com>2015-06-14 13:03:27 +0000
commitce1ce989e2b2fc3b992109f82b31a403db015ec6 (patch)
tree9ff4e9eb1a9dca76b9a3819cfe1d7af00b47e3a7 /clang/test/CodeGen/ms-inline-asm.c
parente3de07a5296e5be2e854b79335ba500645231795 (diff)
downloadbcm5719-llvm-ce1ce989e2b2fc3b992109f82b31a403db015ec6.tar.gz
bcm5719-llvm-ce1ce989e2b2fc3b992109f82b31a403db015ec6.zip
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@intel.com llvm-svn: 239696
Diffstat (limited to 'clang/test/CodeGen/ms-inline-asm.c')
-rw-r--r--clang/test/CodeGen/ms-inline-asm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/CodeGen/ms-inline-asm.c b/clang/test/CodeGen/ms-inline-asm.c
index a6f1b71b392..d98b498a36f 100644
--- a/clang/test/CodeGen/ms-inline-asm.c
+++ b/clang/test/CodeGen/ms-inline-asm.c
@@ -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}"()
}
OpenPOWER on IntegriCloud