27 lines · plain
1; RUN: llc < %s -mtriple=i686-- | FileCheck %s2; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s3 4; CHECK: test15; CHECK-NOT: mov6 7declare void @bar()8define void @test1(i32 %i0, i32 %i1, i32 %i2, i32 %i3, i32 %i4, i32 %i5, ptr %arg) nounwind {9 call void @bar()10 call void %arg()11 ret void12}13 14; PR1473915; CHECK: test216; CHECK: mov{{.*}} $0, ([[REGISTER:%[a-z]+]])17; CHECK-NOT: jmp{{.*}} *([[REGISTER]])18 19%struct.X = type { ptr }20define void @test2(ptr nocapture %x) {21entry:22 %0 = load ptr, ptr %x23 store ptr null, ptr %x24 tail call void %0()25 ret void26}27