brintos

brintos / llvm-project-archived public Read only

0
0
Text · 363 B · 625adf2 Raw
15 lines · plain
1; RUN: llvm-as < %s | llvm-dis | FileCheck %s2 3; Check that the ellipsis round trips.4 5%struct.A = type { i32 }6 7declare ptr @f(ptr, ...)8 9define ptr @f_thunk(ptr %this, ...) {10  %rv = musttail call ptr (ptr, ...) @f(ptr %this, ...)11  ret ptr %rv12}13; CHECK-LABEL: define ptr @f_thunk(ptr %this, ...)14; CHECK: %rv = musttail call ptr (ptr, ...) @f(ptr %this, ...)15