The function reduceOperationWidth helps to legalize a vector
operation either by narrowing its type or by scalarizing the
operation itself. It currently supports instructions with one result.
This patch, in addition, allows the same for instructions with two
results (for instance, G_SDIVREM).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
This is assuming the two results have the same type, which I guess is fine for now