Implement "checkFeatures" and emitting hw mode check code.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
llvm/trunk/include/llvm/Target/TargetSubtargetInfo.h | ||
---|---|---|
113–114 ↗ | (On Diff #115275) | Please add a comment to public API. Looking at how getHwMode() is used at the moment I also wonder if you need this to be a virtual function in the base class. Right now it seems to be only ever calls from specific classes, so it may be enough to let tablegen generate it in the subclasses. That way maybe you can also use a more specific type than unsigned. |