[llvm] [PartiallyInlineLibCalls] Inline strcmp/strncmp calls like `strncmp(s, "ab")` (PR #89339)
Franklin Zhang via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 18 23:07:59 PDT 2024
FLZ101 wrote:
> PartiallyInlineLibCalls is a codegen pass, and as such probably not where you want to do this.
>
> strcmp expansion support was added to AggressiveInstCombine at one point and then reverted due to a minor issue and apparently never reapplied. If you want to pursue this direction, I think the best first step would be to get [0b779b0](https://github.com/llvm/llvm-project/commit/0b779b0daa4cfb7d99d10232890d98b43ff56ef0) un-reverted.
Thanks for your suggestion.
https://github.com/llvm/llvm-project/pull/89339
More information about the llvm-commits
mailing list