[llvm] [SPIR-V] Insert a bitcast before load/store instruction to keep SPIR-V code valid (PR #84069)
Michal Paszkowski via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 5 19:15:36 PST 2024
================
@@ -1,5 +1,8 @@
; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s
+target datalayout = "e-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024"
+target triple = "spir64"
----------------
michalpaszkowski wrote:
Does the triple still need to be added explicitly in the module (it is also passed as a flag to llc)? Also there is a mismatch between the triple in the flag and the triple declared here.
https://github.com/llvm/llvm-project/pull/84069
More information about the llvm-commits
mailing list