Skip to content

Commit f0abd2d

Browse files
bcheng0127gfxbot
authored andcommitted
Internal feature
Change-Id: I86f3f44885a49c5bf71605e5e079cafdaff17b72
1 parent 1aca1a1 commit f0abd2d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

visa/Gen4_IR.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3413,6 +3413,7 @@ void G4_INST::emit_inst(std::ostream& output, bool symbol_dst, bool *symbol_srcs
34133413
output << ' ';
34143414
}
34153415
this->emit_options(output);
3416+
output << "//" << srcCISAoff;
34163417
//
34173418
// emit src2 of pln as comments
34183419
//

visa/Optimizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3052,7 +3052,7 @@ void Optimizer::newLocalCopyPropagation()
30523052
// src0 region is guaranteed to be scalar/contiguous due to canPropagate() check earlier
30533053
RegionDesc* region = src0->isScalar() ?
30543054
builder.getRegionScalar() :
3055-
builder.createRegionDesc((uint16_t)inst->getExecSize()
3055+
builder.createRegionDesc(useInst->getExecSize(), (uint16_t)inst->getExecSize()
30563056
* typeSizeRatio, inst->getExecSize(),
30573057
(uint16_t)typeSizeRatio);
30583058
if (src0->isIndirect())

0 commit comments

Comments
 (0)