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
1.4 KiB
LLVM
36 lines
1.4 KiB
LLVM
; RUN: llc < %s -mtriple=nvptx64-unknown-unknown | FileCheck %s
|
|
; RUN: %if ptxas %{ llc < %s -mtriple=nvptx64-unknown-unknown | %ptxas-verify %}
|
|
;
|
|
; NVPTXTargetLowering::getFunctionParamOptimizedAlign, which was introduces in
|
|
; D120129, contained a poorly designed assertion checking that a function with
|
|
; internal or private linkage is not a kernel. It relied on invariants that
|
|
; were not actually guaranteed, and that resulted in compiler crash with some
|
|
; CUDA versions (see discussion with @jdoerfert in D120129). This test contains
|
|
; metadata that caused compiler crash and a function with internal linkage
|
|
; which purpose is to let compiler run on path where the crash happened.
|
|
; Metadata was obtained from libdevice.10.bc shipped with cuda-11-0.
|
|
|
|
|
|
define internal i32 @foo() {
|
|
; CHECK-LABEL: .func (.param .b32 func_retval0) foo()
|
|
ret i32 42
|
|
}
|
|
|
|
define i32 @bar() {
|
|
; CHECK-LABEL: .visible .func (.param .b32 func_retval0) bar()
|
|
%x = call i32 @foo()
|
|
ret i32 %x
|
|
}
|
|
|
|
!nvvmir.version = !{!0}
|
|
!nvvm.annotations = !{!1, !2, !1, !3, !3, !3, !3, !4, !4, !3}
|
|
|
|
!0 = !{i32 1, i32 4}
|
|
!1 = !{null, !"align", i32 8}
|
|
!2 = !{null, !"align", i32 8, !"align", i32 65544, !"align", i32 131080}
|
|
!3 = !{null, !"align", i32 16}
|
|
!4 = !{null, !"align", i32 16, !"align", i32 65552, !"align", i32 131088}
|
|
!5 = distinct !{!5, !6}
|
|
!6 = !{!"llvm.loop.unroll.count", i32 1}
|
|
!7 = distinct !{!7, !6}
|