Skip to content

Commit

Permalink
Changes in code.
Browse files Browse the repository at this point in the history
  • Loading branch information
bcheng0127 authored and igcbot committed Sep 19, 2023
1 parent 9eac90b commit 4dafd39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions visa/BuildIRImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1230,13 +1230,13 @@ G4_Declare *IR_Builder::createFlag(uint16_t numFlagElements, const char *name) {
G4_Declare *IR_Builder::createTempScalar(uint16_t numFlagElements,
const char *prefix) {
const char *name = getNameString(20, "%s%d", prefix, num_temp_dcl++);
G4_Declare *dcl = createDeclare(name, G4_SCALAR, numFlagElements, 1, Type_UB);
G4_Declare *dcl = createDeclare(name, G4_SCALAR, numFlagElements, 1, Type_UQ);
return dcl;
}

G4_Declare *IR_Builder::createScalar(uint16_t numFlagElements,
const char *name) {
G4_Declare *dcl = createDeclare(name, G4_SCALAR, numFlagElements, 1, Type_UB);
G4_Declare *dcl = createDeclare(name, G4_SCALAR, numFlagElements, 1, Type_UQ);
return dcl;
}

Expand Down

0 comments on commit 4dafd39

Please sign in to comment.