- Sep 30, 2017
-
-
Rui Ueyama authored
The result of hash_value(StringRef) depends on sizeof(size_t). That causes lld to create different mergeable table contents on 32-bit machines. This patch is to use xxHash64 so that we get the same hash values on 32-bit machines. llvm-svn: 314603
-
Davide Italiano authored
The result type is unused anyway. llvm-svn: 314602
-
Dehao Chen authored
llvm-svn: 314601
-
Faisal Vali authored
llvm-svn: 314600
-
Simon Pilgrim authored
Remove sign extend in register style pattern if the sign is already extended enough llvm-svn: 314599
-
Craig Topper authored
llvm-svn: 314598
-
Simon Pilgrim authored
We should be using PACKSS/PACKUS more aggressively when we know the state of the upper bits llvm-svn: 314597
-
Michael Zuckerman authored
Change-Id: I7831c9febad8e14278a5bc87584a0053dc837be1 llvm-svn: 314596
-
Faisal Vali authored
llvm-svn: 314595
-
Gadi Haber authored
NFC. Added code gen regression tests for avx512 instructions scheduling called avx512-schedule.ll and avx512-shuffle-schedule.ll. This patch is in preparation of a larger patch of adding all SKX instruction scheduling and therefore the scheduling for the avx512 instructions are still missing. Reviewers: zvi, delena, RKSimon, igorb Differential Revision: https://reviews.llvm.org/D38035 Change-Id: I792762763127a921b9e13684b58af03646536533 llvm-svn: 314594
-
Faisal Vali authored
- MacroArgs already knows the maximum number of arguments that can be supplied to the macro. No need to pass MacroInfo (information about the macro definition) to the call to getPreExpArgument (which by the way might benefit from being called getExpandedArgument() ?) for it to compute the number of arguments. llvm-svn: 314593
-
NAKAMURA Takumi authored
llvm-svn: 314592
-
Rui Ueyama authored
llvm-svn: 314591
-
Rui Ueyama authored
llvm-svn: 314590
-
Daniel Jasper authored
Causes a segfault on a builtbot (and in our internal bootstrapping of Clang). See Eli's response on the commit thread. llvm-svn: 314589
-
Rui Ueyama authored
String merging is one of the most time-consuming functions in lld. This patch parallelize it to speed it up. On my 2-socket 20-core 40-threads Xeon E5-2680 @ 2.8 GHz machine, this patch shorten the clang debug build link time from 7.11s to 5.16s. It's a 27% improvement and actually pretty noticeable. In this test condition, lld is now 4x faster than gold. Differential Revision: https://reviews.llvm.org/D38266 llvm-svn: 314588
-
Sam McCall authored
Summary: There doesn't seem to be any real separation between the current three objects. Feel free to reject this if you find the current style valuable, though. (Mostly I'm just looking around for cleanups to help me understand the code). Reviewers: ilya-biryukov Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D38414 llvm-svn: 314587
-
NAKAMURA Takumi authored
This expects the warning; File clang/test/SemaCXX/ms-iunknown-template-function.cpp Line 19: __declspec attribute 'novtable' is not supported But for targeting *-win32, the warning is not seen. error: 'warning' diagnostics expected but not seen: File clang\test\SemaCXX\ms-iunknown-template-function.cpp Line 19 (directive at clang\test\SemaCXX\ms-iunknown-template-function.cpp:18): __declspec attribute 'novtable' llvm-svn: 314586
-
Xinliang David Li authored
llvm-svn: 314585
-
Craig Topper authored
Implemented by splitting into two v32i8 mulhu/mulhs and concatenating the results. Differential Revision: https://reviews.llvm.org/D38307 llvm-svn: 314584
-
Richard Trieu authored
llvm-svn: 314581
-
George Karpenkov authored
llvm-svn: 314580
-
Xinliang David Li authored
llvm-svn: 314579
-
Marek Sokolowski authored
This is now able to serialize DIALOG and DIALOGEX resources to .res files. It still can't parse dialog-specific CAPTION, FONT, and STYLE optional statement - these will be added in the following patch. A limited set of controls is included. However, more can be easily added by extending SupportedCtls map defined in ResourceScriptStmt.cpp. Differential Revision: https://reviews.llvm.org/D37862 llvm-svn: 314578
-
Adrian Prantl authored
llvm-svn: 314577
-
Adrian Prantl authored
llvm-svn: 314576
-
Adrian Prantl authored
llvm-svn: 314575
-
Adrian Prantl authored
llvm-svn: 314574
-
George Karpenkov authored
Differential Revision: https://reviews.llvm.org/D37596 llvm-svn: 314573
-
George Karpenkov authored
Differential Revision: https://reviews.llvm.org/D38162 llvm-svn: 314572
-
George Karpenkov authored
Differential Revision: https://reviews.llvm.org/D37840 llvm-svn: 314571
-
Richard Smith authored
function-style cast. This fires for cases such as T(x); ... where 'x' was previously declared and T is a type. This construct declares a variable named 'x' rather than the (probably expected) interpretation of a function-style cast of 'x' to T. llvm-svn: 314570
-
Stanislav Mekhanoshin authored
We have a single library build without relaxation options. When inlined library functions remove fast math attributes from the functions they are integrated into. This patch sets relaxation attributes on the functions after linking provided corresponding relaxation options are given. Math instructions inside the inlined functions remain to have no fast flags, but inlining does not prevent fast math transformations of a surrounding caller code anymore. Differential Revision: https://reviews.llvm.org/D38325 llvm-svn: 314568
-
Yaxun Liu authored
Currently expandUnalignedLoad/Store uses place holder pointer info for temporary memory operand in stack, which does not have correct address space. This causes unaligned private double16 load/store to be lowered to flat_load instead of buffer_load for amdgcn target. This fixes failures of OpenCL conformance test basic/vload_private/vstore_private on target amdgcn---amdgizcl. Differential Revision: https://reviews.llvm.org/D35361 llvm-svn: 314566
-
Adrian Prantl authored
llvm-svn: 314564
-
Xinliang David Li authored
llvm-svn: 314563
-
Marek Sokolowski authored
This allows MENU resources to be serialized. MENU resource statement doc: msdn.microsoft.com/en-us/library/windows/desktop/aa381025.aspx POPUP sub-statement doc: msdn.microsoft.com/en-us/library/windows/desktop/aa381030.aspx MENUITEM sub-statement doc: msdn.microsoft.com/en-us/library/windows/desktop/aa381024.aspx MENUHEADER structure: msdn.microsoft.com/en-us/library/windows/desktop/ms648018.aspx (and NORMALMENUITEM, POPUPMENUITEM structs). Thanks for Nico Weber for his original work in this area. Differential Revision: https://reviews.llvm.org/D37828 llvm-svn: 314562
-
Xinliang David Li authored
This patch will eliminate redundant intptr/ptrtoint that pessimizes analyses such as SCEV, AA and will make optimization passes such as auto-vectorization more powerful. Differential revision: http://reviews.llvm.org/D37832 llvm-svn: 314561
-
Alex Shlyapnikov authored
This reverts commit r314517. This commit crashes sanitizer bots, for example: http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/4167 Stack snippet: ... /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/include/llvm/Support/Casting.h:255:0 llvm::TargetTransformInfoImplCRTPBase<llvm::X86TTIImpl>::getGEPCost(llvm::GEPOperator const*, llvm::ArrayRef<llvm::Value const*>) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/include/llvm/Analysis/TargetTransformInfoImpl.h:742:0 llvm::TargetTransformInfoImplCRTPBase<llvm::X86TTIImpl>::getUserCost(llvm::User const*, llvm::ArrayRef<llvm::Value const*>) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/include/llvm/Analysis/TargetTransformInfoImpl.h:782:0 /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/Analysis/TargetTransformInfo.cpp:116:0 /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/include/llvm/ADT/SmallVector.h:116:0 /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/include/llvm/ADT/SmallVector.h:343:0 /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/include/llvm/ADT/SmallVector.h:864:0 /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/include/llvm/Analysis/TargetTransformInfo.h:285:0 ... llvm-svn: 314560
-
- Sep 29, 2017
-
-
Eugene Zelenko authored
[CodeGen] Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes (NFC). llvm-svn: 314559
-