view test/CodeGen/Mips/init-array.ll @ 146:3fc4d5c3e21e

set tail call flag for code segment in CGCAll
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 23 Dec 2018 19:23:36 +0900
parents 54457678186b
children c2174574ed3a
line wrap: on
line source

; RUN: llc -mtriple mipsel-unknown-linux < %s | FileCheck  %s

target triple = "mipsel-unknown-linux"

@llvm.global_ctors = appending global [1 x { i32, void ()* }] [{ i32, void ()* } { i32 65535, void ()* @test }]
; CHECK: .section
; CHECK: .init_array
; CHECK-NOT: .ctors
; CHECK: .4byte test

define internal void @test() section ".text.startup" {
entry:
  ret void
}