• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -mtriple=aarch64---  --verify-machineinstrs -stop-before=finalize-isel -simplify-mir -o - < %s | FileCheck %s
2
3; Here we check thatt the noredzone attribute is carried through the machine
4; IR generation and is put in MachineFunctionInfo
5
6define void @baz() {
7  entry:
8    ; CHECK-LABEL: name:            baz
9    ; CHECK: machineFunctionInfo: {}
10    ret void
11}
12
13define void @bar() #0 {
14  entry:
15    ; CHECK-LABEL: name:            bar
16    ; CHECK: machineFunctionInfo:
17    ; CHECK-NEXT: hasRedZone:      false
18    ret void
19}
20
21attributes #0 = { noredzone }
22