- Jan 17, 2017
-
-
Vasileios Kalintiris authored
llvm-svn: 292208
-
Haojian Wu authored
Summary: Also ignore helpers which are defined in macro. Currently clang-move doesn't handle macro well enough, especiall for complex macros. This patch will ignore declarations in macros to make the behavior of clang-move more correct. Reviewers: ioeric Reviewed By: ioeric Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D28774 llvm-svn: 292207
-
Pavel Labath authored
This type is not available on windows. llvm-svn: 292206
-
Matt Arsenault authored
llvm-svn: 292205
-
Alexei Starovoitov authored
Emit error when BPF backend sees a call to a global function or to an external symbol. The kernel verifier only allows calls to predefined helpers from bpf.h which are defined in 'enum bpf_func_id'. Such calls in assembler must look like 'call [1-9]+' where number matches bpf_func_id. Signed-off-by:
Alexei Starovoitov <ast@kernel.org> llvm-svn: 292204
-
Shoaib Meenai authored
This allows us to use bin/llvm-lit to run individual libc++ and libc++abi tests without having to explicitly specify the site config paths, similar to other projects. Differential Revision: https://reviews.llvm.org/D28733 llvm-svn: 292203
-
Tobias Grosser authored
The original test case was added in r292147. Suggested-by:
Michael Kruse <llvm@meinersbur.de> llvm-svn: 292202
-
Craig Topper authored
[AVX-512] Add support for taking a bitcast between a SUBV_BROADCAST and VSELECT and moving it to the input of the SUBV_BROADCAST if it will help with using a masked operation. llvm-svn: 292201
-
Craig Topper authored
[AVX-512] Add test cases showing missed opportunities to fold subvector broadcasts with a mask operation. llvm-svn: 292200
-
Tobias Grosser authored
llvm-svn: 292199
-
Matt Arsenault authored
llvm-svn: 292198
-
Sanjoy Das authored
Summary: Depends on D28740 Reviewers: dberlin, chandlerc, hfinkel, majnemer Subscribers: mcrosier, llvm-commits Differential Revision: https://reviews.llvm.org/D28742 llvm-svn: 292197
-
Matt Arsenault authored
llvm-svn: 292196
-
Matt Arsenault authored
Targets can add these. Initialize them so -print-before/-print-after etc. work. llvm-svn: 292195
-
David Majnemer authored
Using the canonical type instead of the equivalent type can result in insufficient template instantiations. This fixes PR31656. Differential Revision: https://reviews.llvm.org/D28788 llvm-svn: 292194
-
Lang Hames authored
negotiateFunction. These cases were accidentally left out of r292055, resulting in a less descriptive ECError being returned on these paths. llvm-svn: 292193
-
Frederic Riss authored
-mglobal-merge is translated to the appropriate backend option in the driver. r277322 changed the AArch64 option name in the backend, but the driver was never updated. llvm-svn: 292192
-
Ahmed Bougacha authored
This reverts commit r292189, as it causes issues on SystemZ bots. llvm-svn: 292191
-
Eric Fiselier authored
In order to allow inlining of previously out-of-line functions without an ABI break libc++ provides legacy definitions in the dylib that old programs can continue to use. Unfortunatly Windows link.exe detects this hack and diagnoses the duplicate definitions. This patch disable the duplicate definitions on Windows by adding an ABI option which disables all "legacy out-of-line symbols" llvm-svn: 292190
-
Ahmed Bougacha authored
SelectionDAGBuilder recognizes libfuncs using some homegrown parameter type-checking. Use TLI instead, removing another heap of redundant code. This isn't strictly NFC, as the SDAG code was too lax. Concretely, this means changes are required to two tests: - calling a non-variadic function via a variadic prototype isn't OK; it just happens to work on x86_64 (but not on, e.g., aarch64). - mempcpy has a size_t parameter; the SDAG code accepts any integer type, which meant using i32 on x86_64 worked. I don't think it's worth supporting either of these (IMO) broken testcases. Instead, fix them to be more correct. llvm-svn: 292189
-
Ahmed Bougacha authored
This is another step towards unifying all LibFunc prototype checks. This work started in r267758 (D19469); add the remaining checks. Also add a unittest that checks each libfunc declared with a known-valid and known-invalid prototype. New libfuncs added in the future are required to have prototype checking in place; the known-valid test will fail otherwise. Differential Revision: https://reviews.llvm.org/D28030 llvm-svn: 292188
-
Ahmed Bougacha authored
llvm-svn: 292187
-
Ahmed Bougacha authored
llvm-svn: 292186
-
Eric Fiselier authored
llvm-svn: 292185
-
Kevin Hu authored
Moves hot functions such as atomic add into the memory header file so that they can be inlined, which brings performance benefits. Patch by Kevin Hu, Aditya Kumar, Sebastian Pop Differential Revision: https://reviews.llvm.org/D24991 llvm-svn: 292184
-
Richard Smith authored
The rules around typechecking deduced template arguments during partial ordering are not clear, and while the prior behavior does not seem to be correct (it doesn't follow the general model of partial ordering where each template parameter is replaced by a non-dependent but unique value), the new behavior is also not clearly right and breaks some existing idioms. The new behavior is retained for dealing with non-type template parameters with 'auto' types, as without it even the most basic uses of that feature don't work. We can revisit this once CWG has come to an agreement on how partial ordering with 'auto' non-type template parameters is supposed to work. llvm-svn: 292183
-
Davide Italiano authored
llvm-svn: 292182
-
Eric Fiselier authored
llvm-svn: 292181
-
Alexei Starovoitov authored
Signed-off-by:
Alexei Starovoitov <ast@kernel.org> llvm-svn: 292180
-
David Majnemer authored
This is valid if C2 fits within the bitwidth of X thanks to two's complement modulo arithmetic. llvm-svn: 292179
-
Matt Arsenault authored
llvm-svn: 292178
-
Eric Fiselier authored
On Windows the header new.h defines "new_handler" in the global namespace. llvm-svn: 292177
-
Matt Arsenault authored
Use the intrinsic instead of emitting the libcall which will be replaced by the intrinsic. llvm-svn: 292176
-
Antonio Maiorano authored
Depends on https://reviews.llvm.org/D28081 Differential Revision: https://reviews.llvm.org/D28315 llvm-svn: 292175
-
Antonio Maiorano authored
Change the contract of GetStyle so that it returns an error when an error occurs (i.e. when it writes to stderr), and only returns the fallback style when it can't find a configuration file. Differential Revision: https://reviews.llvm.org/D28081 llvm-svn: 292174
-
Matt Arsenault authored
This is the unsafe conversion pattern, but not guarded by an unsafe math check. It is also already done in LegalizeDAG. llvm-svn: 292173
-
Matt Arsenault authored
Add missing fabs(fpext) optimzation that worked with the call, and also fixes it creating a second fpext when there were multiple uses. llvm-svn: 292172
-
Davide Italiano authored
They just need to be read/dumped, so no need to set the exec bit on any of them. NFCI, I guess. llvm-svn: 292171
-
Davide Italiano authored
PR: 31641 llvm-svn: 292170
-
- Jan 16, 2017
-
-
Davide Italiano authored
PR: 31641 llvm-svn: 292169
-