Mercurial > hg > CbC > CbC_llvm
view test/CodeGen/Hexagon/struct_args_large.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 | 1172e4bd9c6f |
children |
line wrap: on
line source
; XFAIL: * ; RUN: llc -march=hexagon < %s | FileCheck %s ; CHECK: r[[T0:[0-9]+]] = CONST32(#s2) ; CHECK: memw(r29+#0) = r{{.}} ; CHECK: memw(r29+#8) = r{{.}} %struct.large = type { i64, i64 } @s2 = common global %struct.large zeroinitializer, align 8 define void @foo() nounwind { entry: call void @bar(%struct.large* byval @s2) ret void } declare void @bar(%struct.large* byval)