[llvm] [RISCV][NFC] Avoid iteration and division while selecting SHXADD instructions (PR #158851)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 6 09:09:14 PDT 2025


================
@@ -25,6 +25,22 @@
 
 namespace llvm {
 
+template <typename T> int isShifted359(T Value, int &Shift) {
----------------
topperc wrote:

Add a description comment??

https://github.com/llvm/llvm-project/pull/158851


More information about the llvm-commits mailing list