Compiler projects using llvm
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnux32 | FileCheck %s
declare { i64, ptr } @f()
define void @pr52357() {
; CHECK-LABEL: pr52357:
; CHECK:       # %bb.0: # %entry
; CHECK-NEXT:    pushq %rax
; CHECK-NEXT:    .cfi_def_cfa_offset 16
; CHECK-NEXT:    callq f@PLT
; CHECK-NEXT:    movl %edx, %eax
; CHECK-NEXT:    popq %rcx
; CHECK-NEXT:    .cfi_def_cfa_offset 8
; CHECK-NEXT:    jmpq *%rax # TAILCALL
entry:
  %0 = tail call { i64, ptr } @f()
  %1 = extractvalue { i64, ptr } %0, 1
  tail call void %1()
  ret void
}