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 9d2a66f commit c727635Copy full SHA for c727635
llvm/utils/TableGen/Common/CodeGenTarget.cpp
@@ -270,8 +270,8 @@ void CodeGenTarget::ComputeInstrsByEnum() const {
270
const Record &D2 = *Rec2->TheDef;
271
// Sort all pseudo instructions before non-pseudo ones, and sort by name
272
// within.
273
- return std::tuple(!D1.getValueAsBit("isPseudo"), D1.getName()) <
274
- std::tuple(!D2.getValueAsBit("isPseudo"), D2.getName());
+ return std::tuple(!Rec1->isPseudo, D1.getName()) <
+ std::tuple(!Rec2->isPseudo, D2.getName());
275
});
276
277
// Assign an enum value to each instruction according to the sorted order.
0 commit comments