[PATCH] D70143: Check result of emitStrLen before passing it to CreateGEP

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 12 16:35:37 PST 2019


efriedma added a comment.

It wouldn't be that hard to add an equivalent flag to opt; just a matter of calling the API on TargetLibraryInfo.  -disable-simplify-libcalls already exists, but I guess that's not quite what you want.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70143





More information about the llvm-commits mailing list