summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Place diagnostic group ext_typecheck_decl_incomplete_type under a -W flag.Ted Kremenek2011-10-112-3/+3
| | | | llvm-svn: 141620
* Move -widen-vmovs to ARMBaseInstrInfo::expandPostRAPseudo().Jakob Stoklund Olesen2011-10-112-30/+44
| | | | | | | | | | | The VMOVS widening needs to look at the implicit COPY operands. Trying to dig out the COPY instruction from an iterator in copyPhysReg() is the wrong approach. The expandPostRAPseudo() hook gets to look at COPY instructions before they are converted to copyPhysReg() calls. llvm-svn: 141619
* Modify lowering of GlobalAddress so that correct code is emitted when target isAkira Hatanaka2011-10-113-14/+23
| | | | | | Mips64. llvm-svn: 141618
* Fixed natural stack alignment for Linux x86-32. Thanks Eli.Lang Hames2011-10-111-1/+1
| | | | llvm-svn: 141617
* Fixed natural stack alignment for Linux x86-32. Thanks Eli.Lang Hames2011-10-111-1/+1
| | | | llvm-svn: 141616
* Modify MipsDAGToDAGISel::SelectAddr so that it can handle 64-bit pointers too.Akira Hatanaka2011-10-111-7/+10
| | | | llvm-svn: 141615
* Revert r141605 as it broke tests for llvm-nm.Nick Lewycky2011-10-111-34/+13
| | | | llvm-svn: 141614
* Simplify and update functions storeRegToStackSlot and loadRegFromStackSlot.Akira Hatanaka2011-10-112-17/+24
| | | | llvm-svn: 141613
* Clean up DiagnoseInvalidRedeclaration a bitKaelyn Uhrain2011-10-111-26/+31
| | | | llvm-svn: 141612
* Move a couple chunks of ActOnFunctionDeclarator to separate functionsKaelyn Uhrain2011-10-111-186/+202
| | | | llvm-svn: 141611
* Move some bool flags out of function parameter lists.Kaelyn Uhrain2011-10-119-127/+139
| | | | llvm-svn: 141610
* Only accept a typo correction if it doesn't trigger additional errorsKaelyn Uhrain2011-10-112-31/+105
| | | | llvm-svn: 141609
* Add definitions of 64-bit loads and stores. Add a patterns for unalignedAkira Hatanaka2011-10-113-1/+38
| | | | | | zextloadi32 for which there is no corresponding pseudo or real instruction. llvm-svn: 141608
* Add testcase for PR11107.Bill Wendling2011-10-111-0/+49
| | | | llvm-svn: 141607
* Make it possible to use the linker without destroying the source module. ↵Tanya Lattner2011-10-115-38/+73
| | | | | | | | | | | | | | This is so the source module can be linked to multiple other destination modules. For all that used LinkModules() before, they will continue to destroy the source module as before. This line, and those below, will be ignored-- M include/llvm/Linker.h M tools/bugpoint/Miscompilation.cpp M tools/bugpoint/BugDriver.cpp M tools/llvm-link/llvm-link.cpp M lib/Linker/LinkModules.cpp llvm-svn: 141606
* Add support for reading many-section ELF files.Nick Lewycky2011-10-111-13/+34
| | | | | | | If you want to tackle adding the testcase, let me know. It's a 4.2MB ELF file and I'll be happy to mail it to you. llvm-svn: 141605
* Extend lvalue evaluation in ExprConstant.cpp to handle CK_LValueBitCast ↵Eli Friedman2011-10-112-0/+7
| | | | | | (which is completely trivial). PR8836. llvm-svn: 141604
* Change definitions of classes LoadM and StoreM in preparation for adding supportAkira Hatanaka2011-10-112-20/+65
| | | | | | | for 64-bit load and store instructions. Add definitions of 64-bit memory operand and 16-bit immediate operand. llvm-svn: 141603
* Simplify check that optional def is there and is CPSR.Bill Wendling2011-10-111-5/+4
| | | | llvm-svn: 141602
* Update target data strings for ARM and X86 to include the natural stackLang Hames2011-10-101-9/+9
| | | | | | alignment parameter "S<size>" that was introduced in r141599. llvm-svn: 141601
* Don't crash in Sema::IsSimplyAccessible if the declaration is not a C++ ↵Douglas Gregor2011-10-102-1/+21
| | | | | | class member. Fixes PR11108. llvm-svn: 141600
* Add a natural stack alignment field to TargetData, and prevent InstCombine fromLang Hames2011-10-108-14/+45
| | | | | | | | | | | | | | promoting allocas to preferred alignments that exceed the natural alignment. This avoids some potentially expensive dynamic stack realignments. The natural stack alignment is set in target data strings via the "S<size>" option. Size is in bits and must be a multiple of 8. The natural stack alignment defaults to "unspecified" (represented by a zero value), and the "unspecified" value does not prevent any alignment promotions. Target maintainers that care about avoiding promotions should explicitly add the "S<size>" option to their target data strings. llvm-svn: 141599
* Make sure we initialize the "extra" data within the libclang codeDouglas Gregor2011-10-101-1/+6
| | | | | | | | | completion context, in case we end up having no code-completion callback. Individual instances of this problem are always bugs that need to be fixed, but it's better to make sure we have initialized data here. llvm-svn: 141598
* Fix warning.Michael J. Spencer2011-10-101-2/+2
| | | | llvm-svn: 141597
* A couple random preprocessor changes that got ported from C99 to C++11.Eli Friedman2011-10-101-2/+4
| | | | llvm-svn: 141596
* Remove test logic to check for clang and skip the rest due to insufficient ↵Johnny Chen2011-10-101-2/+0
| | | | | | | | debug info. Recent changes in lldb inlining robustness seem to have fixed it. llvm-svn: 141595
* Revert r141569 and r141576.Devang Patel2011-10-106-88/+62
| | | | llvm-svn: 141594
* Patch from dawn@burble.org to build on linux!Johnny Chen2011-10-105-6/+21
| | | | llvm-svn: 141593
* Simplify operand Kind checks a bit.Jim Grosbach2011-10-101-20/+20
| | | | llvm-svn: 141592
* Reapply r141365 now that PR11107 is fixed.Bill Wendling2011-10-106-7/+177
| | | | llvm-svn: 141591
* Add a name to sub-operand for clarity.Jim Grosbach2011-10-101-1/+1
| | | | llvm-svn: 141590
* If the CPSR is defined by a copy, then we don't want to merge it into an ITBill Wendling2011-10-101-0/+22
| | | | | | | | | | | | | | | | | | | | | block. E.g., if we have: movs r1, r1 rsb r1, 0 movs r2, r2 rsb r2, 0 we don't want this to be converted to: movs r1, r1 movs r2, r2 itt mi rsb r1, 0 rsb r2, 0 PR11107 & <rdar://problem/10259534> llvm-svn: 141589
* When performing a user-defined conversion via a constructor, be sureDouglas Gregor2011-10-103-6/+26
| | | | | | | to check whether the constructor is accessible. Fixes <rdar://problem/10202900>. llvm-svn: 141588
* [analyzer] Teach the static analyzer about CXXForRangeStmt. Patch by Jim ↵Ted Kremenek2011-10-103-1/+29
| | | | | | Goodnow II! llvm-svn: 141587
* Rework construction of CXXForRangeStmt not to recycle the same DeclRefExpr ↵Ted Kremenek2011-10-101-11/+33
| | | | | | | | | | in multiple subexpressions. This breaks the tree structure of the AST and completely breaks the CFG invariants. Patch by Jim Goodnow II and reviewed by Richard Smith! llvm-svn: 141586
* Make sure the X86 backend doesn't explode on 128-bit shuffles in AVX mode. ↵Eli Friedman2011-10-102-12/+14
| | | | | | Fixes PR11102. llvm-svn: 141585
* Add '-e' and '-x' options to the test driver to be able to specify an ↵Johnny Chen2011-10-102-1/+114
| | | | | | | | | | | | executable (full path) and the breakpoint specification for the benchmark purpose. This is used by TestSteppingSpeed.py to benchmark the lldb stepping speed. Without '-e' and 'x' specified, the test defaults to run the built lldb against itself and stopped on Driver::MainLoop, then stepping for 50 times. rdar://problem/7511193 llvm-svn: 141584
* [libclang] Do ConcurrencyCheck for clang_getLocation as well.Argyrios Kyrtzidis2011-10-101-0/+1
| | | | llvm-svn: 141583
* [libclang] Implement ConcurrencyCheck using a recursive mutex to allow ↵Argyrios Kyrtzidis2011-10-102-18/+50
| | | | | | | | re-entrancy in the same thread. The checks are performed only in DEBUG, it becomes no-op in release mode. llvm-svn: 141582
* Object: add getSectionAlignment.Michael J. Spencer2011-10-105-0/+43
| | | | llvm-svn: 141581
* objc: err on a property designated both atomic andFariborz Jahanian2011-10-102-0/+17
| | | | | | nonatomic. // rdar://10260017 llvm-svn: 141580
* Add support for dumping section headers to llvm-objdump. This uses the sameNick Lewycky2011-10-103-1/+117
| | | | | | | | flags as binutils objdump but the output is different, not just in format but also showing different sections. Compare its results against readelf, not objdump. llvm-svn: 141579
* Give targets a chance to expand even standard pseudos.Jakob Stoklund Olesen2011-10-101-4/+12
| | | | | | | | | | | Allow targets to expand COPY and other standard pseudo-instructions before they are expanded with copyPhysReg(). This allows the target to examine the COPY instruction for extra operands indicating it can be widened to a preferable super-register copy. See the ARM -widen-vmovs option. llvm-svn: 141578
* Revert r140009, about disabling clang's builtin in -fms-compatibility mode. Francois Pichet2011-10-101-2/+1
| | | | llvm-svn: 141577
* If loop header is also loop exiting block then it may not be safe to hoist ↵Devang Patel2011-10-103-64/+5
| | | | | | instructions. llvm-svn: 141576
* Emit full ED initializers even for pseudo-instructions.Jakob Stoklund Olesen2011-10-101-14/+14
| | | | | | This should unbreak the picky buildbots. llvm-svn: 141575
* Allow stat += 0 without activating the stat.Andrew Trick2011-10-101-0/+2
| | | | | | | For me, this is a nice convenience. We generally want grep to match stats output only when the event has occurred. llvm-svn: 141574
* Link in Scrt1.o instead of crt1.o when -pie is specified.Roman Divacky2011-10-101-2/+4
| | | | llvm-svn: 141573
* whitespaceAndrew Trick2011-10-101-8/+8
| | | | llvm-svn: 141572
* X86: Add a subtarget definition for core-avx-i, which is GCC's name for ivy ↵Benjamin Kramer2011-10-101-0/+5
| | | | | | bridge. llvm-svn: 141571
OpenPOWER on IntegriCloud