- Nov 08, 2016
-
-
George Burgess IV authored
llvm-svn: 286203
-
Shoaib Meenai authored
Visual Studio 2013 and up have these functions, and we don't need to support older versions. There are some remaining _LIBCPP_MSVCRT exclusions which are present on Visual Studio 2015 but not 2013. Those will be addressed in a follow-up. Differential Revision: https://reviews.llvm.org/D26377 llvm-svn: 286202
-
George Burgess IV authored
llvm-svn: 286201
-
Davide Italiano authored
llvm-svn: 286194
-
Davide Italiano authored
llvm-svn: 286193
-
Evgeniy Stepanov authored
llvm-svn: 286191
-
Tim Northover authored
llvm-svn: 286190
-
Richard Smith authored
llvm-svn: 286189
-
Evgeniy Stepanov authored
asan_device_setup script is using LD_PRELOAD to inject the ASan runtime library into the Zygote process. This breaks when the Zygote or any of its descendants spawn a process with different bitness due to the fact that the ASan-RT library name includes the target architecture. The fix is to preload the library through a symlink which has the same name in lib and lib64. llvm-svn: 286188
-
Evgeniy Stepanov authored
A fake strtol interceptor should at least make forward progress. llvm-svn: 286187
-
Haojian Wu authored
Summary: This will prevent the check warning the variables which have been implicitly added by compiler, like the following case (in for-range loop): the variable '__end' is copy-constructed from a const reference... Reviewers: alexfh Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D25911 llvm-svn: 286186
-
Tim Northover authored
llvm-svn: 286185
-
Mandeep Singh Grang authored
Summary: Set _install_rpath to CMAKE_INSTALL_RPATH if it is defined, so that eventually INSTALL_RPATH is set to CMAKE_INSTALL_RPATH. The "if(NOT DEFINED CMAKE_INSTALL_RPATH)" was missing a corresponding else clause. This also cleans up the fix made in r285908. Patch by Azharuddin Mohammed Reviewers: john.brawn, sgundapa, beanz Subscribers: chapuni, mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D26289 llvm-svn: 286184
-
Tim Northover authored
Self-referencing PHI nodes need their destination operands to be constrained because nothing else is likely to do so. For now we just pick a register class naively. Patch mostly by Ahmed again. llvm-svn: 286183
-
Justin Bogner authored
We need to apply the same export logic in clang as in llvm for LLVM_DISTRIBUTION_COMPONENTS, or the clang exports will be invalid when we use this config. This makes using distribution components without setting LLVM_TOOLCHAIN_ONLY=On work correctly. llvm-svn: 286181
-
Eli Friedman authored
(No testcase because it's difficult to force an error here.) Differential Revision: https://reviews.llvm.org/D26371 llvm-svn: 286177
-
Enrico Granata authored
Simplify the PrintableRepresentationSpecialCases code; we never used the ePrintableRepresentationSpecialCasesOnly value and with enum classes the names doesn't need to be that long llvm-svn: 286176
-
Chad Rosier authored
llvm-svn: 286174
-
Chad Rosier authored
llvm-svn: 286173
-
Adam Nemet authored
llvm-svn: 286172
-
Stanislav Mekhanoshin authored
Codegen prepare sinks comparisons close to a user is we have only one register for conditions. For AMDGPU we have many SGPRs capable to hold vector conditions. Changed BE to report we have many condition registers. That way IR LICM pass would hoist an invariant comparison out of a loop and codegen prepare will not sink it. With that done a condition is calculated in one block and used in another. Current behavior is to store workitem's condition in a VGPR using v_cndmask and then restore it with yet another v_cmp instruction from that v_cndmask's result. To mitigate the issue a forward propagation of a v_cmp 64 bit result to an user is implemented. Additional side effect of this is that we may consume less VGPRs in a cost of more SGPRs in case if holding of multiple conditions is needed, and that is a clear win in most cases. llvm-svn: 286171
-
- Nov 07, 2016
-
-
Jim Ingham authored
if it returns eExpressionCompleted. Don't try to get the error from the ValueObjectSP if that's not true. I just have a report of this from the field, I don't know how to make it fail yet. <rdar://problem/29113004> llvm-svn: 286170
-
Adam Nemet authored
With this we get a new field in the YAML record if the value being streamed out has a debug location. For examples, please see the changes to the tests. This is then used in opt-viewer to display a link for the callee function in the inlining remarks. Differential Revision: https://reviews.llvm.org/D26366 llvm-svn: 286169
-
Sanjin Sijaric authored
Summary: Some vector loads and stores generated from AArch64 intrinsics alias each other unnecessarily, preventing better scheduling. We just need to transfer memory operands during lowering. Reviewers: mcrosier, t.p.northover, jmolloy Subscribers: aemerson, rengolin, llvm-commits Differential Revision: https://reviews.llvm.org/D26313 llvm-svn: 286168
-
Lang Hames authored
programmer's manual. ExitOnError is often a better alternative to handleErrors for tool code. This patch makes it easier to find the ExitOnError discussion when reading the handleErrors section. Thanks to Peter Collingbourne for the suggestion. llvm-svn: 286167
-
Kuba Brecka authored
llvm-svn: 286166
-
Sanjoy Das authored
Address review by Eli Friedman on rL286147. llvm-svn: 286165
-
Mehdi Amini authored
llvm-svn: 286164
-
Mehdi Amini authored
llvm-svn: 286163
-
Mehdi Amini authored
Summary: This allows to have clang and llvm and the other subprojects side-by-side instead of nested. This can be used with the monorepo or multiple repos. It will help having a single set of sources checked out but allows to have a build directory with llvm and another one with llvm+clang. Basically it abstracts LLVM_EXTERNAL_xxxx_SOURCE_DIR making it more convenient by adopting a convention. Reviewers: bogner, beanz, jlebar Subscribers: mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D26365 llvm-svn: 286162
-
Mehdi Amini authored
Differential Revision: https://reviews.llvm.org/D26364 llvm-svn: 286161
-
Derek Schuff authored
Because we shift the stack pointer by an unknown amount, we need an additional pointer. In the case where we have variable-size objects as well, we can't reuse the frame pointer, thus three pointers. Patch by Jacob Gravelle Differential Revision: https://reviews.llvm.org/D26263 llvm-svn: 286160
-
Dehao Chen authored
This is to prevent SetInsertionPoint from setting debug loc to Latch->getTerminator(). llvm-svn: 286159
-
Davide Italiano authored
llvm-svn: 286158
-
Davide Italiano authored
This is more clear, as we have also GNU hash these days.. llvm-svn: 286157
-
Haojian Wu authored
Summary: r285239 changes the behavior of AST CXXDefaultArgExpr node. Update `modernize-use-nullptr` to handle CXXDefaultArgExpr correctly. Reviewers: alexfh Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D26301 llvm-svn: 286156
-
Felix Berger authored
Summary: Move in complete type test which does not compile into its own test file. Reviewers: alexfh, sbenza, aaron.ballman Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D26369 llvm-svn: 286155
-
Argyrios Kyrtzidis authored
- Infer the right symbol kind. - Provide a templated USR, similar to how we handle class templates. rdar://28980398 llvm-svn: 286154
-
Argyrios Kyrtzidis authored
llvm-svn: 286153
-
John McCall authored
llvm-svn: 286152
-