[llvm] [Scalarizer][DirectX] support structs return types (PR #111569)
Finn Plummer via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 9 15:15:25 PDT 2024
================
@@ -699,6 +728,18 @@ bool ScalarizerVisitor::splitCall(CallInst &CI) {
if (isVectorIntrinsicWithOverloadTypeAtArg(ID, -1))
Tys.push_back(VS->SplitTy);
+ if (AreAllVectors) {
+ Type *PrevType = CallType->getContainedType(0);
+ Type *CallType = CI.getType();
----------------
inbelic wrote:
nit: Is there a reason for this to be re-defined? I don't see any side-effects in `getVectorSplit/isStructAllVectors`
https://github.com/llvm/llvm-project/pull/111569
More information about the llvm-commits
mailing list