Skip to content
Commit 0ef6809c authored by Felipe de Azevedo Piovezan's avatar Felipe de Azevedo Piovezan Committed by Adrian Prantl
Browse files

[GlobalISel][nfc] Remove unnecessary cast

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.

Differential Revision: https://reviews.llvm.org/D130719
parent af3ed4a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment