[llvm] [LoopIdiom] Don't introduce `wcslen` calls when `wchar` size is not the default (PR #213629)
Ömer Sinan Ağacan via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 5 01:02:41 PDT 2026
osa1 wrote:
@efriedma-quic
> LibCallSimplifier::optimizeWcslen is very broken if the char width is wrong.
I'm not sure what you mean by "char width is wrong"?
`optimizeWcslen` checks the module's wide char width and optimizes accordingly. I don't see a reason to disable it.
https://github.com/llvm/llvm-project/pull/213629
More information about the llvm-commits
mailing list