The getOperand method already returns a Constant when it is called on
a ConstantExpression, as such the cast is not needed. To prevent a type
mismatch between the different return statements of the lambda, the
lambda return type is explicitly provided.
Details
Details
- Reviewers
aprantl nikic - Commits
- rG0ef6809c4851: [GlobalISel][nfc] Remove unnecessary cast
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo