Changeset View
Changeset View
Standalone View
Standalone View
test/GPGPU/host-control-flow.ll
Show All 36 Lines | |||||
; IR-NEXT: store i8* [[REGB]], i8** [[REGA]] | ; IR-NEXT: store i8* [[REGB]], i8** [[REGA]] | ||||
; IR: call i8* @polly_getKernel | ; IR: call i8* @polly_getKernel | ||||
; ... | ; ... | ||||
; IR: call void @polly_freeKernel | ; IR: call void @polly_freeKernel | ||||
; IR-NEXT: %polly.indvar_next = add nsw i64 %polly.indvar, 1 | ; IR-NEXT: %polly.indvar_next = add nsw i64 %polly.indvar, 1 | ||||
; IR-NEXT: %polly.loop_cond = icmp sle i64 %polly.indvar_next, 99 | ; IR-NEXT: %polly.loop_cond = icmp sle i64 %polly.indvar_next, 99 | ||||
; IR-NEXT: br i1 %polly.loop_cond, label %polly.loop_header, label %polly.loop_exit | ; IR-NEXT: br i1 %polly.loop_cond, label %polly.loop_header, label %polly.loop_exit | ||||
; KERNEL-IR: define ptx_kernel void @FUNC_foo_KERNEL_0(i8 addrspace(1)* %MemRef_A, i64 %c0) | ; KERNEL-IR: define ptx_kernel void @FUNC_foo_SCOP_0_KERNEL_0(i8 addrspace(1)* %MemRef_A, i64 %c0) | ||||
; KERNEL-IR-LABEL: entry: | ; KERNEL-IR-LABEL: entry: | ||||
; KERNEL-IR-NEXT: %0 = call i32 @llvm.nvvm.read.ptx.sreg.ctaid.x() | ; KERNEL-IR-NEXT: %0 = call i32 @llvm.nvvm.read.ptx.sreg.ctaid.x() | ||||
; KERNEL-IR-NEXT: %b0 = zext i32 %0 to i64 | ; KERNEL-IR-NEXT: %b0 = zext i32 %0 to i64 | ||||
; KERNEL-IR-NEXT: %1 = call i32 @llvm.nvvm.read.ptx.sreg.tid.x() | ; KERNEL-IR-NEXT: %1 = call i32 @llvm.nvvm.read.ptx.sreg.tid.x() | ||||
; KERNEL-IR-NEXT: %t0 = zext i32 %1 to i64 | ; KERNEL-IR-NEXT: %t0 = zext i32 %1 to i64 | ||||
; KERNEL-IR-NEXT: br label %polly.cond | ; KERNEL-IR-NEXT: br label %polly.cond | ||||
; KERNEL-IR-LABEL: polly.cond: ; preds = %entry | ; KERNEL-IR-LABEL: polly.cond: ; preds = %entry | ||||
▲ Show 20 Lines • Show All 124 Lines • Show Last 20 Lines |