[PATCH] D45316: [mips] Materialize constants for multiplication

Simon Dardis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 13 02:54:39 PDT 2018


sdardis added a comment.

Thanks for the review.



================
Comment at: lib/Target/Mips/MipsSEISelLowering.cpp:715
+
+  SmallVector<APInt, 16> WorkQueue(1, C);
+  unsigned Steps = 0;
----------------
I'll rename this to WorkStack.


================
Comment at: lib/Target/Mips/MipsSEISelLowering.cpp:732
+    APInt Ceil = Val.isNegative() ? APInt(BitWidth, 0) :
+                                APInt(BitWidth, 1) << C.ceilLogBase2();
+
----------------
atanasyan wrote:
> clang-format these lines
Will fix on commit.


Repository:
  rL LLVM

https://reviews.llvm.org/D45316





More information about the llvm-commits mailing list