blob: 737a79de0978754a91ebb89f0a522d8383d1601b [file] [log] [blame]
; RUN: llc -mtriple=aarch64--- --verify-machineinstrs -stop-before=finalize-isel -simplify-mir -o - < %s | FileCheck %s
; Here we check thatt the noredzone attribute is carried through the machine
; IR generation and is put in MachineFunctionInfo
define void @baz() {
entry:
; CHECK-LABEL: name: baz
; CHECK: machineFunctionInfo: {}
ret void
}
define void @bar() #0 {
entry:
; CHECK-LABEL: name: bar
; CHECK: machineFunctionInfo:
; CHECK-NEXT: hasRedZone: false
ret void
}
attributes #0 = { noredzone }