[PATCH] D67679: [SLC] Convert some strndup calls to strdup calls

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 17 15:06:40 PDT 2019


xbolva00 marked an inline comment as done.
xbolva00 added inline comments.


================
Comment at: lib/Transforms/InstCombine/InstCombineCalls.cpp:4226
   if (isAllocLikeFn(&Call, &TLI))
-    return visitAllocSite(Call);
+    if (Instruction *I = visitAllocSite(Call))
+      return I;
----------------
sight, this breaks things (eg. zstd build)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67679/new/

https://reviews.llvm.org/D67679





More information about the llvm-commits mailing list