- Nov 18, 2014
-
-
Chad Rosier authored
variable. NFC. llvm-svn: 222248
-
Juergen Ributzka authored
This change emits a COPY for a shift-immediate with a "zero" shift value. This fixes PR21594 where we emitted a shift instruction with an incorrect immediate operand. llvm-svn: 222247
-
Greg Clayton authored
llvm-svn: 222246
-
Ed Maste authored
llvm.org/21599 llvm-svn: 222245
-
Jozef Kolek authored
llvm-svn: 222244
-
Jim Ingham authored
Patch from dawn@burble.org to make the --silent-run do what it says, not the opposite of what it says. llvm-svn: 222243
-
Marshall Clow authored
llvm-svn: 222242
-
Philip Reames authored
EarlyCSE is giving up on the current instruction immediately when it recognizes that the current instruction makes a previous store trivially dead. There's no reason to do this. Once the previous store has been deleted, it's perfectly legal to remember the value of the current store (for value forwarding) and the fact the store occurred (it could be dead too!). Reviewed by: Hal Differential Revision: http://reviews.llvm.org/D6301 llvm-svn: 222241
-
Marshall Clow authored
Update status of LWG issues 2340, 2396 and 2401. In all three cases, these are things that we already do. llvm-svn: 222240
-
Manman Ren authored
llvm-svn: 222239
-
Marshall Clow authored
Since Eric poisoned the comma operator on all our test iterators, we no longer need 'comma_iterator'. Remove it from the test suite. llvm-svn: 222238
-
NAKAMURA Takumi authored
llvm-svn: 222237
-
Evgeniy Stepanov authored
It's not failing anymore. Not sure what has changed (the bot was down for a long time), but lets keep it this way. llvm-svn: 222236
-
Jeroen Ketema authored
Including a standard or system header isn't allowed in OpenCL. The type "size_t" needs to be explicitely defined now. v2: Use __SIZE_TYPE__ instead of unsigned int. v3: Define ptrdiff_t and NULL. Patch-by: Jean-Sébastien Pédron Reviewed-by: Jeroen Ketema Reviewed-by: Jan Vesely llvm-svn: 222235
-
Evgeniy Stepanov authored
Make FileCheck an "imported dependency" in standalone build. llvm-svn: 222234
-
NAKAMURA Takumi authored
MSVC Runtime detects "Assertion failed: vector iterator not incrementable" llvm-svn: 222233
-
Evgeniy Stepanov authored
MSanDR is a dynamic instrumentation tool that can instrument the code (prebuilt libraries and such) that could not be instrumented at compile time. This code is unused (to the best of our knowledge) and unmaintained, and starting to bit-rot. llvm-svn: 222232
-
Alexey Bataev authored
According to OpenMP standard, Section 2.12.6, atomic Construct, '#pragma omp atomic read' is allowed to be used only for expression statements of form 'v = x;', where x and v (as applicable) are both l-value expressions with scalar type. Patch adds checks for it. llvm-svn: 222231
-
David Majnemer authored
It is impossible for (x & INT_MAX) == 0 && x == INT_MAX to ever be true. While this sort of reasoning should normally live in InstSimplify, the machinery that derives this result is not trivial to split out. llvm-svn: 222230
-
David Majnemer authored
No functional change intended. llvm-svn: 222229
-
Dmitry Vyukov authored
llvm-svn: 222228
-
Justin Hibbits authored
Summary: This distinguishes between -fpic and -fPIC now, with the additions in LLVM for PIC level support. Test Plan: No regressions Reviewers: echristo, rafael Reviewed By: rafael Subscribers: rnk, emaste, llvm-commits Differential Revision: http://reviews.llvm.org/D5400 llvm-svn: 222227
-
Jason Molenda authored
retrieves the personality routine addr and the LSDA addr. Don't bother checking with the "non-call site" unwind plan - this kind of information is only going to come from the call site unwind plan. llvm-svn: 222226
-
Jason Molenda authored
SBTarget::GetInstructions APIs so it's a little clearer to understand which should be used. <rdar://problem/18787018> llvm-svn: 222225
-
Argyrios Kyrtzidis authored
llvm-svn: 222224
-
Justin Bogner authored
llvm-svn: 222223
-
Justin Bogner authored
- Make CallGraphSCCPass's paragraph about doFinalization refer to runOnSCC instead of runOnFunction, since that's what it's about. - Fix a reference in the FunctionPass paragraph. llvm-svn: 222222
-
Jason Molenda authored
deadlocking when we have the base Unwind class and the HistoryUnwind subclass both trying to acquire the lock on the same thread to clear their respective ivar state. <rdar://problem/18986350> llvm-svn: 222221
-
Frederic Riss authored
Currently this function would return nothing for functions or globals that haven't seen a definition yet. Make it return a forward declaration that will get RAUWed with the definition if one is seen at a later point. The strategy used to implement this is similar to what's done for types: the forward declarations are stored in a vector and post processed upon finilization to perform the required RAUWs. For now the only user of getDeclarationOrDefinition() is EmitUsingDecl(), thus this patch allows to emit correct imported declarations even in the absence of an actual definition of the imported entity. (Another user will be the debug info generation for argument default values that I need to resurect). Differential Revision: http://reviews.llvm.org/D6173 llvm-svn: 222220
-
Frederic Riss authored
NFC. Helpers to be re-used in upcoming commit. llvm-svn: 222219
-
David Majnemer authored
llvm-svn: 222218
-
Frederic Riss authored
Usually global variables are in a retain list and instanciated before any call to constructImportedEntityDIE is made. This isn't true for forward declarations though. The testcase for this change is generated by a clang patched to emit such forward declarations (patch at http://reviews.llvm.org/D6173 which will land soon). The updated testcase tests more than just global variables, it now tests every type of 'using' clause we support. llvm-svn: 222217
-
David Majnemer authored
We claimed that we were printing the Subystem field when we were actually printing the Characteristics field. llvm-svn: 222216
-
Hans Wennborg authored
llvm-svn: 222215
-
Jason Molenda authored
eh_frame data. These two pieces of information are used in the process of exception handler unwinding on SysV ABI systems. This patch reads the data from the eh_frame section (DWARFCallFrameInfo.cpp), allows for it to be saved & read out of a given UnwindPlan (UnwindPlan.h, UnwindPlan.cpp) - as well as printing the information in the UnwindPlan::Dump method - and adds methods to the FuncUnwinders object so that higher levels can query if a given function has an LSDA / personality routine defined. It's only lightly tested, but seems to be working correctly as long as your have this information in eh_frame. Does not address getting this information from compact unwind yet on Darwin systems. <rdar://problem/18742797> llvm-svn: 222214
-
David Majnemer authored
I added a pessimization in r217102 to prevent miscompiles when the incremented induction variable was used in a comparison; it would be poison. Try to use the incremented induction variable more often when we can be sure that the increment won't end in poison. Differential Revision: http://reviews.llvm.org/D6222 llvm-svn: 222213
-
Duncan P. N. Exon Smith authored
Part of PR21532. llvm-svn: 222212
-
Duncan P. N. Exon Smith authored
Having the operands at the back prevents subclasses from safely adding fields. Move them to the front. Instead of replicating the custom `malloc()`, `free()` and `DestroyFlag` logic that was there before, overload `new` and `delete`. I added calls to a new `GenericMDNode::dropAllReferences()` in `LLVMContextImpl::~LLVMContextImpl()`. There's a maze of callbacks happening during teardown, and this resolves them before we enter the destructors. Part of PR21532. llvm-svn: 222211
-
Manman Ren authored
llvm-svn: 222210
-
Michael J. Spencer authored
llvm-svn: 222209
-