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

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 09:32:46 PDT 2023


xbolva00 added inline comments.


================
Comment at: llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp:908
+/// Try to fold strcmp(P, "x") calls.
+static bool foldStcmp(CallInst *CI, IRBuilderBase &B, DominatorTree &DT,
+                      bool &MadeCFGChange) {
----------------
more like expand?


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

https://reviews.llvm.org/D154725



More information about the llvm-commits mailing list