[PATCH] D45418: [SimplifyLibcalls] Atoi, strtol replacements

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 16 13:08:16 PDT 2018


xbolva00 added inline comments.


================
Comment at: lib/Transforms/Utils/SimplifyLibCalls.cpp:1723
+    // check base, valid one is between 2 and 32
+    if (Base < 2 || Base > 32)
+      // handle special zero base
----------------
efriedma wrote:
> Where did 32 come from?
:) Ahh


https://reviews.llvm.org/D45418





More information about the llvm-commits mailing list