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
59 lines
2.0 KiB
YAML
59 lines
2.0 KiB
YAML
# RUN: llc -mtriple=hexagon -run-pass hexagon-packetizer %s -o - | FileCheck %s
|
|
|
|
##############################################################################
|
|
# This test case is not really hexagon specific, but we use hexagon to get
|
|
# bundling.
|
|
#
|
|
# The goal is to verify that the BUNDLE instruction is getting the first
|
|
# non-empty debug location among the bundled instructions.
|
|
##############################################################################
|
|
|
|
--- |
|
|
define void @test() { ret void }
|
|
|
|
!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "llvm", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !3, retainedTypes: !3)
|
|
!1 = distinct !DISubprogram(name: "test", scope: !3, file: !3, line: 1, type: !2, isLocal: false, isDefinition: true, scopeLine: 2, flags: DIFlagPrototyped, isOptimized: true, unit: !0)
|
|
!2 = !DISubroutineType(types: !3)
|
|
!3 = !{null}
|
|
!5 = !DILocation(line: 126, column: 9, scope: !2)
|
|
!6 = !DILocation(line: 321, column: 4, scope: !2)
|
|
|
|
...
|
|
---
|
|
name: test
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
liveins: $r1
|
|
$r2 = L2_loadri_io $r1, 0, debug-location !5
|
|
$r3 = L2_loadri_io $r1, 0, debug-location !6
|
|
|
|
$r4 = L2_loadri_io $r1, 0
|
|
$r5 = L2_loadri_io $r1, 0, debug-location !5
|
|
|
|
$r6 = L2_loadri_io $r1, 0, debug-location !6
|
|
$r7 = L2_loadri_io $r1, 0
|
|
|
|
$r8 = L2_loadri_io $r1, 0
|
|
$r9 = L2_loadri_io $r1, 0
|
|
...
|
|
|
|
# CHECK-LABEL: name: test
|
|
|
|
# CHECK: BUNDLE
|
|
# CHECK-SAME: debug-location [[DL1:!DILocation([^)]+)]]
|
|
# CHECK-NEXT: L2_loadri_io $r1, 0, debug-location [[DL1]]
|
|
# CHECK-NEXT: L2_loadri_io $r1, 0, debug-location [[DL2:!DILocation([^)]+)]]
|
|
|
|
# CHECK: BUNDLE
|
|
# CHECK-SAME: debug-location [[DL1]]
|
|
# CHECK-NEXT: L2_loadri_io $r1, 0{{$}}
|
|
# CHECK-NEXT: L2_loadri_io $r1, 0, debug-location [[DL1]]
|
|
|
|
# CHECK: BUNDLE
|
|
# CHECK-SAME: debug-location [[DL2]]
|
|
# CHECK-NEXT: L2_loadri_io $r1, 0, debug-location [[DL2]]
|
|
|
|
# No debug-location printouts expected for the last bundle
|
|
# CHECK-NOT: debug-location
|