[llvm] [SPIRV] Emitting DebugSource, DebugCompileUnit (PR #97558)
Michal Paszkowski via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 9 15:56:50 PDT 2024
================
@@ -0,0 +1,129 @@
+; RUN: llc -O0 -mtriple=spirv64-unknown-unknown %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV
+
+source_filename = "example.c"
+target datalayout = "e-p:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-G1"
+target triple = "spir"
----------------
michalpaszkowski wrote:
Are target triple and data layout needed to be defined explicitly in the source? Triple is also passed as an argument to llc above.
https://github.com/llvm/llvm-project/pull/97558
More information about the llvm-commits
mailing list