From: Ehsan Akhgari Date: Sat, 5 Jul 2014 15:04:06 +0000 (+0000) Subject: Add a test case for the tilde operator in Microsoft inline assembly X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b514dc79c0fcde4283714cfebb8b72c76fcac71c;p=clang Add a test case for the tilde operator in Microsoft inline assembly git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212373 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/ms-inline-asm.c b/test/CodeGen/ms-inline-asm.c index 6395e428ed..3836dddc90 100644 --- a/test/CodeGen/ms-inline-asm.c +++ b/test/CodeGen/ms-inline-asm.c @@ -409,6 +409,7 @@ void t37() { __asm mov eax, 4 + 8 * -16 __asm mov eax, 4 + 16 / -8 __asm mov eax, (16 + 16) / -8 + __asm mov eax, ~15 // CHECK: t37 // CHECK: call void asm sideeffect inteldialect "mov eax, $$12", "~{eax},~{dirflag},~{fpsr},~{flags}"() // CHECK: call void asm sideeffect inteldialect "mov eax, $$132", "~{eax},~{dirflag},~{fpsr},~{flags}"() @@ -417,6 +418,7 @@ void t37() { // CHECK: call void asm sideeffect inteldialect "mov eax, $$4294967172", "~{eax},~{dirflag},~{fpsr},~{flags}"() // CHECK: call void asm sideeffect inteldialect "mov eax, $$2", "~{eax},~{dirflag},~{fpsr},~{flags}"() // CHECK: call void asm sideeffect inteldialect "mov eax, $$4294967292", "~{eax},~{dirflag},~{fpsr},~{flags}"() +// CHECK: call void asm sideeffect inteldialect "mov eax, $$4294967280", "~{eax},~{dirflag},~{fpsr},~{flags}"() } void t38() {