[PATCH] D156556: [AggressiveInstCombine] Fold strcmp eq, not eq operator improvements

Maksim Kita via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 28 09:38:34 PDT 2023


kitaisreal created this revision.
kitaisreal added reviewers: nikic, goldstein.w.n.
kitaisreal added projects: All, LLVM.
Herald added subscribers: StephenFan, hiraditya.
kitaisreal requested review of this revision.
Herald added a subscriber: llvm-commits.

Improve codegen during strcmp fold, when it used only with eq or not equal operators.
https://godbolt.org/z/cdTKEvr3j


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D156556

Files:
  llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
  llvm/test/Transforms/AggressiveInstCombine/strcmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156556.545200.patch
Type: text/x-patch
Size: 28736 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230728/b7cdd961/attachment.bin>


More information about the llvm-commits mailing list