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 1
1
/* ========================== begin_copyright_notice ============================
2
2
3
- Copyright (C) 2018-2024 Intel Corporation
3
+ Copyright (C) 2018-2025 Intel Corporation
4
4
5
5
SPDX-License-Identifier: MIT
6
6
@@ -944,7 +944,7 @@ Value *GenXPacketize::packetizeLLVMInstruction(Instruction *Inst) {
944
944
auto *ElemTy = Inst->getType ();
945
945
auto *VecDstTy = IGCLLVM::FixedVectorType::get (ElemTy, B->VWidth );
946
946
// create an read-region
947
- vc::CMRegion R (VecDstTy);
947
+ vc::CMRegion R (VecDstTy, DL );
948
948
if (auto *CI = dyn_cast<ConstantInt>(Idx)) {
949
949
R.Offset = CI->getSExtValue () * ElemTy->getPrimitiveSizeInBits () / 8 ;
950
950
R.Indirect = nullptr ;
@@ -977,7 +977,7 @@ Value *GenXPacketize::packetizeLLVMInstruction(Instruction *Inst) {
977
977
cast<IGCLLVM::FixedVectorType>(OldVec->getType ())->getNumElements ();
978
978
auto *ElemTy = Inst->getOperand (1 )->getType ();
979
979
// create an write-region
980
- vc::CMRegion R (Vec->getType ());
980
+ vc::CMRegion R (Vec->getType (), DL );
981
981
if (auto *CI = dyn_cast<ConstantInt>(Idx)) {
982
982
// special case, this is really just like a bitcast
983
983
if (CI->getZExtValue () == 0 && N == 1 && isa<UndefValue>(OldVec)) {
You can’t perform that action at this time.
0 commit comments