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
33 lines
1.4 KiB
YAML
33 lines
1.4 KiB
YAML
# This test checks to make sure that when an instruction (%3 in the test) is
|
|
# moved due to matching a result of a fold of two other instructions
|
|
# (%1, and %2 in the test) in the legalizer, the DILocation of the
|
|
# instruction that is moved (%3) is updated appropriately.
|
|
|
|
# RUN: llc %s -run-pass=legalizer -mtriple=aarch64 -o - | FileCheck %s
|
|
# CHECK-NOT: %2:_(s32) = G_CONSTANT i32 0, debug-location !DILocation(line: 13
|
|
# CHECK: %2:_(s32) = G_CONSTANT i32 0, debug-location !DILocation(line: 0,
|
|
--- |
|
|
|
|
define i32 @main(i32 %0, ptr %1) #0 !dbg !57 {
|
|
entry:
|
|
ret i32 0, !dbg !71
|
|
}
|
|
!3 = !DIFile(filename: "main.swift", directory: "/Volumes/Data/swift")
|
|
!23 = distinct !DICompileUnit(language: DW_LANG_Swift, file: !3, sdk: "blah.sdk")
|
|
!57 = distinct !DISubprogram(name: "main", unit: !23, type: !73)
|
|
!64 = distinct !DILexicalBlock(scope: !57, column: 1)
|
|
!66 = distinct !DILexicalBlock(scope: !64, column: 1)
|
|
!68 = !DILocation(line: 12, scope: !66)
|
|
!70 = distinct !DILexicalBlock(scope: !66, column: 1)
|
|
!71 = !DILocation(line: 13, scope: !70)
|
|
!72 = !{null}
|
|
!73 = !DISubroutineType(types: !72)
|
|
name: main
|
|
body: |
|
|
bb.0:
|
|
%1:_(s8) = G_CONSTANT i8 0, debug-location !68
|
|
%2:_(s32) = G_ANYEXT %1(s8), debug-location !68
|
|
$w2 = COPY %2(s32), debug-location !68
|
|
%3:_(s32) = G_CONSTANT i32 0, debug-location !71
|
|
$w0 = COPY %3(s32), debug-location !71
|