blob: d4869f6c16ba665fb5505fb64bd1b7eb47f7e4cd [file]
; RUN: llc %s -o - | FileCheck %s
target triple = "dxil-unknown-shadermodel6.3-library"
;; CHECK-DAG: [[CU:![0-9]+]] = distinct !DICompileUnit(sourceLanguageName: DW_LNAME_C, sourceLanguageVersion: 199901,
;; CHECK-DAG: DXIL: [[CU]]: to be replaced by: [[NEWCU:![0-9]+]]
;; CHECK-DAG: [[NEWCU]] = distinct !DICompileUnit(language: DW_LANG_C99,
!llvm.dbg.cu = !{!0}
!llvm.module.flags = !{!2, !3}
!0 = distinct !DICompileUnit(sourceLanguageName: DW_LNAME_C, sourceLanguageVersion: 199901, file: !1, isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug)
!1 = !DIFile(filename: "versioned-language.c", directory: "")
!2 = !{i32 7, !"Dwarf Version", i32 6}
!3 = !{i32 2, !"Debug Info Version", i32 3}