[PATCH] D135262: [SimplifyLibCalls] Pre-commit test case showing bug with wide char support

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 5 06:09:09 PDT 2022


nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.

LG, though I would personally add this to one of the existing wcslen tests.



================
Comment at: llvm/test/Transforms/InstCombine/wcslen-7.ll:15
+; FIXME: This fold is faulty, result should be 7 not 1.
+define dso_local i64 @fold_wcslen_1() {
+; CHECK-LABEL: @fold_wcslen_1(
----------------
Drop dso_local


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135262



More information about the llvm-commits mailing list