[PATCH] D146873: [2/11][POC][Clang][RISCV] Define RVV tuple types
Craig Topper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 18 11:59:49 PDT 2023
craig.topper added inline comments.
================
Comment at: clang/lib/CodeGen/CGCall.cpp:3156
} else {
- AddrToStoreInto =
- CreateTempAlloca(STy, Alloca.getAlignment(), "coerce");
- }
+ uint64_t SrcSize = CGM.getDataLayout().getTypeAllocSize(STy);
+ llvm::Type *DstTy = Ptr.getElementType();
----------------
This can use `StructSize.getFixedValue()`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146873/new/
https://reviews.llvm.org/D146873
More information about the cfe-commits
mailing list