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
36 lines
962 B
LLVM
36 lines
962 B
LLVM
; RUN: llvm-spirv -spirv-text %s -o - | FileCheck %s
|
|
; RUN: llvm-spirv %s -o %t.spv
|
|
; RUN: spirv-val %t.spv
|
|
;
|
|
; The fcmp is decorated with metadata besides the fast-math flags.
|
|
; The metadata is always ignored since we expresses the fast math mode
|
|
; through the regular LLVM flags.
|
|
;
|
|
; CHECK-DAG: Name [[#OLT:]] "oltRes"
|
|
; CHECK-DAG: Name [[#OGT:]] "ogtRes"
|
|
|
|
; CHECK-NOT: Decorate [[#OGT]] FPFastMathMode {{[0-9]+}}
|
|
; CHECK-NOT: Decorate [[#OLT]] FPFastMathMode 16
|
|
|
|
; CHECK-DAG: FOrdLessThan [[#BOOL:]] [[#OLT]]
|
|
; CHECK-DAG: Decorate [[#OLT]] FPFastMathMode 1
|
|
|
|
; CHECK-DAG: FOrdGreaterThan [[#BOOL:]] [[#OGT]]
|
|
|
|
target triple = "spirv-unknown-unknown"
|
|
|
|
define void @foo(float %1, float %2) {
|
|
entry:
|
|
%oltRes = fcmp nnan olt float %1, %2, !spirv.Decorations !1
|
|
ret void
|
|
}
|
|
|
|
define void @bar(float %1, float %2) {
|
|
entry:
|
|
%ogtRes = fcmp ogt float %1, %2, !spirv.Decorations !1
|
|
ret void
|
|
}
|
|
|
|
!1 = !{!2}
|
|
!2 = !{i32 40, i32 16} ; 40 is FPFastMathMode
|