[PATCH] D38106: TargetLibraryInfo: Stop guessing the wchar_t size

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 20 15:59:39 PDT 2017


MatzeB updated this revision to Diff 116105.
MatzeB added a comment.

Add a unittest to ensure we are indeed not guessing the wchar_t size.


Repository:
  rL LLVM

https://reviews.llvm.org/D38106

Files:
  include/llvm/Analysis/TargetLibraryInfo.h
  lib/Analysis/TargetLibraryInfo.cpp
  lib/Transforms/Utils/SimplifyLibCalls.cpp
  test/Transforms/InstCombine/wcslen-1.ll
  test/Transforms/InstCombine/wcslen-2.ll
  test/Transforms/InstCombine/wcslen-4.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38106.116105.patch
Type: text/x-patch
Size: 4302 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170920/ff4c92b9/attachment.bin>


More information about the llvm-commits mailing list