xref: /llvm-project/llvm/test/CodeGen/X86/pr46315.ll (revision 2c5c06c5cfca7988b2d69a78459be27beb35a86f)
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu | FileCheck %s
3
4define void @PR46315() {
5; CHECK-LABEL: PR46315:
6; CHECK:       # %bb.0:
7; CHECK-NEXT:    xorl %edi, %edi
8; CHECK-NEXT:    xorl %esi, %esi
9; CHECK-NEXT:    movl $2, %edx
10; CHECK-NEXT:    movl $3, %ecx
11; CHECK-NEXT:    movl $1, %r8d
12; CHECK-NEXT:    jmp h@PLT # TAILCALL
13  tail call void @h(i32 0, i32 0, i32 2, i32 3, i32 1)
14  ret void
15}
16
17declare void @h(i32, i32, i32, i32, i32)
18