summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add the PPC64 popcntd instructionHal Finkel2013-03-287-9/+64
| | | | | | | PPC ISA 2.06 (P7, A2, etc.) has a popcntd instruction. Add this instruction and tell TTI about it so that popcount-loop recognition will know about it. llvm-svn: 178233
* [Mips] Handle pseudo-target flags '-EL' and '-EB' and properly adjustSimon Atanasyan2013-03-283-0/+48
| | | | | | toolchain flags for MIPS targets. llvm-svn: 178232
* [tsan] a test checking that memset/memcpy/memmove are not inlined in tsan modeKostya Serebryany2013-03-281-8/+36
| | | | llvm-svn: 178231
* [tsan] make sure memset/memcpy/memmove are not inlined in tsan modeKostya Serebryany2013-03-282-0/+85
| | | | llvm-svn: 178230
* Fix unmatching ASan runtime flag for init-order checking exposed by r178158. ↵Alexey Samsonov2013-03-282-1/+2
| | | | | | Add a test for r178158. llvm-svn: 178229
* [tsan] don't use -fno-builtin for tests; add a test for a false negative bug ↵Kostya Serebryany2013-03-283-2/+28
| | | | | | (inlined memcpy is not instrumented) llvm-svn: 178228
* Add support for gcc-compatible -mmfcrf -mno-mfcrf PPC optionsHal Finkel2013-03-284-5/+19
| | | | | | | | gcc provides -mmfcrf and -mno-mfcrf for controlling what we call the mfocrf target feature. Also, PPC is now making use of the static function AddTargetFeature used by the Mips Driver code. llvm-svn: 178227
* Define __SIZE_MAX__ preprocessor macro.Evgeniy Stepanov2013-03-282-0/+22
| | | | llvm-svn: 178226
* Revert "modularize - Fixed poor array usage."Michael Gottesman2013-03-281-6/+12
| | | | | | This has broken buildbots for a few hours. llvm-svn: 178223
* Revert "Updated ELF relocation test for .eh_frame section"Michael Gottesman2013-03-282-83/+4
| | | | | | | | This reverts commit c8d65364223a04b179958a50a4bf0f89b21dd7d2. This broke a bunch of the buildbots. llvm-svn: 178222
* Disable JIT/MCJIT tests in unittests/ExecutionEngine for the targets that ↵Jyotsna Verma2013-03-282-3/+10
| | | | | | don't support JIT. llvm-svn: 178221
* Cleanup PPC CR-spill kill flags and 32- vs. 64-bit instructionsHal Finkel2013-03-284-12/+420
| | | | | | | | There were a few places where kill flags were not being set correctly, and where 32-bit instruction variants were being used with 64-bit registers. After r178180, this code was being triggered causing llc to assert. llvm-svn: 178220
* Fix typo in PPCInstr64BitHal Finkel2013-03-281-1/+1
| | | | llvm-svn: 178219
* For -Wignored-qualifiers, don't warn on qualifiers which we acquire via aRichard Smith2013-03-283-7/+12
| | | | | | | typedef. Also don't warn on the _Atomic type specifier, just on the _Atomic type qualifier. llvm-svn: 178218
* Teach -Wigored-qualifiers about exotic flavors of declarator and the _Atomic ↵Richard Smith2013-03-282-77/+135
| | | | | | type qualifier. llvm-svn: 178217
* modularize - Updated futures comment.John Thompson2013-03-281-5/+3
| | | | llvm-svn: 178216
* Revert "Adding DIImportedModules to DIScopes."David Blaikie2013-03-2899-1473/+1354
| | | | | | | | | This reverts commit 342d92c7a0adeabc9ab00f3f0d88d739fe7da4c7. Turns out we're going with a different schema design to represent DW_TAG_imported_modules so we won't need this extra field. llvm-svn: 178215
* modularize - Fixed poor array usage.John Thompson2013-03-281-12/+6
| | | | llvm-svn: 178214
* Revert "Update debug info test for schema change made to LLVM."David Blaikie2013-03-281-3/+3
| | | | | | | | | This reverts commit 5035c483b7fcbf0fa2a7afba24fa35a10995d195. This schema change wasn't necessary after all. I'm going ith a different solution that will hopefully use space more conservatively. llvm-svn: 178213
* Fix a default on covered switch found by -Wcovered-switch-defaultDavid Blaikie2013-03-281-2/+1
| | | | | | Introduced in r178207 llvm-svn: 178212
* Remove outdated FIXME.Richard Smith2013-03-281-1/+0
| | | | llvm-svn: 178211
* Support C11 _Atomic type qualifier. This is more-or-less just syntactic ↵Richard Smith2013-03-2813-66/+265
| | | | | | sugar for the _Atomic type specifier. llvm-svn: 178210
* Debugserver fix for launching iOS apps who are named "com.apple.something"Jason Molenda2013-03-281-2/+16
| | | | | | | | - the ".app" would be treated as the app bundle final characters and the SpringBoard launch would fail. <rdar://problem/13258935> llvm-svn: 178209
* Check if Type is a vector before calling function Type::getVectorNumElements.Akira Hatanaka2013-03-282-3/+19
| | | | llvm-svn: 178208
* modularize - revised to group duplicate symbols together in the error output.John Thompson2013-03-283-27/+66
| | | | llvm-svn: 178207
* <rdar://problem/13412986>Enrico Granata2013-03-281-0/+3
| | | | | | | Holding the Python lock while we call the Python C API to post-process objects returned from the OS plugins This should avoid issues where some Python objects get invalidated while we are in the middle of processing them and we end up with an invalid Python state and a crash llvm-svn: 178206
* Protect against the case where the current inlined depth is wrong, and leads ↵Jim Ingham2013-03-282-30/+58
| | | | | | | | | | us to think we can't even get the frame at index 0. We should ALWAYS be able to get that. <rdar://problem/13497571> llvm-svn: 178205
* Use the error from ValidatePlan.Jim Ingham2013-03-281-1/+1
| | | | llvm-svn: 178204
* The other half of the checkin to produce better error messages when the ↵Jim Ingham2013-03-281-0/+1
| | | | | | ThreadPlanCallFunction isn't valid. llvm-svn: 178203
* RunThreadPlan should make sure the plan passed in is valid before running it.Jim Ingham2013-03-281-1/+7
| | | | | | <rdar://problem/13485541> llvm-svn: 178202
* Return a useful error message from ValidatePlan if the expression can't be ↵Jim Ingham2013-03-281-7/+23
| | | | | | made for some reason. llvm-svn: 178201
* Fold together the two implementations of 6.7.3p2 in SemaType. Fix two bugs, ↵Richard Smith2013-03-284-57/+33
| | | | | | | | | each of which was only present in one version: * Give the right diagnostic for 'restrict' applied to a non-pointer, non-reference type. * Don't reject 'restrict' applied indirectly to an Objective-C object pointer type (eg, through template instantiation). llvm-svn: 178200
* [Parser] Don't code-complete twice.Argyrios Kyrtzidis2013-03-276-9/+15
| | | | | | | | | | | | | | | When we are consuming the current token just to enter a new token stream, we push the current token in the back of the stream so that we get it again. Unfortunately this had the effect where if the current token is a code-completion one, we would code-complete once during consuming it and another time after the stream ended. Fix this by making sure that, in this case, ConsumeAnyToken() will consume a code-completion token without invoking code-completion. rdar://12842503 llvm-svn: 178199
* Don't reject __restrict applied to a dependent type; it might instantiate to ↵Richard Smith2013-03-273-2/+12
| | | | | | a pointer or reference type. llvm-svn: 178198
* Simplify test to use a count for the number of notes expected.Bill Wendling2013-03-271-1/+1
| | | | llvm-svn: 178196
* compiler-rt part of r178194. Remove ubsan test for diagnostic on inf/nan ↵Richard Smith2013-03-271-4/+2
| | | | | | conversion between floating-point types. llvm-svn: 178195
* UBSan: Don't diagnose inf/nan conversions between floating-point types. It's ↵Richard Smith2013-03-272-39/+57
| | | | | | far from clear whether these have undefined behavior, and these checks are helping no-one. Keep the double->float overflow warnings, though, since those are useful in practice, even though it's unclear whether such operations have defined behavior. llvm-svn: 178194
* This patch follows is a follow up to r178171, which uses the register Preston Gurd2013-03-275-5/+431
| | | | | | | | | | | | | | form of call in preference to memory indirect on Atom. In this case, the patch applies the optimization to the code for reloading spilled registers. The patch also includes changes to sibcall.ll and movgs.ll, which were failing on the Atom buildbot after the first patch was applied. This patch by Sriram Murali. llvm-svn: 178193
* This test case was not doing the right thing with libc++ being used and was ↵Enrico Granata2013-03-271-0/+3
| | | | | | generating spurious over-completion warning flags llvm-svn: 178192
* <rdar://problem/13521159>Greg Clayton2013-03-27155-1001/+1008
| | | | | | | | LLDB is crashing when logging is enabled from lldb-perf-clang. This has to do with the global destructor chain as the process and its threads are being torn down. All logging channels now make one and only one instance that is kept in a global pointer which is never freed. This guarantees that logging can correctly continue as the process tears itself down. llvm-svn: 178191
* Updated ELF relocation test for .eh_frame sectionJack Carter2013-03-272-4/+83
| | | | | | | | Made sure we were looking a correct section Added Mips32/64 as an extra check Updated llvm-objdump to generate symbolic info for Mips relocations llvm-svn: 178190
* Implementing the notion of externally-acquirable ScriptInterpreter lockEnrico Granata2013-03-275-1/+40
| | | | | | | | | | | | | | With this notion, if parties outside the ScriptInterpreter itself need to acquire a lock on script APIs, they can do so by a pattern like this: { auto lock = interpeter->AcquireInterpreterLock(); // do whatever you need to do... } // lock will automatically be released here This might be useful for classes that use the Python convenience objects (e.g. PythonDictionary) to ensure they keep the underlying interpreter in a safe and controlled condition while they call through the C API functions Of course, the ScriptInterpreter still manages its internal locking correctly when necessary :-) llvm-svn: 178189
* Remove unnecessary attributes from test case.Chad Rosier2013-03-271-81/+79
| | | | llvm-svn: 178188
* Add a front-end test case for r178186.Chad Rosier2013-03-271-0/+8
| | | | llvm-svn: 178187
* [ms-inline asm] Add support of imm displacement before bracketed memoryChad Rosier2013-03-272-15/+72
| | | | | | | | | | | | | | expression. Specifically, this syntax: ImmDisp [ BaseReg + Scale*IndexReg + Disp ] We don't currently support: ImmDisp [ Symbol ] rdar://13518671 llvm-svn: 178186
* Fixes a typo in my last patch.Fariborz Jahanian2013-03-272-2/+2
| | | | llvm-svn: 178184
* Broke out header file list reading into separate function. Moved options to ↵John Thompson2013-03-271-52/+69
| | | | | | front. Removed some trailing spaces. llvm-svn: 178182
* Revert "[lib/Headers] Define NULL as __DARWIN_NULL when on __APPLE__."Argyrios Kyrtzidis2013-03-271-3/+1
| | | | | | | | | Per feedback by Doug, we should avoid platform-specific implementations in lib/Headers as much as possible. This reverts commit r178110. llvm-svn: 178181
* Resynchronize isLoadFromStackSlot with LoadRegFromStackSlot (and stores) in ↵Hal Finkel2013-03-271-0/+18
| | | | | | | | | | | | | PPCInstrInfo These functions should have the same list of load/store instructions. Now that all load/store forms have been normalized (to single instructions or pseudos) they can be resynchronized. Found by inspection, although hopefully this will improve optimization. I've also added some comments. llvm-svn: 178180
* Objective-C: Issue more precise warning when userFariborz Jahanian2013-03-277-12/+17
| | | | | | | is accessing 'isa' as an object pointer. // rdar://13503456. FixIt to follow in another patch. llvm-svn: 178179
OpenPOWER on IntegriCloud