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
50 lines
1.5 KiB
LLVM
50 lines
1.5 KiB
LLVM
; RUN: llc < %s -mcpu=generic -mtriple=i686-- -mattr=+sse | FileCheck %s
|
|
|
|
define float @chainfail1(ptr nocapture %a, ptr nocapture %b, i32 %x, i32 %y, ptr nocapture %f) nounwind uwtable noinline ssp {
|
|
entry:
|
|
%tmp1 = load i64, ptr %a, align 8
|
|
; Insure x87 ops are properly chained, order preserved.
|
|
; CHECK: fildll
|
|
%conv = sitofp i64 %tmp1 to float
|
|
; CHECK: fstps
|
|
store float %conv, ptr %f, align 4
|
|
; CHECK: idivl
|
|
%div = sdiv i32 %x, %y
|
|
%conv5 = sext i32 %div to i64
|
|
store i64 %conv5, ptr %b, align 8
|
|
ret float %conv
|
|
}
|
|
|
|
define float @chainfail2(ptr nocapture %a, ptr nocapture %b, i32 %x, i32 %y, ptr nocapture %f) nounwind uwtable noinline ssp {
|
|
entry:
|
|
; CHECK: movl $0,
|
|
store i64 0, ptr %b, align 8
|
|
%mul = mul nsw i32 %y, %x
|
|
%sub = add nsw i32 %mul, -1
|
|
%idxprom = sext i32 %sub to i64
|
|
%arrayidx = getelementptr inbounds i64, ptr %a, i64 %idxprom
|
|
%tmp4 = load i64, ptr %arrayidx, align 8
|
|
; CHECK: fildll
|
|
%conv = sitofp i64 %tmp4 to float
|
|
store float %conv, ptr %f, align 4
|
|
ret float %conv
|
|
}
|
|
|
|
define void @PR17495(i1 %arg) {
|
|
entry:
|
|
br i1 %arg, label %while.end, label %while.body
|
|
|
|
while.body: ; preds = %while.body, %entry
|
|
%x.1.copyload = load i24, ptr undef, align 1
|
|
%conv = sitofp i24 %x.1.copyload to float
|
|
%div = fmul float %conv, 0x3E80000000000000
|
|
store float %div, ptr undef, align 4
|
|
br i1 false, label %while.end, label %while.body
|
|
|
|
while.end: ; preds = %while.body, %entry
|
|
ret void
|
|
|
|
; CHECK-LABEL: @PR17495
|
|
; CHECK-NOT: fildll
|
|
}
|