[llvm] [llvm][SimplifyLibCalls] Add option 'AllowMemcmpToBcmpTransform' (PR #82304)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 21 11:37:21 PST 2024


efriedma-quic wrote:

`-fno-builtin-bcmp` should allow disabling the transform already, as far as I know.

If you want to just remove the transform completely, that seems fine to me; it seems like the whole "optimize bcmp" effort sort of failed.  We don't want to keep around optimization flags if we don't think they're actually useful.  We can always resurrect the code later if we need it in some form.

https://github.com/llvm/llvm-project/pull/82304


More information about the llvm-commits mailing list