- Mar 06, 2015
-
-
Zachary Turner authored
Changes call to PrintStackTrace(FILE*) to call PrintStackTrace(raw_ostream&) llvm-svn: 231393
-
Zachary Turner authored
This will be followed by a change on the clang side to update the only user of this function with the new version. Differential Revision: http://reviews.llvm.org/D8074 Reviewed By: Reid Kleckner llvm-svn: 231392
-
Reid Kleckner authored
llvm-svn: 231391
-
Rafael Espindola authored
This removes yet another custom label to mark the start of a function. llvm-svn: 231390
-
David Majnemer authored
We know that the absolute symbol will be less than 2GB and thus will always fit. llvm-svn: 231389
-
Reid Kleckner authored
llvm-svn: 231388
-
Reid Kleckner authored
The first element of STACKFRAME64 is a struct and Clang wants us to put braces around it's initialization. Instead, drop the zero. The result should be the same. llvm-svn: 231387
-
Reid Kleckner authored
Turns out it's pretty straightforward and simplifies the implementation. Reviewers: andrew.w.kaylor Differential Revision: http://reviews.llvm.org/D8051 llvm-svn: 231386
-
Erik Eckstein authored
Revert r231276 (including r231277): Add a lock() function in PassRegistry to speed up multi-thread synchronization. llvm-svn: 231385
-
Andrey Churbanov authored
llvm-svn: 231384
-
Andrey Churbanov authored
llvm-svn: 231383
-
Zachary Turner authored
llvm::sys::PrintBacktrace(FILE*) is supposed to print a backtrace of the current thread given the current PC. This function was unimplemented on Windows, and instead the only time we could print a backtrace was as the result of an exception through LLVMUnhandledExceptionFilter. This patch implements backtracing of self by using RtlCaptureContext to get a CONTEXT for the current thread, and moving the printing and StackWalk64 code to a common method that printing own stack trace and printing stack trace of an exception can use. Differential Revision: http://reviews.llvm.org/D8068 Reviewed by: Reid Kleckner llvm-svn: 231382
-
Andrey Churbanov authored
llvm-svn: 231381
-
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
-
- Mar 05, 2015
-
-
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
-