summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [NVPTX] Order global variables in def-use order before emiting them in the ↵Justin Holewinski2012-11-162-3/+87
| | | | | | final assembly llvm-svn: 168198
* Preserve address space of forward-referenced global variables in the LL parserJustin Holewinski2012-11-162-1/+11
| | | | | | | | | | | | Before, the parser would assert on the following code: @a2 = global i8 addrspace(1)* @a @a = addrspace(1) global i8 0 because the type of @a was "i8*" instead of "i8 addrspace(1)*" when parsing the initializer for @a2. llvm-svn: 168197
* Make this easier to understand, as suggested by Chandler.Duncan Sands2012-11-162-2/+12
| | | | llvm-svn: 168196
* Added program header emissionHemant Kulkarni2012-11-161-3/+45
| | | | llvm-svn: 168195
* Remove conditions from 'else if' that were guaranteed by preceding 'if'.Craig Topper2012-11-161-12/+12
| | | | llvm-svn: 168191
* <rdar://problem/12712928>Greg Clayton2012-11-161-1/+0
| | | | | | Removed an assert that was for debug only. llvm-svn: 168190
* ReleaseNotes.html updates reflecting PPC64 Elf Linux efforts and progress.Will Schmidt2012-11-161-0/+37
| | | | llvm-svn: 168189
* InstructionSimplify should be able to simplify A+B==B+A to 'true'Duncan Sands2012-11-162-2/+23
| | | | | | but wasn't due to the same logic bug that caused PR14361. llvm-svn: 168186
* Using const cast to alleviate a warning.Joe Abbey2012-11-161-1/+2
| | | | | | A PR is being filed to address some code issues here. llvm-svn: 168185
* Update RecordingMemoryManager as per change to RuntimeDyld base classDaniel Malea2012-11-162-3/+18
| | | | | | made in upstream llvm (r168114) llvm-svn: 168184
* Factor out the final FADD that's common to multiple code paths in the ↵Craig Topper2012-11-161-45/+30
| | | | | | visitLog* functions. llvm-svn: 168183
* move irrelevant attribution.Chris Lattner2012-11-161-3/+1
| | | | llvm-svn: 168182
* Fix PR14361: wrong simplification of A+B==B+A. You may think that the old logicDuncan Sands2012-11-162-2/+32
| | | | | | | | | replaced by this patch is equivalent to the new logic, but you'd be wrong, and that's exactly where the bug was. There's a similar bug in instsimplify which manifests itself as instsimplify failing to simplify this, rather than doing it wrong, see next commit. llvm-svn: 168181
* Adding new tests to test lli's pseudo-remote feature (-remote-mcjit).Andrew Kaylor2012-11-167-0/+220
| | | | llvm-svn: 168180
* Finally add myself to the credits.Craig Topper2012-11-161-0/+4
| | | | llvm-svn: 168178
* Fix partial-match-bind-behavior with forEachDescendant() matchers.Daniel Jasper2012-11-162-2/+21
| | | | | | | | | | | | | | | | The problem is that a partial match of an (explicit or implicit) allOf matcher binds results, i.e. recordDecl(decl().bind("x"), hasName("A")) can very well bind a record that is not named "A". With this fix, the common cases of stumbling over this bug are fixed by the BoundNodesMap overwriting the results of a partial match. An error can still be created with a weird combination of anyOf and allOf (see inactive test). We need to decide whether this is worth fixing, as the fix will have performance impact. Review: http://llvm-reviews.chandlerc.com/D124 llvm-svn: 168177
* SimplifyCFG: Don't assume non-null ScalarTargetTransformInfo.Hans Wennborg2012-11-161-1/+2
| | | | | | Patch by Pekka Jääskeläinen! llvm-svn: 168176
* [analyzer] SATestBuild.py: fix broken string concatenationJordan Rose2012-11-161-2/+2
| | | | | | | | This has been broken for a while, but the branch was never being taken. (We were trying to do 'str + floatVal'; now we do 'str % intVal' and use the '%d' format.) llvm-svn: 168174
* Work around a layering violation from Target to CodeGen.Benjamin Kramer2012-11-161-1/+1
| | | | | | | Technically this is still a layering violation but it's header-only which makes it less harmful. No functionality change. llvm-svn: 168173
* Make libASTMatchers link its dependencies. libRewriteFrontend depends on ↵Benjamin Kramer2012-11-162-1/+6
| | | | | | | | libRewriteCore. LLVM_USED_LIBS does nothing here. llvm-svn: 168172
* llvm/test/CodeGen/X86/hipe-cc*.ll: Add explicit -mcpu, or they don't expect ↵NAKAMURA Takumi2012-11-162-2/+2
| | | | | | to pass on Atom. llvm-svn: 168171
* ubsan: fix broken test case by using brand new [[@LINE]] FileCheck featureAlexey Samsonov2012-11-161-3/+3
| | | | llvm-svn: 168170
* UBSan: enable CMake build on Darwin. Fix two failing tests and disable the ↵Alexey Samsonov2012-11-166-23/+40
| | | | | | test which produces linker errors on Darwin. llvm-svn: 168169
* UBSan: enable proper linking with UBsan runtime on Darwin. Turn on building ↵Alexey Samsonov2012-11-163-7/+26
| | | | | | ubsan on OS X in 'make' build system. Patch by Jean-Daniel Dupas. llvm-svn: 168168
* UBSan: fix support on Darwin in 'make' build system. Patch by Jean-Daniel Dupas.Alexey Samsonov2012-11-161-2/+2
| | | | llvm-svn: 168167
* Add the Erlang/HiPE calling convention, patch by Yiannis Tsiouris.Duncan Sands2012-11-168-13/+254
| | | | llvm-svn: 168166
* Update credits file regarding SROA work... Also include my other primaryChandler Carruth2012-11-161-0/+2
| | | | | | email address for completeness. llvm-svn: 168165
* Add myself as the code owner for a bunch of stuff.Chandler Carruth2012-11-161-0/+5
| | | | | | | | | | | Notably, I'm reviewing this stuff already, and this makes it clear I'm on the hook for it. I'm relying on Eric Christopher and Michael Spencer to help with Support when there are platform specific issues, but Chris wants a single point of contact, and I'm happy with that. llvm-svn: 168164
* asan: sync with gcc r193553Dmitry Vyukov2012-11-161-0/+14
| | | | llvm-svn: 168151
* [TSan] use explicit ctor for BlockingCallAlexey Samsonov2012-11-161-1/+1
| | | | llvm-svn: 168150
* Add MCJIT test case for running global constructors.Amara Emerson2012-11-161-0/+21
| | | | llvm-svn: 168149
* Add R_ARM_TARGET1 relocation to MCJIT and ensure that the runtime dyld readsAmara Emerson2012-11-162-3/+2
| | | | | | | | | all symbols during object loading, not just global ones. This fixes JIT execution of code using llvm.global_ctors with internal linkage constructors. llvm-svn: 168148
* Constant::IsThreadDependent(): Use dyn_cast<Constant> instead of castHans Wennborg2012-11-162-1/+23
| | | | | | | | | | | It turns out that the operands of a Constant are not always themselves Constant. For example, one of the operands of BlockAddress is BasicBlock, which is not a Constant. This should fix the dragonegg-x86_64-linux-gcc-4.6-test build which broke in r168037. llvm-svn: 168147
* [TSan] use llvm-symbolizer to run tsan testsAlexey Samsonov2012-11-164-3/+27
| | | | llvm-svn: 168146
* Store this Decl* as a Decl* instead of a uintptr_t. No functionality change.Nick Lewycky2012-11-163-24/+22
| | | | llvm-svn: 168145
* [DebugInfo] Generate address ranges for compile units even if .debug_aranges ↵Alexey Samsonov2012-11-163-24/+39
| | | | | | is present: it is often the case that .debug_aranges section contains ranges only for a small subset of compile units. Test cases will be added in separate commits. llvm-svn: 168144
* Factor some common code to reduce compile size.Craig Topper2012-11-161-37/+20
| | | | llvm-svn: 168143
* LoopVectorize: Division reductions generate incorrect code. Remove the part ↵Nadav Rotem2012-11-161-2/+0
| | | | | | | | of the code that deals with divs. Thanks to Paul Redmond for catching this while reviewing the code. llvm-svn: 168142
* Use roundps/pd for llvm.ceil, llvm.trunc, llvm.rint, and llvm.nearbyint of ↵Craig Topper2012-11-163-0/+212
| | | | | | vector types. llvm-svn: 168141
* Change RegisterContextLLDB's unwind logging to report which stack frameJason Molenda2012-11-161-4/+12
| | | | | | | finally was able to restore a register, instead of just reporting the frames that couldn't supply the reg. llvm-svn: 168139
* Fix typo in a comment.Craig Topper2012-11-161-1/+1
| | | | llvm-svn: 168138
* clang/unittests: Fixup corresponding to Doug's r168136.NAKAMURA Takumi2012-11-164-4/+4
| | | | llvm-svn: 168137
* Since CreateTargetInfo is taking ownership of the target options, passDouglas Gregor2012-11-165-26/+26
| | | | | | it as a pointer. llvm-svn: 168136
* Remove unused diagnosticsDouglas Gregor2012-11-161-6/+0
| | | | llvm-svn: 168135
* Revert r168132, "clang/test/lit.cfg: Suppress the feature 'dev-fd-fs' for ↵NAKAMURA Takumi2012-11-161-1/+1
| | | | | | now." I missed Daniel's r168095 by my accident. llvm-svn: 168134
* [libclang] When caching code-completion results, pass the ↵Argyrios Kyrtzidis2012-11-161-4/+5
| | | | | | | | | | | | | | CachedCompletionAllocator to the CodeCompletionTUInfo that is going to be used to get the results. Previously we would use ASTUnit's CodeCompletionTUInfo which has its own allocator that will go away when we reparse. That could result in a use-after-free bug when getting the parent context name from a CodeCompletionString. Addresses rdar://12568377. llvm-svn: 168133
* clang/test/lit.cfg: Suppress the feature 'dev-fd-fs' for now.NAKAMURA Takumi2012-11-161-1/+1
| | | | | | None of my buildhost (centos6 x86-64 and cygwin) is passing. Investigating. llvm-svn: 168132
* [mips] Fix delay slot filler so that instructions with register operand $1 areAkira Hatanaka2012-11-162-17/+66
| | | | | | allowed in branch delay slot. llvm-svn: 168131
* CPP Output: Do not emit an enter file marker for the main file.Daniel Dunbar2012-11-162-0/+15
| | | | | | | | - This diverges from gcc, and confuses tools (like dtrace) which track # line markers as a way to determine which content is in the context of the main file. llvm-svn: 168128
* Take into account the zero sign bit for positive numbers when computing the bitRichard Trieu2012-11-162-1/+15
| | | | | | | width of an enum with negative values in IntRange. Include a test for -Wtautological-constant-out-of-range-compare where this had manifested. llvm-svn: 168126
OpenPOWER on IntegriCloud