Skip to content

Commit fbb63e2

Browse files
anmyachevvlad-penkin
authored andcommitted
[NFC] Remove dead code for hex==True branch in getFormatSubstr function (#4656)
Signed-off-by: Anatoly Myachev <[email protected]>
1 parent eefe169 commit fbb63e2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/Conversion/TritonGPUToLLVM/PrintOpToLLVM.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,6 @@ struct PrintOpConversion : public ConvertOpToLLVMPattern<triton::PrintOp> {
196196
std::string prefix = "%";
197197
if (width.has_value()) {
198198
prefix += std::to_string(*width);
199-
} else if (hex) {
200-
prefix += "0";
201-
prefix += std::to_string(type.getIntOrFloatBitWidth() / 4);
202199
}
203200

204201
if (type.isBF16() || type.isF16() || type.isF32() || type.isF64()) {

0 commit comments

Comments
 (0)