bolt/deps/llvm-18.1.8/llvm/test/CodeGen/Hexagon/sdata-array.ll

14 lines
236 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; 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, ptr @foo, align 1
ret void
}