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
53 lines
1.2 KiB
LLVM
53 lines
1.2 KiB
LLVM
; RUN: llvm-reduce --abort-on-invalid-reduction --test FileCheck --test-arg --check-prefixes=CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t
|
|
; RUN: FileCheck --check-prefixes=CHECK-FINAL --input-file=%t %s
|
|
|
|
; Test handling of 'alias'.
|
|
|
|
; CHECK-INTERESTINGNESS: define void @fn3
|
|
|
|
; CHECK-FINAL-NOT: = {{.*}} global
|
|
; CHECK-FINAL-NOT: = alias
|
|
|
|
; CHECK-FINAL-NOT: @llvm.used
|
|
; CHECK-FINAL-NOT: @llvm.compiler.used
|
|
|
|
; CHECK-FINAL-NOT: define void @fn1
|
|
; CHECK-FINAL-NOT: define void @fn2
|
|
; CHECK-FINAL: define void @fn3
|
|
; CHECK-FINAL-NOT: define void @fn4
|
|
|
|
@g1 = global [ 4 x i32 ] zeroinitializer
|
|
@g2 = global [ 4 x i32 ] zeroinitializer
|
|
|
|
@"$a1" = alias void (), ptr @fn1
|
|
@"$a2" = alias void (), ptr @fn2
|
|
@"$a3" = alias void (), ptr @fn3
|
|
@"$a4" = alias void (), ptr @fn4
|
|
|
|
@"$a5" = alias i64, getelementptr ([ 4 x i32 ], ptr @g1, i32 0, i32 1)
|
|
@"$a6" = alias i64, getelementptr ([ 4 x i32 ], ptr @g2, i32 0, i32 1)
|
|
|
|
@llvm.used = appending global [1 x ptr] [
|
|
ptr @"$a5"
|
|
], section "llvm.metadata"
|
|
|
|
@llvm.compiler.used = appending global [1 x ptr] [
|
|
ptr @"$a6"
|
|
], section "llvm.metadata"
|
|
|
|
define void @fn1() {
|
|
ret void
|
|
}
|
|
|
|
define void @fn2() {
|
|
ret void
|
|
}
|
|
|
|
define void @fn3() {
|
|
ret void
|
|
}
|
|
|
|
define void @fn4() {
|
|
ret void
|
|
}
|