[PATCH] D88328: [InferAttrs] Improve DSE for libcalls (partial fix for PR47644)

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 27 10:23:31 PDT 2020


jdoerfert added a comment.

Needs a rebase.



================
Comment at: llvm/test/Transforms/PhaseOrdering/dse-libcalls.ll:13
+; OLDPM-LABEL: @dse_strcpy(
+; OLDPM-NEXT:    ret void
+;
----------------
I'm unsure how this is optimized because I don't see `argmemonly` on the `strcpy`. Did I miss it? If not, what is the justification here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88328



More information about the llvm-commits mailing list