[llvm] [SPIR-V] Emit SPIR-V bitcasts between source/expected pointer type (PR #69621)
Michal Paszkowski via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 19 11:16:34 PDT 2023
================
@@ -265,6 +281,30 @@ Instruction *SPIRVEmitIntrinsics::visitBitCastInst(BitCastInst &I) {
return NewI;
}
+void SPIRVEmitIntrinsics::insertPtrCastInstr(Instruction *I) {
+ StoreInst *SI = dyn_cast<StoreInst>(I);
----------------
michalpaszkowski wrote:
As for now, I was able to only find cases where such casting is needed before stores. However, I might be missing some cases. Let me know if anyone has any other ideas.
https://github.com/llvm/llvm-project/pull/69621
More information about the llvm-commits
mailing list