Mercurial > hg > CbC > CbC_llvm
view test/CodeGen/Hexagon/sdata-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 | 803732b1fca8 |
children |
line wrap: on
line source
; RUN: llc -march=hexagon < %s | FileCheck %s ; No arrays in sdata. ; CHECK: memb(##foo) @foo = common global [4 x i8] zeroinitializer, align 1 define void @set(i8 %x) nounwind { entry: store i8 %x, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @foo, i32 0, i32 0), align 1 ret void }