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
37 lines
1.3 KiB
LLVM
37 lines
1.3 KiB
LLVM
; RUN: llc -O0 < %s -mtriple=x86_64-unknown | FileCheck %s
|
|
; This was extracted from a swift debugger stepping testcase and checks that the
|
|
; fold (zext (load x)) -> (zext (truncate (zextload x)))
|
|
; rule propagates the SDLoc of the load to the zextload.
|
|
|
|
; CHECK: .loc {{.*}} main.swift:100
|
|
; CHECK-NOT: .loc
|
|
; CHECK: .loc {{.*}} main.swift:200
|
|
; CHECK-NOT: .loc
|
|
; CHECK: .loc {{.*}} main.swift:300
|
|
; CHECK-NOT: .loc
|
|
declare void @foo(double)
|
|
|
|
define i32 @zext_load(ptr %arg) !dbg !30 {
|
|
%1 = getelementptr inbounds i8, ptr %arg, i32 1
|
|
%2 = load i8, ptr %1, align 1, !dbg !100
|
|
%3 = uitofp i8 %2 to double, !dbg !200
|
|
call void @foo(double %3), !dbg !200
|
|
%4 = zext i8 %2 to i32, !dbg !300
|
|
ret i32 %4
|
|
}
|
|
!llvm.dbg.cu = !{!1}
|
|
!llvm.module.flags = !{!0}
|
|
|
|
!0 = !{i32 2, !"Debug Info Version", i32 3}
|
|
!1 = distinct !DICompileUnit(language: DW_LANG_Swift, file: !3, isOptimized: false, emissionKind: FullDebug)
|
|
!2 = !DIModule(scope: null, name: "test", includePath: "")
|
|
!3 = !DIFile(filename: "main.swift", directory: "/")
|
|
|
|
!30 = distinct !DISubprogram(name: "main", scope: !2, file: !3, line: 1, type: !31, isLocal: false, isDefinition: true, isOptimized: false, unit: !1)
|
|
!31 = !DISubroutineType(types: !32)
|
|
!32 = !{}
|
|
|
|
!100 = !DILocation(line: 100, scope: !30)
|
|
!200 = !DILocation(line: 200, scope: !30)
|
|
!300 = !DILocation(line: 300, scope: !30)
|