[PATCH] D154725: [AggressiveInstCombine] Fold strcmp for short string literals

Maksim Kita via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 13 07:22:15 PDT 2023


kitaisreal updated this revision to Diff 540021.
kitaisreal added a comment.

Updated implementation.


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

https://reviews.llvm.org/D154725

Files:
  llvm/include/llvm/Analysis/ValueTracking.h
  llvm/include/llvm/Transforms/AggressiveInstCombine/AggressiveInstCombine.h
  llvm/lib/Analysis/ValueTracking.cpp
  llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
  llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
  llvm/test/Transforms/AggressiveInstCombine/strcmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154725.540021.patch
Type: text/x-patch
Size: 27749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230713/bf34a021/attachment.bin>


More information about the llvm-commits mailing list