[ARM] More MVE compare vector splat combines for ANDs
[llvm-complete.git] / test / CodeGen / ARM / ghc-tcreturn-lowered.ll
blobf34f8f1a66c1318e39d92d5f628c14e279c84375
1 ; RUN: llc -mtriple=thumbv7-eabi -o - %s | FileCheck %s
3 declare ghccc void @g()
5 define ghccc void @test_direct_tail() {
6 ; CHECK-LABEL: test_direct_tail:
7 ; CHECK: b g
9   tail call ghccc void @g()
10   ret void
13 @ind_func = global void()* zeroinitializer
15 define ghccc void @test_indirect_tail() {
16 ; CHECK-LABEL: test_indirect_tail:
17 ; CHECK: bx {{r[0-9]+}}
18   %func = load void()*, void()** @ind_func
19   tail call ghccc void() %func()
20   ret void