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
40 lines
1.6 KiB
LLVM
40 lines
1.6 KiB
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llubi_test_checks.py UTC_ARGS: --version 6
|
|
; RUN: llubi --verbose < %s 2>&1 | FileCheck %s
|
|
|
|
define void @main() {
|
|
%ext = fpext float 2.0 to double
|
|
%trunc = fptrunc double 3.5 to float
|
|
|
|
%si2fp = sitofp i32 -2 to float
|
|
%ui2fp = uitofp i32 255 to float
|
|
|
|
%ui2fp_nneg_pos = uitofp nneg i32 255 to float
|
|
%ui2fp_nneg_neg = uitofp nneg i32 -255 to float
|
|
|
|
%fp2si = fptosi double -4.75 to i32
|
|
%fp2ui = fptoui double 4.75 to i32
|
|
|
|
%oob_ui = fptoui float -1.0 to i32
|
|
%nan_si = fptosi float 0x7FF8000000000000 to i32
|
|
|
|
%oob_si_half = sitofp i32 -100000 to half
|
|
%oob_ui_half = uitofp i32 100000 to half
|
|
|
|
ret void
|
|
}
|
|
; CHECK: Entering function: main
|
|
; CHECK-NEXT: %ext = fpext float 2.000000e+00 to double => double 2.000000e+00
|
|
; CHECK-NEXT: %trunc = fptrunc double 3.500000e+00 to float => float 3.500000e+00
|
|
; CHECK-NEXT: %si2fp = sitofp i32 -2 to float => float -2.000000e+00
|
|
; CHECK-NEXT: %ui2fp = uitofp i32 255 to float => float 2.550000e+02
|
|
; CHECK-NEXT: %ui2fp_nneg_pos = uitofp nneg i32 255 to float => float 2.550000e+02
|
|
; CHECK-NEXT: %ui2fp_nneg_neg = uitofp nneg i32 -255 to float => poison
|
|
; CHECK-NEXT: %fp2si = fptosi double -4.750000e+00 to i32 => i32 -4
|
|
; CHECK-NEXT: %fp2ui = fptoui double 4.750000e+00 to i32 => i32 4
|
|
; CHECK-NEXT: %oob_ui = fptoui float -1.000000e+00 to i32 => poison
|
|
; CHECK-NEXT: %nan_si = fptosi float +qnan to i32 => poison
|
|
; CHECK-NEXT: %oob_si_half = sitofp i32 -100000 to half => half -Inf
|
|
; CHECK-NEXT: %oob_ui_half = uitofp i32 100000 to half => half +Inf
|
|
; CHECK-NEXT: ret void
|
|
; CHECK-NEXT: Exiting function: main
|