xref: /llvm-project/llvm/test/CodeGen/X86/attr-function-return.ll (revision 6f867f9102838ebe314c1f3661fdf95700386e5a)
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc --mtriple=i386-linux-gnu %s -o - -verify-machineinstrs \
3; RUN:   | FileCheck %s
4; RUN: llc --mtriple=x86_64-linux-gnu %s -o - -verify-machineinstrs \
5; RUN:   | FileCheck %s
6define void @x() fn_ret_thunk_extern {
7; CHECK-LABEL: x:
8; CHECK:       # %bb.0:
9; CHECK-NEXT:    cs
10; CHECK-NEXT:    jmp __x86_return_thunk
11  ret void
12}
13
14!llvm.module.flags = !{!0}
15
16!0 = !{i32 4, !"indirect_branch_cs_prefix", i32 1}
17