[PATCH] D36061: [MSP430] Implement multiplication by a constant

Hal Finkel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 31 06:45:39 PDT 2017


hfinkel added a comment.

> The algorithm is borrowed from the Mips backend.

This looks like target-independent code, and if multiple backends will be using it, please turn it into a target-independent utility, and use that function from both backends, or make it part of the default lowering.


https://reviews.llvm.org/D36061





More information about the llvm-commits mailing list