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