- Mar 05, 2015
-
-
Simon Pilgrim authored
Currently shuffles may only be combined if they are of the same type, despite the fact that bitcasts are often introduced in between shuffle nodes (e.g. x86 shuffle type widening). This patch allows a single input shuffle to peek through bitcasts and if the input is another shuffle will merge them, shuffling using the smallest sized type, and re-applying the bitcasts at the inputs and output instead. Dropped old ShuffleToZext test - this patch removes the use of the zext and vector-zext.ll covers these anyhow. Differential Revision: http://reviews.llvm.org/D7939 llvm-svn: 231380
-
Duncan P. N. Exon Smith authored
llvm-svn: 231379
-
Kit Barton authored
While reviewing the changes to Clang to add builtin support for the vsld, vsrd, and vsrad instructions, it was pointed out that the builtins are generating the LLVM opcodes (shl, lshr, and ashr) not calls to the intrinsics. This patch changes the implementation of the vsld, vsrd, and vsrad instructions from from intrinsics to VXForm_1 instructions and makes them legal with P8 Altivec. It also removes the definition of the int_ppc_altivec_vsld, int_ppc_altivec_vsrd, and int_ppc_altivec_vsrad intrinsics. llvm-svn: 231378
-
Marshall Clow authored
Rework reverse_iterator::operator[] so as not to use the base iterators operator [], which can cause constness problems. Fixes PR17883 llvm-svn: 231375
-
Igor Laevsky authored
llvm-svn: 231374
-
Tom Stellard authored
We need to reinterpret float/double types as uint/ulong in order to perform the bitwise operations. This has been tested with piglit, OpenCV, and the ocl conformance tests. v2: - Use vector operations rather than splitting vectors into scalar components. Reviewed-by:
Aaron Watry <awatry@gmail.com> llvm-svn: 231373
-
Elena Demikhovsky authored
Added lowering for ISD::CONCAT_VECTORS and ISD::INSERT_SUBVECTOR for i1 vectors, it is needed to pass all masked_memop.ll tests for SKX. llvm-svn: 231371
-
Alexander Kornienko authored
llvm-svn: 231370
-
Alexander Kornienko authored
Summary: Replace unrecognized namespace ending comments. This will help in particular when a namespace ending comment is mistyped or doesn't fit the regexp for other reason, e.g.: namespace a { namespace b { namespace { } // anoynmous namespace } // b } // namesapce a Reviewers: djasper Reviewed By: djasper Subscribers: curdeius, cfe-commits Differential Revision: http://reviews.llvm.org/D8078 llvm-svn: 231369
-
Frederic Riss authored
llvm-svn: 231368
-
Dmitry Vyukov authored
Long story short: stop-the-world briefly resets SIGSEGV handler to SIG_DFL. This breaks programs that handle and continue after SIGSEGV (namely JVM). See the test and comments for details. This is reincarnation of reverted r229678 (http://reviews.llvm.org/D7722). Changed: - execute TracerThreadDieCallback only on tracer thread - reset global data in TracerThreadSignalHandler/TracerThreadDieCallback - handle EINTR from waitpid Add 3 new test: - SIGSEGV during leak checking - StopTheWorld operation during signal storm from an external process - StopTheWorld operation when the program generates and handles SIGSEGVs http://reviews.llvm.org/D8032 llvm-svn: 231367
-
Igor Laevsky authored
Teach lowering to correctly handle invoke statepoint and gc results tied to them. Note that we still can not lower gc.relocates for invoke statepoints. Also it extracts getCopyFromRegs helper function in SelectionDAGBuilder as we need to be able to customize type of the register exported from basic block during lowering of the gc.result. llvm-svn: 231366
-
Alexander Kornienko authored
http://reviews.llvm.org/D8071 Patch by Alexey Sokolov! llvm-svn: 231365
-
Alexander Kornienko authored
http://reviews.llvm.org/D7994 Patch by Richard Thomson! llvm-svn: 231364
-
Toma Tabacu authored
Added a REQUIRES for the Mips target. Also, switched to using plain CHECKs, at the suggestion of Eric Christopher. llvm-svn: 231363
-
Tobias Grosser authored
llvm-svn: 231362
-
Kuba Brecka authored
Reviewed at http://reviews.llvm.org/D8049 llvm-svn: 231361
-
Arnaud A. de Grandmaison authored
Build time (user time) for building llvm+clang+lldb in release mode: - default allocator: 9086 seconds - with PBQP: 9126 seconds - with PBQP + local bit matrix cache: 9097 seconds llvm-svn: 231360
-
Michael Kuperstein authored
isNormalFp and isFiniteNonZeroFp should not assume vector operands can not be constant expressions. Patch by Pawel Jurek <pawel.jurek@intel.com> Differential Revision: http://reviews.llvm.org/D8053 llvm-svn: 231359
-
Craig Topper authored
Revert "[TableGen] Implement at least some support for multiple explicit results in an instruction pattern. No functional change to existing patterns." This is failing on several build bots. llvm-svn: 231358
-
Craig Topper authored
[TableGen] Implement at least some support for multiple explicit results in an instruction pattern. No functional change to existing patterns. This should help with the AVX512 masked gather changes Elena is working on. This patch is derived from some of the changes Elena made to tablegen, but modified by me to support arbitrary number of results. llvm-svn: 231357
-
Craig Topper authored
[TableGen] Add support constraining a vector type in a pattern to have a specific element type and for constraining a vector type to have the same number of elements as another vector type. This is useful for AVX512 mask operations so we relate the mask type to the type of the other arguments. llvm-svn: 231356
-
Tobias Grosser authored
llvm-svn: 231355
-
Craig Topper authored
llvm-svn: 231354
-
Frederic Riss authored
Pointed out by Paul Robinson. llvm-svn: 231353
-
Philip Reames authored
These came from my own experience and may not apply equally to all use cases. Any alternate perspective anyone has should be used to refine these. As always, grammar and spelling adjustments are more than welcome. Please just directly commit a fix if you see something problematic. llvm-svn: 231352
-
Frederic Riss authored
This reverts commit r231350. It turns out MSVC doesn't generate implicit move constructors and also doesn't accept to default them... See for example http://lab.llvm.org:8011/builders/lldb-x86-windows-msvc/builds/2786 llvm-svn: 231351
-
Frederic Riss authored
llvm-svn: 231350
-
Philip Reames authored
llvm-svn: 231349
-
Hans Wennborg authored
See PR22799. llvm-svn: 231348
-
Chandler Carruth authored
already been added and the inconsistency made choosing names and changing code more annoying. Plus, wow are they better for this code! llvm-svn: 231347
-
Argyrios Kyrtzidis authored
llvm-svn: 231346
-
Rui Ueyama authored
This hook is called from one of the hottest loops in LLD and does nothing. llvm-svn: 231345
-
Nick Lewycky authored
- GCC doesn't support #pragma mark, only Apple GCC and clang. Wrap the pragma mark's in #if 0 to make gcc ignore them but xcode still see them. - Wrap a bunch of "#pragma clang" lines in #ifdef __clang__. - Pacify gcc's -Wparenthesis in a case where it's quite reasonable. llvm-svn: 231344
-
Kostya Serebryany authored
llvm-svn: 231343
-
Jason Molenda authored
operator in addition to the vendor-extension DW_OP_GNU_push_tls_address. clang on PS4 and Darwin will be emitting the standard opcode as of r231286 via http://reviews.llvm.org/D8018 Behavior of this standard opcode is the same as DW_OP_GNU_push_tls_address. <rdar://problem/20043195> llvm-svn: 231342
-
Chandler Carruth authored
result reasonable. This code predated clang-format and so there was a reasonable amount of crufty formatting that had accumulated. This should ensure that neither myself nor others end up with formatting-only changes sneaking into other fixes. llvm-svn: 231341
-
Chandler Carruth authored
gone, update this code to reflect that. llvm-svn: 231340
-
Hans Wennborg authored
Patch by Michael Edwards! llvm-svn: 231339
-
Rafael Espindola authored
llvm-svn: 231338
-