Mercurial > hg > Members > tobaru > cbc > CbC_llvm
view test/CodeGen/Hexagon/simpletailcall.ll @ 128:c347d3398279 default tip
fix
author | mir3636 |
---|---|
date | Wed, 06 Dec 2017 14:37:17 +0900 |
parents | 95c75e76d11b |
children |
line wrap: on
line source
; RUN: llc -march=hexagon -mcpu=hexagonv4 < %s | FileCheck %s ; CHECK: foo_empty ; CHECK-NOT: allocframe ; CHECK-NOT: memd(r29 ; CHECK: jump bar_empty define void @foo_empty(i32 %h) nounwind { entry: %add = add nsw i32 %h, 3 %call = tail call i32 bitcast (i32 (...)* @bar_empty to i32 (i32)*)(i32 %add) nounwind ret void } declare i32 @bar_empty(...)