CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
79 lines
2.7 KiB
LLVM
79 lines
2.7 KiB
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
|
; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -debug-entry-values | FileCheck %s
|
|
|
|
; Function Attrs: uwtable
|
|
; When tail-duplicating during placement, we work backward from blocks with
|
|
; multiple successors. In this case, the block dup1 gets duplicated into dup2
|
|
; and if.then64, and then the block dup2 gets duplicated into land.lhs.true
|
|
; and if.end70
|
|
|
|
define void @repeated_tail_dup(i1 %a1, i1 %a2, ptr %a4, ptr %a5, ptr %a6, i32 %a7) #0 align 2 {
|
|
; CHECK-LABEL: repeated_tail_dup:
|
|
; CHECK: # %bb.0: # %entry
|
|
; CHECK-NEXT: jmp .LBB0_1
|
|
; CHECK-NEXT: .p2align 4
|
|
; CHECK-NEXT: .LBB0_2: # %land.lhs.true
|
|
; CHECK-NEXT: # in Loop: Header=BB0_1 Depth=1
|
|
; CHECK-NEXT: movl $10, (%rdx)
|
|
; CHECK-NEXT: .LBB0_6: # %dup2
|
|
; CHECK-NEXT: # in Loop: Header=BB0_1 Depth=1
|
|
; CHECK-NEXT: movl $2, (%rcx)
|
|
; CHECK-NEXT: testl %r9d, %r9d
|
|
; CHECK-NEXT: jne .LBB0_8
|
|
; CHECK-NEXT: .LBB0_1: # %for.cond
|
|
; CHECK-NEXT: # =>This Inner Loop Header: Depth=1
|
|
; CHECK-NEXT: testb $1, %dil
|
|
; CHECK-NEXT: jne .LBB0_2
|
|
; CHECK-NEXT: # %bb.3: # %if.end56
|
|
; CHECK-NEXT: # in Loop: Header=BB0_1 Depth=1
|
|
; CHECK-NEXT: testb $1, %sil
|
|
; CHECK-NEXT: je .LBB0_5
|
|
; CHECK-NEXT: # %bb.4: # %if.then64
|
|
; CHECK-NEXT: # in Loop: Header=BB0_1 Depth=1
|
|
; CHECK-NEXT: movb $1, (%r8)
|
|
; CHECK-NEXT: testl %r9d, %r9d
|
|
; CHECK-NEXT: je .LBB0_1
|
|
; CHECK-NEXT: jmp .LBB0_8
|
|
; CHECK-NEXT: .p2align 4
|
|
; CHECK-NEXT: .LBB0_5: # %if.end70
|
|
; CHECK-NEXT: # in Loop: Header=BB0_1 Depth=1
|
|
; CHECK-NEXT: movl $12, (%rdx)
|
|
; CHECK-NEXT: jmp .LBB0_6
|
|
; CHECK-NEXT: .LBB0_8: # %for.end
|
|
; CHECK-NEXT: retq
|
|
entry:
|
|
br label %for.cond
|
|
|
|
for.cond: ; preds = %dup1, %entry
|
|
br i1 %a1, label %land.lhs.true, label %if.end56
|
|
|
|
land.lhs.true: ; preds = %for.cond
|
|
store i32 10, ptr %a4, align 8
|
|
br label %dup2
|
|
|
|
if.end56: ; preds = %for.cond
|
|
br i1 %a2, label %if.then64, label %if.end70
|
|
|
|
if.then64: ; preds = %if.end56
|
|
store i8 1, ptr %a6, align 1
|
|
br label %dup1
|
|
|
|
if.end70: ; preds = %if.end56
|
|
store i32 12, ptr %a4, align 8
|
|
br label %dup2
|
|
|
|
dup2: ; preds = %if.end70, %land.lhs.true
|
|
store i32 2, ptr %a5, align 4
|
|
br label %dup1
|
|
|
|
dup1: ; preds = %dup2, %if.then64
|
|
%val = load i32, ptr %a4, align 8
|
|
%switch = icmp ult i32 %a7, 1
|
|
br i1 %switch, label %for.cond, label %for.end
|
|
|
|
for.end: ; preds = %dup1
|
|
ret void
|
|
}
|
|
|
|
attributes #0 = { uwtable }
|