brintos

brintos / llvm-project-archived public Read only

0
0
Text · 538 B · 18ea609 Raw
21 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 52; RUN: llc < %s -mtriple avr | FileCheck %s -check-prefixes=CHECK3 4declare dso_local void @main()5 6define dso_local void @naked() naked "frame-pointer"="all" {7; CHECK-LABEL: naked:8; CHECK:       ; %bb.0:9; CHECK-NEXT:    rcall main10  call void @main()11  unreachable12}13 14define dso_local void @normal() "frame-pointer"="all" {15; CHECK-LABEL: normal:16; CHECK:       ; %bb.0:17; CHECK-NEXT:    rcall main18  call void @main()19  unreachable20}21