Test case for clobbers on cpuid in ms inline asm

Tests r200279 in LLVM.

llvm-svn: 200280
This commit is contained in:
Reid Kleckner 2014-01-28 02:09:28 +00:00
parent b2340d4c8c
commit 020acd88ec
1 changed files with 6 additions and 0 deletions

View File

@ -439,3 +439,9 @@ void t38() {
// CHECK: call void asm sideeffect inteldialect "mov eax, dword ptr $$8$0", "*m,~{eax},~{dirflag},~{fpsr},~{flags}"([4 x i32]* %{{.*}})
// CHECK: call void asm sideeffect inteldialect "mov eax, dword ptr $$0$0", "*m,~{eax},~{dirflag},~{fpsr},~{flags}"([4 x i32]* %{{.*}})
}
void cpuid() {
__asm cpuid
// CHECK-LABEL: define void @cpuid
// CHECK: call void asm sideeffect inteldialect "cpuid", "~{eax},~{ebx},~{ecx},~{edx},~{dirflag},~{fpsr},~{flags}"()
}