Mercurial > hg > CbC > CbC_llvm
view test/Linker/ConstantGlobals.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 | 7d135dc70f03 |
children |
line wrap: on
line source
; RUN: llvm-link %s %S/Inputs/ConstantGlobals.ll -S | FileCheck %s ; RUN: llvm-link %S/Inputs/ConstantGlobals.ll %s -S | FileCheck %s ; CHECK-DAG: @X = constant [1 x i32] [i32 8] @X = external global [1 x i32] ; CHECK-DAG: @Y = external global [1 x i32] @Y = external global [1 x i32] define [1 x i32]* @use-Y() { ret [1 x i32] *@Y }