Skip to content

Commit acedbe4

Browse files
iwwuigcbot
authored andcommitted
Allow promotion of alloca i64
Remove the check that prevents i64 promotion
1 parent 1be0bee commit acedbe4

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

IGC/Compiler/CISACodeGen/LowerGEPForPrivMem.cpp

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

243243
bool LowerGEPForPrivMem::IsNativeType(Type* type)
244244
{
245-
if ((type->isDoubleTy() && m_ctx->platform.hasNoFP64Inst()) ||
246-
(type->isIntegerTy(64) && m_ctx->platform.hasNoFullI64Support()))
247-
{
248-
return false;
249-
}
250-
251245
if (type->isIntegerTy(8) &&
252246
(IGC_IS_FLAG_ENABLED(ForcePromoteI8) ||
253247
(IGC_IS_FLAG_ENABLED(EnablePromoteI8) && !m_ctx->platform.supportByteALUOperation())))

0 commit comments

Comments
 (0)