Skip to content

Commit 46d7b8a

Browse files
trbauerigcbot
authored andcommitted
Renamed vISA option enum
Renamed vISA option enum
1 parent 09ad3ad commit 46d7b8a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

visa/G4_IR.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,7 @@ bool G4_INST::hasNoPipe()
956956

957957
bool G4_INST::isLongPipeType(G4_Type type) const
958958
{
959-
if (builder.hasPartialInt64Support())
959+
if (builder.hasInt64Add())
960960
{
961961
return type == Type_DF;
962962
}
@@ -970,7 +970,7 @@ bool G4_INST::isIntegerPipeType(G4_Type type) const
970970
return true;
971971
}
972972

973-
if (builder.hasPartialInt64Support())
973+
if (builder.hasInt64Add())
974974
{
975975
return type == Type_UQ || type == Type_Q;
976976
}
@@ -1023,7 +1023,7 @@ bool G4_INST::isLongPipeInstructionXe() const
10231023
return true;
10241024
}
10251025

1026-
if (!builder.hasPartialInt64Support())
1026+
if (!builder.hasInt64Add())
10271027
{
10281028
for (int i = 0; i < G4_MAX_SRCS; i++)
10291029
{
@@ -1142,7 +1142,7 @@ SB_INST_PIPE G4_INST::getDataTypePipeXe(G4_Type type)
11421142

11431143
case Type_Q:
11441144
case Type_UQ:
1145-
if (builder.hasPartialInt64Support())
1145+
if (builder.hasInt64Add())
11461146
{
11471147
return PIPE_INT;
11481148
}

visa/HWCaps.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ SPDX-License-Identifier: MIT
822822
{
823823
return false;
824824
}
825-
bool hasPartialInt64Support() const
825+
bool hasInt64Add() const
826826
{
827827
return false;
828828
}

visa/Option.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ static std::string makePlatformsString()
6161
bool Options::parseOptions(int argc, const char* argv[])
6262
{
6363
int startPos = 0;
64-
assert(! argToOption.empty() && "Must be initialized first!");
64+
assert(!argToOption.empty() && "Must be initialized first!");
6565

6666
#define MAX_ARGC 128
6767
MUST_BE_TRUE(argc < MAX_ARGC, "too many options for vISA builder");

0 commit comments

Comments
 (0)