[PATCH] D74079: [SimplifyLibCalls] Simplify __strlen_chk
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 5 12:46:15 PST 2020
jdoerfert added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp:3099
+ replaceAllUsesWith(CI, SimplifiedCI);
+
// Use an IR Builder from SimplifiedCI if available instead of CI
----------------
I don't understand this change. Why is this necessary, e.g., why is `__strlen_chk` different from functions we optimize already?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74079/new/
https://reviews.llvm.org/D74079
More information about the llvm-commits
mailing list