Skip to content

Commit 23f5a4a

Browse files
peplaigcbot
authored andcommitted
Changes in code.
1 parent 63cf197 commit 23f5a4a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+432
-16372
lines changed

IGC/Compiler/CISACodeGen/EmitVISAPass.cpp

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22825,15 +22825,8 @@ void EmitPass::emitLscIntrinsicTypedLoadStatus(llvm::GenIntrinsicInst *inst) {
2282522825

2282622826
LSC_ADDR_SIZE addrSize = LSC_ADDR_SIZE_32b;
2282722827
const unsigned int eltBitSize = 32;
22828-
const bool isEfficient64bEnabled = m_currShader->m_Platform->hasEfficient64bEnabled();
22829-
const unsigned int numElements =
22830-
isEfficient64bEnabled ? numLanes(m_currShader->m_SIMDSize)
22831-
: 1; // The dest data payload is dword per SIMT lane/bit per SIMT lane (one dword).
22832-
if (isEfficient64bEnabled && resource.m_isStatefulForEfficient64b) {
22833-
// stateful access for efficient64b -> 64bit pointer with 32bit offset
22834-
addrSize = LSC_ADDR_SIZE_32bU;
22835-
}
22836-
const LSC_OP lscOp = isEfficient64bEnabled ? LSC_LOAD_QUAD_STATUS : LSC_LOAD_STATUS;
22828+
const unsigned int numElements = 1;
22829+
const LSC_OP lscOp = LSC_LOAD_STATUS;
2283722830
if (destIsUniform) {
2283822831
m_encoder->SetSimdSize(SIMDMode::SIMD1);
2283922832
m_encoder->SetPredicate(nullptr);

0 commit comments

Comments
 (0)