aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/X86/cfi-inserter-check-order.ll
blob: d2f47c2d66b5f718be1cf18ff347b7ef69cb9b04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; RUN: llc -mtriple=x86_64-- -O2 -enable-machine-outliner -debug-pass=Structure < %s -o /dev/null 2>&1 | FileCheck %s

; REQUIRES: asserts

; Confirm that passes that can add CFI instructions run before CFI instruction inserter.

; CHECK-LABEL: Pass Arguments:
; CHECK:       Check CFA info and insert CFI instructions if needed
; CHECK-NOT:   X86 Optimize Call Frame
; CHECK-NOT:   Prologue/Epilogue Insertion & Frame Finalization
; CHECK-NOT:   Machine Outliner

define void @f() {
  ret void
}