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

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 8 11:46:33 PDT 2023


xbolva00 added a comment.

efriedma:

>> (instcombine specifically won't work; for the sake of compile-time performance, we've forbidden instcombine from changing the cfg.)

Your patch changes it, indeed. (SLC is part of InstCombine).


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

https://reviews.llvm.org/D154725



More information about the llvm-commits mailing list