We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff26862 commit 11bc0bfCopy full SHA for 11bc0bf
llvm/utils/TableGen/VTEmitter.cpp
@@ -50,7 +50,7 @@ std::string VTtoGetLLVMTyString(const Record *VT) {
50
default:
51
llvm_unreachable("Unhandled case");
52
case 16:
53
- FloatTy = OutputVTName == "bf16" ? "BFloatTy" : "HalfTy";
+ FloatTy = (OutputVTName == "bf16") ? "BFloatTy" : "HalfTy";
54
break;
55
case 32:
56
FloatTy = "FloatTy";
@@ -62,7 +62,7 @@ std::string VTtoGetLLVMTyString(const Record *VT) {
62
FloatTy = "X86_FP80Ty";
63
64
case 128:
65
- FloatTy = OutputVTName == "ppcf128" ? "PPC_FP128Ty" : "FP128Ty";
+ FloatTy = (OutputVTName == "ppcf128") ? "PPC_FP128Ty" : "FP128Ty";
66
67
}
68
GetLLVMTyString += (Twine("Type::get") + FloatTy + "(Context)").str();
0 commit comments