Skip to content

Commit 11bc0bf

Browse files
committed
fixup, minor tweak
1 parent ff26862 commit 11bc0bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/utils/TableGen/VTEmitter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ std::string VTtoGetLLVMTyString(const Record *VT) {
5050
default:
5151
llvm_unreachable("Unhandled case");
5252
case 16:
53-
FloatTy = OutputVTName == "bf16" ? "BFloatTy" : "HalfTy";
53+
FloatTy = (OutputVTName == "bf16") ? "BFloatTy" : "HalfTy";
5454
break;
5555
case 32:
5656
FloatTy = "FloatTy";
@@ -62,7 +62,7 @@ std::string VTtoGetLLVMTyString(const Record *VT) {
6262
FloatTy = "X86_FP80Ty";
6363
break;
6464
case 128:
65-
FloatTy = OutputVTName == "ppcf128" ? "PPC_FP128Ty" : "FP128Ty";
65+
FloatTy = (OutputVTName == "ppcf128") ? "PPC_FP128Ty" : "FP128Ty";
6666
break;
6767
}
6868
GetLLVMTyString += (Twine("Type::get") + FloatTy + "(Context)").str();

0 commit comments

Comments
 (0)