There is code in the PPC code generator to avoid merging a load with an add to get an update form load if the load consumer is a single scalar to vector conversion, where we could use a partial vector load. This code currently only looks for 64-bit int cases, and it gets confused by token factor uses. Update the code to handle 32-bit, 16-bit, and 8-bit partial vector loads for supporting processors, and only check the register result uses.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM