22 lines · plain
1; RUN: llc -mtriple=aarch64--- --verify-machineinstrs -stop-before=finalize-isel -simplify-mir -o - < %s | FileCheck %s2 3; Here we check thatt the noredzone attribute is carried through the machine4; IR generation and is put in MachineFunctionInfo5 6define void @baz() {7 entry:8 ; CHECK-LABEL: name: baz9 ; CHECK: machineFunctionInfo: {}10 ret void11}12 13define void @bar() #0 {14 entry:15 ; CHECK-LABEL: name: bar16 ; CHECK: machineFunctionInfo:17 ; CHECK-NEXT: hasRedZone: false18 ret void19}20 21attributes #0 = { noredzone }22