Avoid a check for valid and a set of redundant asserts. The place
InstructionMapping is constructed asserts all of the default fields
are passed anyway for an invalid mapping, so don't overcomplicate
this.
Details
Details
- Reviewers
qcolombet
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM.
Nitpicks below.
include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h | ||
---|---|---|
214 | We'll need to update this comment as well. |
We'll need to update this comment as well.