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 0d56799 commit 044ff78Copy full SHA for 044ff78
llvm/utils/TableGen/DXILEmitter.cpp
@@ -172,10 +172,9 @@ DXILOperationDesc::DXILOperationDesc(const Record *R) {
172
// Get the operation class
173
OpClass = R->getValueAsDef("OpClass")->getName();
174
175
- if (!OpClass.str().compare("UnknownOpClass")) {
+ if (OpClass.str() == "UnknownOpClass")
176
PrintFatalError(R, Twine("Unspecified DXIL OpClass for DXIL operation - ") +
177
OpName);
178
- }
179
180
auto IntrinsicSelectRecords = R->getValueAsListOfDefs("intrinsics");
181
if (IntrinsicSelectRecords.size()) {
0 commit comments