[PATCH] D38130: [mips] Fix negative constant multiplication when using int128_t
Simon Dardis via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 21 08:40:13 PDT 2017
sdardis requested changes to this revision.
sdardis added a comment.
This revision now requires changes to proceed.
A negative value have broken it for int128_t, but it's broken for large positive values as well. You need to switch genConstMult to accept an APInt and perform arbitrary precision arithmetic in genConstMult as well.
https://reviews.llvm.org/D38130
More information about the llvm-commits
mailing list