Mercurial > hg > Members > tobaru > cbc > CbC_llvm
view test/CodeGen/ARM/v8m-tail-call.ll @ 128:c347d3398279 default tip
fix
author | mir3636 |
---|---|
date | Wed, 06 Dec 2017 14:37:17 +0900 |
parents | 803732b1fca8 |
children |
line wrap: on
line source
; RUN: llc %s -o - -mtriple=thumbv8m.base | FileCheck %s define void @test() { ; CHECK-LABEL: test: entry: %call = tail call i32 @foo() %tail = tail call i32 @foo() ret void ; CHECK: bl foo ; CHECK: bl foo ; CHECK-NOT: b foo } define void @test2() { ; CHECK-LABEL: test2: entry: %tail = tail call i32 @foo() ret void ; CHECK: b foo ; CHECK-NOT: bl foo } declare i32 @foo()