[PATCH] D75815: [InstCombine] Simplify calls with "returned" attribute

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 19 15:22:33 PDT 2020


nikic updated this revision to Diff 251486.
nikic retitled this revision from "[InstSimplify] Simplify calls with "returned" attribute" to "[InstCombine] Simplify calls with "returned" attribute".
nikic added a comment.

Perform the transform in InstCombine instead, to avoid issue with call graph updates during inlining.


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

https://reviews.llvm.org/D75815

Files:
  lib/Transforms/InstCombine/InstCombineCalls.cpp
  test/Transforms/InstCombine/align-attr.ll
  test/Transforms/InstCombine/call-returned.ll
  test/Transforms/InstCombine/expensive-combines.ll
  test/Transforms/InstCombine/fortify-folding.ll
  test/Transforms/InstCombine/strcpy_chk-1.ll
  test/Transforms/InstCombine/strncpy_chk-1.ll
  test/Transforms/InstCombine/unused-nonnull.ll
  test/Transforms/InstSimplify/call.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75815.251486.patch
Type: text/x-patch
Size: 6926 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200319/6467c944/attachment.bin>


More information about the llvm-commits mailing list