1 ; RUN: llc < %s -mtriple=i686-- | FileCheck %s
2 ; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
8 define void @test1(i32 %i0, i32 %i1, i32 %i2, i32 %i3, i32 %i4, i32 %i5, void()* %arg) nounwind {
16 ; CHECK: mov{{.*}} $0, ([[REGISTER:%[a-z]+]])
17 ; CHECK-NOT: jmp{{.*}} *([[REGISTER]])
19 %struct.X = type { void ()* }
20 define void @test2(%struct.X* nocapture %x) {
22 %f = getelementptr inbounds %struct.X, %struct.X* %x, i64 0, i32 0
23 %0 = load void ()*, void ()** %f
24 store void ()* null, void ()** %f