[llvm] [LoopIdiom] Do not emit wcslen for underaligned wide loads (PR #216080)

Henry Jiang via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 17 09:38:19 PDT 2026


================
@@ -0,0 +1,75 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
----------------
mustartt wrote:

It might be a good idea to add a case where the `wchar_t` load is under aligned, but the indvar is known to be minimum ABI size aligned, to catch the other arm.

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


More information about the llvm-commits mailing list