- May 16, 2019
-
-
Matt Arsenault authored
This makes FP legalization code more convenient. llvm-svn: 360852
-
Matt Arsenault authored
llvm-svn: 360851
-
Matt Arsenault authored
llvm-svn: 360850
-
Matt Arsenault authored
llvm-svn: 360849
-
Matt Morehouse authored
Test is flaky on buildbot at least partially due to the fuzz target not exiting before we read its output. llvm-svn: 360848
-
Rui Ueyama authored
Differential Revision: https://reviews.llvm.org/D61897 llvm-svn: 360846
-
Rui Ueyama authored
llvm-svn: 360845
-
Rui Ueyama authored
Differential Revision: https://reviews.llvm.org/D61896 llvm-svn: 360844
-
Yevgeny Rouban authored
Removed extra parameter from !prof branch_weights metadata of a call instruction according to the spec. Differential Revision: https://reviews.llvm.org/D61932 llvm-svn: 360843
-
Kristina Brooks authored
This reverts "r360833: [Clang][PP] Add the __FILE_NAME__ builtin macro." The tests are failing on Windows bots, reverting the patchset until I can work out why. llvm-svn: 360842
-
Rui Ueyama authored
Previously, we handled common symbols as a kind of Defined symbol, but what we were doing for common symbols is pretty different from regular defined symbols. Common symbol and defined symbol are probably as different as shared symbol and defined symbols are different. This patch introduces CommonSymbol to represent common symbols. After symbols are resolved, they are converted to Defined symbols residing in a .bss section. Differential Revision: https://reviews.llvm.org/D61895 llvm-svn: 360841
-
Matt Morehouse authored
llvm-svn: 360840
-
Kristina Brooks authored
Attempt to fix Windows buildbots due to differences in path handling (caused by r360833). llvm-svn: 360839
-
Rui Ueyama authored
SymbolTable's add-family functions have lots of parameters because when they have to create a new symbol, they forward given arguments to Symbol's constructors. Therefore, the functions take at least as many arguments as their corresponding constructors. This patch simplifies the add-family functions. Now, the functions take a symbol instead of arguments to construct a symbol. If there's no existing symbol, a given symbol is memcpy'ed to the symbol table. Otherwise, the functions attempt to merge the existing and a given new symbol. I also eliminated `CanOmitFromDynSym` parameter, so that the functions take really one argument. Symbol classes are trivially constructible, so looks like constructing them to pass to add-family functions is as cheap as passing a lot of arguments to the functions. A quick benchmark showed that this patch seems performance-neutral. This is a preparation for http://lists.llvm.org/pipermail/llvm-dev/2019-April/131902.html Differential Revision: https://reviews.llvm.org/D61855 llvm-svn: 360838
-
Richard Smith authored
llvm-svn: 360837
-
Matt Morehouse authored
llvm-svn: 360836
-
Matt Morehouse authored
pkill reads the process name as a pattern, not a raw name. This means that if the process name contains + or other regex characters, pkill fails. llvm-svn: 360835
-
Eric Christopher authored
llvm-svn: 360834
-
Kristina Brooks authored
This patch adds the `__FILE_NAME__` macro that expands to the last component of the path, similar to `__FILE__` except with a guarantee that only the last path component (without the separator) will be rendered. I intend to follow through with discussion of this with WG14 as a potential inclusion in the C standard or failing that, try to discuss this with GCC developers since this extension is desired by GCC and Clang users/developers alike. Differential Revision: https://reviews.llvm.org/D61756 llvm-svn: 360833
-
Sam Clegg authored
llvm-svn: 360832
-
Lang Hames authored
Modifies the DenseMapInfo<SymbolStringPtr>::getHashValue method to take its argument by const-ref rather than by value (to avoid unnecessary ref-counting operations) and to defer to DenseMapInfo<void*> for the hash value computation (since SymbolStringPtrs are just pointers under the hood). llvm-svn: 360831
-
Lang Hames authored
Fixes a think-o. No test case: The nlist and nlist64 data structures happen to line up for this field, so there's no way to construct a failing test case. llvm-svn: 360830
-
Vitaly Buka authored
llvm-svn: 360829
-
Richard Smith authored
(and less wrong). It's not correct to assume that X<something, Type> is always a template-id; there are a few cases where the comma takes us into a non-expression syntactic context in which 'Type' might be permissible. Stop doing that. This slightly regresses our error recovery on the cases where the construct is intended to be a template-id. We typically do still manage to diagnose a missing 'template' keyword, but we realize this too late to properly recover from the error. This fixes a regression introduced by r360308. llvm-svn: 360827
-
Simon Atanasyan authored
When MIPS 32-bit compiler-rt is building on 32-bit host or using 32-bit `DLLVM_HOST_TRIPLE` the `_LARGEFILE_SOURCE` and the `_FILE_OFFSET_BITS=64` macros defined by statements from the `HandleLLVMOptions.cmake`. In case of building 32-bit libraries on 64-bit host using default host triple these macros are not defined. As a result assertions check a consistency between the `struct_kernel_stat_sz` constant and the `struct_kernel_stat_sz` start to fail. To resolve this problem and enable building both 32/64-bit versions of MIPS compiler-rt libraries on 64-bit host at once always explicitly define the `_LARGEFILE_SOURCE` and the `_FILE_OFFSET_BITS=64` macros for MIPS 32-bit. llvm-svn: 360825
-
Matt Morehouse authored
Improves debuggability when the fuzz target crashes. llvm-svn: 360824
-
Craig Topper authored
[X86] Delay creating index register negations during address matching until after we know for sure the match will succeed If we're trying to match an LEA, its possible the LEA match will be deemed unprofitable. In which case the negation we created in matchAddress would be left dangling in the SelectionDAG. This could artificially increase use counts for other nodes in the DAG. Though I don't have an example of that. But it just seems like bad form to have dangling nodes in isel. Differential Revision: https://reviews.llvm.org/D61047 llvm-svn: 360823
-
Adrian Prantl authored
llvm-svn: 360822
-
Adrian Prantl authored
This returns the look & feel of the Sphinx-generated LLDB website to the original pre-Sphinx layout. Differential Revision: https://reviews.llvm.org/D61913 llvm-svn: 360819
-
Reid Kleckner authored
Before this change, they were erroneously constructed with the EH_LABEL SDNode opcode, which caused other passes to interact with them in incorrect ways. See the FIXME about fastisel that this addresses in the existing test case. Fixes PR41890 llvm-svn: 360818
-
Simon Atanasyan authored
llvm-svn: 360817
-
Mandeep Singh Grang authored
Summary: Otherwise, we emit directives for CFI without any actual CFI opcodes to go with them, which causes tools to malfunction. The technique is similar to what the x86 backend already does. Fixes https://bugs.llvm.org/show_bug.cgi?id=40876 Patch by: froydnj (Nathan Froyd) Reviewers: mstorsjo, eli.friedman, rnk, mgrang, ssijaric Reviewed By: rnk Subscribers: javed.absar, kristof.beyls, llvm-commits, dmajor Tags: #llvm Differential Revision: https://reviews.llvm.org/D61960 llvm-svn: 360816
-
Craig Topper authored
[X86] Strengthen type constraints on some specialized X86 ISD opcodes that don't have any flexibility. NFC These particular instructions only operate on 128-bit vectors and have no wider equivalents. And the element size is always known. One could argue that MOVSS/MOVSD could be merged, but that's probably disruptive to code in X86ISelLowering and probably low value. llvm-svn: 360815
-
Roman Lebedev authored
The ashr variant may see relaxation in https://reviews.llvm.org/D61938 llvm-svn: 360814
-
Reid Kleckner authored
Implement dumping via llvm-pdbutil and llvm-readobj. llvm-svn: 360813
-
Cameron McInally authored
Somehow submitted this patch twice. llvm-svn: 360812
-
David Bolvansky authored
Reviewers: MyDeveloperDay, RKSimon Reviewed By: MyDeveloperDay Subscribers: RKSimon, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D61281 llvm-svn: 360810
-
Gheorghe-Teodor Bercea authored
Summary: This is a fix for the reported bug: [[ https://bugs.llvm.org/show_bug.cgi?id=41861 | 41861 ]] abs functions need to be moved under the c++ macro to avoid conflicts with included headers. Reviewers: tra, jdoerfert, hfinkel, ABataev, caomhin Reviewed By: jdoerfert Subscribers: guansong, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D61959 llvm-svn: 360809
-
Cameron McInally authored
llvm-svn: 360808
-
Cameron McInally authored
llvm-svn: 360807
-