forked from OSchip/llvm-project
16 lines
674 B
LLVM
16 lines
674 B
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
|
; RUN: llc < %s -march=avr | FileCheck %s
|
|
|
|
define void @do_nothing() addrspace(1) #0 {
|
|
; CHECK-LABEL: do_nothing:
|
|
; CHECK: ; %bb.0:
|
|
; CHECK-NEXT: ret
|
|
ret void
|
|
}
|
|
|
|
; CHECK: .globl __do_global_ctors
|
|
@llvm.global_ctors = appending global [1 x { i32, void () addrspace(1)*, i8* }] [{ i32, void () addrspace(1)*, i8* } { i32 65535, void () addrspace(1)* @do_nothing, i8* null }]
|
|
|
|
; CHECK: .globl __do_global_dtors
|
|
@llvm.global_dtors = appending global [1 x { i32, void () addrspace(1)*, i8* }] [{ i32, void () addrspace(1)*, i8* } { i32 65535, void () addrspace(1)* @do_nothing, i8* null }]
|