1 ; RUN: llc -mtriple=aarch64-windows-msvc %s -o - | FileCheck %s
2 ; RUN: llc -mtriple=aarch64-linux-gnu %s -o - | FileCheck %s
4 target datalayout = "e-m:w-p:64:64-i32:32-i64:64-i128:128-n32:64-S128"
7 %struct.B = type { i32 (...)** }
9 $"??_9B@@$BA@AA" = comdat any
11 ; Function Attrs: noinline optnone
12 define linkonce_odr void @"??_9B@@$BA@AA"(%struct.B* %this, ...) #1 comdat align 2 {
14 %this.addr = alloca %struct.B*, align 8
15 store %struct.B* %this, %struct.B** %this.addr, align 8
16 %this1 = load %struct.B*, %struct.B** %this.addr, align 8
17 call void asm sideeffect "", "~{d0}"()
18 %0 = bitcast %struct.B* %this1 to void (%struct.B*, ...)***
19 %vtable = load void (%struct.B*, ...)**, void (%struct.B*, ...)*** %0, align 8
20 %vfn = getelementptr inbounds void (%struct.B*, ...)*, void (%struct.B*, ...)** %vtable, i64 0
21 %1 = load void (%struct.B*, ...)*, void (%struct.B*, ...)** %vfn, align 8
22 musttail call void (%struct.B*, ...) %1(%struct.B* %this1, ...)
28 attributes #1 = { noinline optnone "thunk" }
30 ; CHECK: mov v16.16b, v0.16b
33 ; CHECK: mov v0.16b, v16.16b