File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
IGC/VectorCompiler/lib/GenXOpts/CMPacketize Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11/* ========================== begin_copyright_notice ============================
22
3- Copyright (C) 2018-2024 Intel Corporation
3+ Copyright (C) 2018-2025 Intel Corporation
44
55SPDX-License-Identifier: MIT
66
@@ -944,7 +944,7 @@ Value *GenXPacketize::packetizeLLVMInstruction(Instruction *Inst) {
944944 auto *ElemTy = Inst->getType ();
945945 auto *VecDstTy = IGCLLVM::FixedVectorType::get (ElemTy, B->VWidth );
946946 // create an read-region
947- vc::CMRegion R (VecDstTy);
947+ vc::CMRegion R (VecDstTy, DL );
948948 if (auto *CI = dyn_cast<ConstantInt>(Idx)) {
949949 R.Offset = CI->getSExtValue () * ElemTy->getPrimitiveSizeInBits () / 8 ;
950950 R.Indirect = nullptr ;
@@ -977,7 +977,7 @@ Value *GenXPacketize::packetizeLLVMInstruction(Instruction *Inst) {
977977 cast<IGCLLVM::FixedVectorType>(OldVec->getType ())->getNumElements ();
978978 auto *ElemTy = Inst->getOperand (1 )->getType ();
979979 // create an write-region
980- vc::CMRegion R (Vec->getType ());
980+ vc::CMRegion R (Vec->getType (), DL );
981981 if (auto *CI = dyn_cast<ConstantInt>(Idx)) {
982982 // special case, this is really just like a bitcast
983983 if (CI->getZExtValue () == 0 && N == 1 && isa<UndefValue>(OldVec)) {
You can’t perform that action at this time.
0 commit comments