Add a triple to switch.ll test.
[oota-llvm.git] / test / CodeGen / X86 / sibcall-4.ll
1 ; RUN: llc < %s -mtriple=i386-pc-linux-gnu | FileCheck %s
2 ; pr7610
3
4 define ghccc void @t(i32* %Base_Arg, i32* %Sp_Arg, i32* %Hp_Arg, i32 %R1_Arg) nounwind {
5 cm1:
6 ; CHECK-LABEL: t:
7 ; CHECK: jmpl *%eax
8   %nm3 = getelementptr i32, i32* %Sp_Arg, i32 1
9   %nm9 = load i32, i32* %Sp_Arg
10   %nma = inttoptr i32 %nm9 to void (i32*, i32*, i32*, i32)*
11   tail call ghccc void %nma(i32* %Base_Arg, i32* %nm3, i32* %Hp_Arg, i32 %R1_Arg) nounwind
12   ret void
13 }