From 4dafd39408e85fb68b6b7f64cbbed0d8de4b0d16 Mon Sep 17 00:00:00 2001 From: bcheng0127 Date: Mon, 18 Sep 2023 22:22:42 +0000 Subject: [PATCH] Changes in code. --- visa/BuildIRImpl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/visa/BuildIRImpl.cpp b/visa/BuildIRImpl.cpp index fe4715a18efa..1f92feca44bf 100644 --- a/visa/BuildIRImpl.cpp +++ b/visa/BuildIRImpl.cpp @@ -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; }