From efd87c8f4b34d962180bb79a5348dbdbb7ae5472 Mon Sep 17 00:00:00 2001 From: Chad Rosier Date: Wed, 17 Apr 2013 21:02:39 +0000 Subject: [PATCH] Test cases for r179719. llvm-svn: 179720 --- clang/test/CodeGen/ms-inline-asm.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/clang/test/CodeGen/ms-inline-asm.c b/clang/test/CodeGen/ms-inline-asm.c index 5dbc22fe603a..41b4f3f97e1e 100644 --- a/clang/test/CodeGen/ms-inline-asm.c +++ b/clang/test/CodeGen/ms-inline-asm.c @@ -405,11 +405,17 @@ void t37() { __asm mov eax, 4 + 8 * 16 __asm mov eax, -4 + 8 * 16 __asm mov eax, (4 + 4) * 16 + __asm mov eax, 4 + 8 * -16 + __asm mov eax, 4 + 16 / -8 + __asm mov eax, (16 + 16) / -8 // 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}"() // CHECK: call void asm sideeffect inteldialect "mov eax, $$124", "~{eax},~{dirflag},~{fpsr},~{flags}"() // CHECK: call void asm sideeffect inteldialect "mov eax, $$128", "~{eax},~{dirflag},~{fpsr},~{flags}"() +// 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}"() } void t38() {