Skip to content

Commit 41f62b7

Browse files
ksliwinsigcbot
authored andcommitted
Changes in code.
1 parent 6b53547 commit 41f62b7

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

IGC/Compiler/CISACodeGen/PullConstantHeuristics.hpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ class PullConstantHeuristics : public llvm::ModulePass {
4545
}
4646

4747
DWORD pushConstantGRFThreshold = IGC_GET_FLAG_VALUE(BlockPushConstantGRFThreshold);
48-
CompOptions compOpt;
49-
// If the regkey is set (pushConstantGRFThreshold != 0xFFFFFFFF) then we should use the regkey value, use the compOptions otherwise
50-
if ((pushConstantGRFThreshold == 0xFFFFFFFF) && (compOpt.PushConstantGRFThreshold != UINT32_MAX)) {
51-
pushConstantGRFThreshold = compOpt.PushConstantGRFThreshold;
52-
}
5348
if (pushConstantGRFThreshold != 0xFFFFFFFF) {
5449
return pushConstantGRFThreshold * ctx->platform.getGRFSize() /
5550
(ctx->platform.getMinPushConstantBufferAlignment() * sizeof(DWORD));

IGC/common/MDFrameWork.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,6 @@ enum class ShaderTypeMD
424424
unsigned VISAPreSchedRPThreshold = 0;
425425
unsigned VISAPreSchedCtrl = 0;
426426
unsigned SetLoopUnrollThreshold = 0;
427-
unsigned PushConstantGRFThreshold = UINT32_MAX;
428427
bool UnsafeMathOptimizations = false;
429428
bool disableCustomUnsafeOpts = false;
430429
bool disableReducePow = false;

0 commit comments

Comments
 (0)