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
38 lines
1.6 KiB
LLVM
38 lines
1.6 KiB
LLVM
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 6
|
|
; RUN: opt -passes=slp-vectorizer -S -slp-vectorize-non-power-of-2 < %s | FileCheck %s
|
|
|
|
define i32 @test(ptr %Clause) {
|
|
; CHECK-LABEL: define i32 @test(
|
|
; CHECK-SAME: ptr [[CLAUSE:%.*]]) {
|
|
; CHECK-NEXT: [[ENTRY:.*:]]
|
|
; CHECK-NEXT: [[TMP0:%.*]] = getelementptr i8, ptr [[CLAUSE]], i64 64
|
|
; CHECK-NEXT: [[CLAUSE_VAL:%.*]] = load i32, ptr [[TMP0]], align 8
|
|
; CHECK-NEXT: [[TMP1:%.*]] = getelementptr i8, ptr [[CLAUSE]], i64 68
|
|
; CHECK-NEXT: [[CLAUSE_VAL51:%.*]] = load i32, ptr [[TMP1]], align 4
|
|
; CHECK-NEXT: [[ADD_I:%.*]] = sub i32 0, [[CLAUSE_VAL]]
|
|
; CHECK-NEXT: br label %[[FOR_COND_PREHEADER:.*]]
|
|
; CHECK: [[FOR_COND_PREHEADER]]:
|
|
; CHECK-NEXT: [[TMP2:%.*]] = getelementptr i8, ptr [[CLAUSE]], i64 72
|
|
; CHECK-NEXT: [[ADD_I5667:%.*]] = add i32 [[CLAUSE_VAL51]], [[CLAUSE_VAL]]
|
|
; CHECK-NEXT: [[CLAUSE_VAL7_I68:%.*]] = load i32, ptr [[TMP2]], align 8
|
|
; CHECK-NEXT: [[ADD3_I69:%.*]] = add i32 [[ADD_I5667]], [[CLAUSE_VAL7_I68]]
|
|
; CHECK-NEXT: [[CMP470:%.*]] = icmp sgt i32 [[ADD3_I69]], 0
|
|
; CHECK-NEXT: ret i32 0
|
|
;
|
|
entry:
|
|
%0 = getelementptr i8, ptr %Clause, i64 64
|
|
%Clause.val = load i32, ptr %0, align 8
|
|
%1 = getelementptr i8, ptr %Clause, i64 68
|
|
%Clause.val51 = load i32, ptr %1, align 4
|
|
%add.i = sub i32 0, %Clause.val
|
|
br label %for.cond.preheader
|
|
|
|
for.cond.preheader:
|
|
%2 = getelementptr i8, ptr %Clause, i64 72
|
|
%add.i5667 = add i32 %Clause.val51, %Clause.val
|
|
%Clause.val7.i68 = load i32, ptr %2, align 8
|
|
%add3.i69 = add i32 %add.i5667, %Clause.val7.i68
|
|
%cmp470 = icmp sgt i32 %add3.i69, 0
|
|
ret i32 0
|
|
}
|