summaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/X86/attr-function-return.ll
blob: 091a8ea8da3ae38f4031a3277e0c676711b09a6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc --mtriple=i386-linux-gnu %s -o - -verify-machineinstrs \
; RUN:   | FileCheck %s
; RUN: llc --mtriple=x86_64-linux-gnu %s -o - -verify-machineinstrs \
; RUN:   | FileCheck %s
define void @x() fn_ret_thunk_extern {
; CHECK-LABEL: x:
; CHECK:       # %bb.0:
; CHECK-NEXT:    cs
; CHECK-NEXT:    jmp __x86_return_thunk
  ret void
}

!llvm.module.flags = !{!0}

!0 = !{i32 4, !"indirect_branch_cs_prefix", i32 1}