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
57 lines
2.3 KiB
LLVM
57 lines
2.3 KiB
LLVM
; RUN: llc %s --filetype=obj -o %t
|
|
; RUN: llvm-objdump -d %t | FileCheck %s --check-prefixes=OBJ
|
|
; RUN: llvm-dwarfdump --debug-line %t | FileCheck %s --check-prefixes=DBG
|
|
; RUN: llc %s -o - | FileCheck %s --check-prefixes=ASM
|
|
|
|
; OBJ: 1:{{.*}}nop
|
|
|
|
;; prologue_end goes on start-of-loop, the call to @g.
|
|
;; Address Line Column File ISA Discriminator OpIndex Flags
|
|
; DBG: 0x0000000000000000 3 0 0 0 0 0 is_stmt
|
|
; DBG: 0x0000000000000001 0 0 0 0 0 0
|
|
; DBG: 0x0000000000000010 5 0 0 0 0 0 is_stmt prologue_end
|
|
; DBG: 0x0000000000000017 5 0 0 0 0 0 is_stmt end_sequence
|
|
|
|
; ASM: .loc 0 0 0 is_stmt 0
|
|
; ASM-NEXT: .L{{.*}}:
|
|
; ASM-NEXT: .p2align 4
|
|
|
|
;; $ cat test.cpp
|
|
;; void g();
|
|
;; void f() {
|
|
;; [[clang::code_align(16)]]
|
|
;; while (1) { g(); }
|
|
;; }
|
|
|
|
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
|
|
target triple = "x86_64-unknown-linux-gnu"
|
|
|
|
define dso_local void @f() local_unnamed_addr !dbg !9 {
|
|
entry:
|
|
br label %while.body, !dbg !12
|
|
|
|
while.body: ; preds = %entry, %while.body
|
|
tail call void @g(), !dbg !12
|
|
br label %while.body, !dbg !12, !llvm.loop !13
|
|
}
|
|
|
|
declare !dbg !16 void @g() local_unnamed_addr
|
|
|
|
!llvm.dbg.cu = !{!0}
|
|
!llvm.module.flags = !{!2, !3}
|
|
!llvm.ident = !{!8}
|
|
|
|
!0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus_14, file: !1, producer: "clang version 19.0.0git", isOptimized: true, runtimeVersion: 0, emissionKind: LineTablesOnly, splitDebugInlining: false, nameTableKind: None)
|
|
!1 = !DIFile(filename: "test.cpp", directory: "/")
|
|
!2 = !{i32 7, !"Dwarf Version", i32 5}
|
|
!3 = !{i32 2, !"Debug Info Version", i32 3}
|
|
!8 = !{!"clang version 19.0.0git"}
|
|
!9 = distinct !DISubprogram(name: "f", scope: !1, file: !1, line: 3, type: !10, scopeLine: 3, flags: DIFlagPrototyped | DIFlagAllCallsDescribed, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0)
|
|
!10 = !DISubroutineType(types: !11)
|
|
!11 = !{}
|
|
!12 = !DILocation(line: 5, scope: !9)
|
|
!13 = distinct !{!13, !12, !12, !14, !15}
|
|
!14 = !{!"llvm.loop.mustprogress"}
|
|
!15 = !{!"llvm.loop.align", i32 16}
|
|
!16 = !DISubprogram(name: "g", scope: !1, file: !1, line: 2, type: !10, flags: DIFlagPrototyped, spFlags: DISPFlagOptimized)
|