Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
utils/TableGen/GlobalISelEmitter.cpp | ||
---|---|---|
294 ↗ | (On Diff #86398) | For more consistency, maybe this class name should end in "Action", i.e. "MutateOpcodeAction"? |
utils/TableGen/GlobalISelEmitter.cpp | ||
---|---|---|
294 ↗ | (On Diff #86398) | I agree. I've updated the patch |
utils/TableGen/GlobalISelEmitter.cpp | ||
---|---|---|
330 ↗ | (On Diff #86403) | The corresponding function addPredicate(Args&&... args) has the same implementation, except for this return statement: return *static_cast<Kind *>(Predicates.back().get()); Any reason why it needs to be different? |
Comment Actions
Fixed a silly inconsistency between addPredicate() and addAction(). The return
value isn't used at the moment so I hadn't noticed I'd used MatchAction instead
of Kind.
utils/TableGen/GlobalISelEmitter.cpp | ||
---|---|---|
330 ↗ | (On Diff #86403) | Thanks for noticing. There's no reason behind it, it's just a silly mistake on my part. I've updated the patch |
utils/TableGen/GlobalISelEmitter.cpp | ||
---|---|---|
330 ↗ | (On Diff #86403) | Thanks, the patch LGTM now. |