Skip to content

Commit 1834392

Browse files
skarczewigcbot
authored andcommitted
Minor refactor
Minor refactor
1 parent ff38f19 commit 1834392

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

IGC/Compiler/CISACodeGen/PushAnalysis.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1608,20 +1608,6 @@ namespace IGC
16081608
m_pullConstantHeuristics = &getAnalysis<PullConstantHeuristics>();
16091609
m_context = getAnalysis<CodeGenContextWrapper>().getCodeGenContext();
16101610

1611-
if (m_context->platform.isCoreChildOf(IGFX_XE3_CORE))
1612-
{
1613-
// VRT allows us to have 256GRFs, so we can double the number of pushed inputs
1614-
MaxNumOfPushedInputs = 24 * 2;
1615-
m_pMaxNumOfVSPushedInputs = 30;
1616-
m_pMaxNumOfDSPushedInputs = 24 * 2; // 48 * vec4 == 192 GRF == 3/4 256 GRF
1617-
}
1618-
else
1619-
{
1620-
MaxNumOfPushedInputs = 24;
1621-
m_pMaxNumOfVSPushedInputs = 24;
1622-
m_pMaxNumOfDSPushedInputs = 24;
1623-
}
1624-
16251611
MapList<Function*, Function*> funcsMapping;
16261612
bool retValue = false;
16271613

IGC/Compiler/CISACodeGen/PushAnalysis.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ namespace IGC
3232
const llvm::DataLayout* m_DL;
3333
static const uint32_t MaxConstantBufferIndexSize;
3434
uint32_t MaxNumOfPushedInputs;
35-
uint32_t m_pMaxNumOfVSPushedInputs;
36-
uint32_t m_pMaxNumOfDSPushedInputs;
3735

3836
bool m_funcTypeChanged;
3937
std::map <llvm::Function*, bool> m_isFuncTypeChanged;

0 commit comments

Comments
 (0)