1 // REQUIRES: x86-registered-target
3 // RUN: %clang_cc1 -triple x86_64-pc-win32 -fasm-blocks -emit-llvm %s -o - | FileCheck %s
16 // CHECK: define dso_local void @"?runc@t2@@
21 // CHECK: [[THIS_ADDR_T2:%.+]] = alloca ptr
22 // CHECK: [[THIS1_T2:%.+]] = load ptr, ptr [[THIS_ADDR_T2]],
23 // CHECK: call void asm sideeffect inteldialect "mov rax,$1\0A\09mov rbx,[rax]\0A\09mov $0, rbx", "=*m,m,~{rax},~{rbx},~{dirflag},~{fpsr},~{flags}"(ptr elementtype(double) %num, ptr [[THIS1_T2]])
29 // CHECK: define dso_local void @"?runc@t1@@
34 // CHECK: [[THIS_ADDR_T1:%.+]] = alloca ptr
35 // CHECK: [[THIS1_T1:%.+]] = load ptr, ptr [[THIS_ADDR_T1]],
36 // CHECK: call void asm sideeffect inteldialect "mov rax,$1{{.*}}ptr [[THIS1_T1]]
44 // CHECK: define linkonce_odr dso_local void @"?func@s@@
47 // CHECK: [[THIS_ADDR_S:%.+]] = alloca ptr
48 // CHECK: [[THIS1_S:%.+]] = load ptr, ptr [[THIS_ADDR_S]],
49 // CHECK: call void asm sideeffect inteldialect "mov rax, $0{{.*}}ptr [[THIS1_S]]