Skip to content

Commit 1e4cf94

Browse files
itsimbaligcbot
authored andcommitted
When promoting arrays to registers wrong assumption regarding
fp64 and int64 is made.
1 parent 86ec39b commit 1e4cf94

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

IGC/Compiler/CISACodeGen/LowerGEPForPrivMem.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -258,11 +258,6 @@ static void GetAllocaLiverange(Instruction* I, unsigned int& liverangeStart, uns
258258

259259
bool LowerGEPForPrivMem::IsNativeType(Type* type)
260260
{
261-
if ((type->isDoubleTy() && m_ctx->platform.hasNoFP64Inst()) ||
262-
(type->isIntegerTy(64) && m_ctx->platform.hasNoFullI64Support()))
263-
{
264-
return false;
265-
}
266261
return true;
267262
}
268263

0 commit comments

Comments
 (0)