- Jan 17, 2017
-
-
Vasileios Kalintiris authored
llvm-svn: 292208
-
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
-
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
-
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
-
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
-
Ahmed Bougacha authored
This reverts commit r292189, as it causes issues on SystemZ bots. llvm-svn: 292191
-
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
-
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
-
Matt Arsenault authored
Use the intrinsic instead of emitting the libcall which will be replaced by the intrinsic. llvm-svn: 292176
-
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
-
Davide Italiano authored
PR: 31641 llvm-svn: 292167
-
David Blaikie authored
llvm-svn: 292166
-
Simon Pilgrim authored
[InstCombine][AVX] Tests showing missed opportunities to pass demanded elts through a permilpd/permilps shuffle mask llvm-svn: 292165
-
Sanjay Patel authored
llvm-svn: 292164
-
David Blaikie authored
llvm-svn: 292163
-
Jan Vesely authored
_RTN versions will be a lot more complicated Differential Revision: https://reviews.llvm.org/D28067 llvm-svn: 292162
-
David Blaikie authored
Here we define the `graph` subcommand which generates a graph from the function call information and uses it to present the call information graphically with additional annotations. Reviewers: dblaikie, dberris Differential Revision: https://reviews.llvm.org/D27243 llvm-svn: 292156
-
David Blaikie authored
Attempt to workaround MSVC build issue where I suspect an enum class constant 0 is considered a possible null pointer I can't reproduce this so far with web compilers, so throwing this at the bots to see if it sticks. llvm-svn: 292155
-
Tony Jiang authored
Generally, the ISEL is expanded into if-then-else sequence, in some cases (like when the destination register is the same with the true or false value register), it may just be expanded into just the if or else sequence. llvm-svn: 292154
-
Sanjay Patel authored
It's not clear what 'First' and 'Second' mean, so use 'Inner' and 'Outer' to match foldShiftedShift() and add comments with formulas, so it's easier to see what's going on. llvm-svn: 292153
-
Sanjay Patel authored
Some existing 'FIXME' tests are still not folded because of splat holes in value tracking. llvm-svn: 292151
-
Sanjay Patel authored
The shift-shift possibilities became easier to see after: https://reviews.llvm.org/rL292145 llvm-svn: 292150
-
David Blaikie authored
llvm-svn: 292149
-
Justin Lebar authored
Fixes: Warning, treated as error: /home/buildbot/llvm-build-dir/llvm-sphinx-docs/llvm/src/docs/NVPTXUsage.rst:333: ERROR: Error in "code-block" directive: maximum 1 argument(s) allowed, 17 supplied. llvm-svn: 292148
-