[PATCH] Fix APInt long division algorithm

Yaron Keren yaron.keren at gmail.com
Wed Apr 22 10:10:25 PDT 2015


REPOSITORY
  rL LLVM

================
Comment at: unittests/ADT/APIntTest.cpp:417
@@ +416,3 @@
+
+  auto p = a * b + c;
+  auto q = p.udiv(a);
----------------
Please factor this code segment to a helper function, it's the same in divrem_big1, divrem_big2, divrem_big3, divrem_big5 and divrem_big6.

http://reviews.llvm.org/D9196

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list