[PATCH] D38130: [mips] Improve genConstMult() so it works with arbitrary precision

Simon Dardis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 4 10:43:12 PDT 2017


sdardis accepted this revision.
sdardis added a comment.
This revision is now accepted and ready to land.

LGTM with inline nit addressed.



================
Comment at: test/CodeGen/Mips/const-mult.ll:66
+entry:
+  %mul = mul nsw i128 %a, -170141183460469231731687303715884105725
+  ret i128 %mul
----------------
Add a test case with a large positive constant.


https://reviews.llvm.org/D38130





More information about the llvm-commits mailing list