forked from OSchip/llvm-project
Test case for clobbers on cpuid in ms inline asm
Tests r200279 in LLVM. llvm-svn: 200280
This commit is contained in:
parent
b2340d4c8c
commit
020acd88ec
|
@ -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}"()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue