summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Improve comments in the LSDA somewhat. They can be improved much more.Bill Wendling2010-02-091-10/+17
| | | | llvm-svn: 95707
* Complain about types and declarations that we don't know how to import.Douglas Gregor2010-02-092-0/+15
| | | | llvm-svn: 95706
* Add in the LIT magic to avoid running AST merge test inputs asDouglas Gregor2010-02-093-2/+1
| | | | | | separate tests. Thanks, Daniel! llvm-svn: 95705
* Hook up the diagnostics-argument printer when merging AST files, soDouglas Gregor2010-02-092-6/+11
| | | | | | | | | | | that we get readable diagnostics such as: error: external variable 'x1' declared with incompatible types in different translation units ('double *' vs. 'float **') However, there is no translation of source locations, yet. llvm-svn: 95704
* Added VMRS/VMSR for disassembly only.Johnny Chen2010-02-091-0/+25
| | | | | | A8.6.335 & A8.6.336 llvm-svn: 95703
* Added AsmWriterInst.cpp to the CMakeList so thatSean Callanan2010-02-091-0/+1
| | | | | | it builds OK on Visual Studio. llvm-svn: 95702
* Move the diagnostic argument formatting function out of Sema and makeDouglas Gregor2010-02-094-246/+291
| | | | | | | it available within the AST library, of which Sema is one client. No functionality change. llvm-svn: 95701
* Disable unittests/ADT/BitVectorTest on PPC Darwin.Dale Johannesen2010-02-092-0/+10
| | | | | | | | | It fails with a release build only, for reasons as yet unknown. (If there's a better way to Xfail things here let me know, doesn't seem to be any prior art in unittests.) llvm-svn: 95700
* port encoder enhancements over to the new encoder.Chris Lattner2010-02-091-20/+34
| | | | llvm-svn: 95699
* Per PR 6219, factored AsmWriterInst and AsmWriterOperandSean Callanan2010-02-093-325/+364
| | | | | | | | | out of the AsmWriterEmitter. This patch does the physical code movement, but leaves the implementation unchanged. I'll make any changes necessary to generalize the code in a separate patch. llvm-svn: 95697
* Fix javascript link.Ted Kremenek2010-02-096-6/+6
| | | | llvm-svn: 95696
* Finish implementing property synthesis by default.Fariborz Jahanian2010-02-094-15/+108
| | | | | | (radar 7381956). llvm-svn: 95695
* Fix javascript file link.Ted Kremenek2010-02-091-4/+4
| | | | llvm-svn: 95694
* fix X86 encoder to output [disp] only addresses with no SIB byteChris Lattner2010-02-092-74/+89
| | | | | | | | in X86-32 mode. This is still required in x86-64 mode to avoid forming [disp+rip] encoding. Rewrite the SIB byte decision logic to be actually understandable. llvm-svn: 95693
* Update checker build.Ted Kremenek2010-02-091-1/+1
| | | | llvm-svn: 95692
* Move Intrinsic::objectsize lowering back to InstCombineCalls andEric Christopher2010-02-092-4/+22
| | | | | | enable constant 0 offset lowering. llvm-svn: 95691
* revert r95689: getX86RegNum(BaseReg) != N86::ESP isChris Lattner2010-02-091-2/+2
| | | | | | a confusing idiom to check for ESP or RSP. llvm-svn: 95690
* simplify.Chris Lattner2010-02-091-2/+2
| | | | llvm-svn: 95689
* Re-disable for Darwin; I was mistaken to think this was fixed.Dale Johannesen2010-02-091-0/+3
| | | | llvm-svn: 95688
* move target-independent opcodes out of TargetInstrInfoChris Lattner2010-02-0963-352/+344
| | | | | | | | | into TargetOpcodes.h. #include the new TargetOpcodes.h into MachineInstr. Add new inline accessors (like isPHI()) to MachineInstr, and start using them throughout the codebase. llvm-svn: 95687
* Radar 7417921Jim Grosbach2010-02-092-2/+2
| | | | | | | | | | | tMOVCCi pattern only valid for low registers, as the Thumb1 mov immediate to register instruction only works with low registers. Allowing high registers for the instruction resulted in the assembler choosing the wide (32-bit) encoding for the mov, but LLVM though the instruction was only 16 bits wide, so offset calculations for constant pools became incorrect, leading to out of range constant pool entries. llvm-svn: 95686
* Implement synthesizing properties by default.Fariborz Jahanian2010-02-0910-5/+93
| | | | | | | | | This is a non-fragile-abi feature only. Since it breaks existing code, it is currently placed under -fobjc-nonfragile-abi2 option for test purposes only until further notice. WIP. llvm-svn: 95685
* StringRefize two random methods, remove a dead variable and a weird ↵Benjamin Kramer2010-02-091-6/+5
| | | | | | | | constructor call. This maybe fixes some of the errors GCC 4.5 gives on this code. llvm-svn: 95684
* Introduce a testbed for merging multiple ASTs into a single ASTDouglas Gregor2010-02-0912-5/+272
| | | | | | | context with the AST importer. WIP, still useless but at least it has a test. llvm-svn: 95683
* Fix lookup of fields from lazy bindings to check if the region isTed Kremenek2010-02-092-9/+23
| | | | | | | | NULL, not the store, to determine if a lookup succeeded. The store can be null if it contained no bindings. This fixes a false positive reported to me by a user of the analyzer. llvm-svn: 95679
* Fix virtual bases' debug info.Devang Patel2010-02-091-2/+4
| | | | llvm-svn: 95678
* Add support for TypeBuilder<const/volatile void*, false>.Jeffrey Yasskin2010-02-092-1/+14
| | | | | | Thanks to Jochen Wilhelmy for the suggestion! llvm-svn: 95677
* Tweak output.Ted Kremenek2010-02-091-8/+7
| | | | llvm-svn: 95676
* Add a check for a running Xcode before modifying its configuration files.Ted Kremenek2010-02-091-1/+8
| | | | llvm-svn: 95675
* Mark implicit "this" argument as an artificial argument.Devang Patel2010-02-091-1/+4
| | | | llvm-svn: 95673
* Pull these back out, they're a little too aggressive and timeEric Christopher2010-02-096-130/+7
| | | | | | consuming for a simple optimization. llvm-svn: 95671
* Oops.Jakob Stoklund Olesen2010-02-092-2/+0
| | | | llvm-svn: 95670
* Added vcvtb/vcvtt (between half-precision and single-precision, VFP).Johnny Chen2010-02-091-0/+18
| | | | | | | | For disassembly only. A8.6.300 llvm-svn: 95669
* Remember to update live-in lists when coalescing physregs.Jakob Stoklund Olesen2010-02-091-0/+17
| | | | | | Patch by M Wahab! llvm-svn: 95668
* clang test suiteJakob Stoklund Olesen2010-02-092-0/+2
| | | | llvm-svn: 95667
* Mention IndVarSimplify in the comment by getSmallConstantTripCount, asDan Gohman2010-02-091-0/+4
| | | | | | is done for getTripCount. llvm-svn: 95666
* Mention vAny and iPTRAny in a comment.Dan Gohman2010-02-091-3/+3
| | | | llvm-svn: 95665
* Fix typoAnton Korobeynikov2010-02-091-1/+1
| | | | llvm-svn: 95664
* Clearify Qt status a bitAnton Korobeynikov2010-02-091-1/+1
| | | | llvm-svn: 95663
* Add Qt, CMake projects to the list of C++ projects we're working on compilingDouglas Gregor2010-02-091-0/+12
| | | | llvm-svn: 95662
* Update tests in -Asserts mode. These tests really need to be rewritten...Daniel Dunbar2010-02-092-15/+15
| | | | llvm-svn: 95658
* Migrate the mish-mash of declaration checks inDouglas Gregor2010-02-0911-188/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Sema::ActOnUninitializedDecl over to InitializationSequence (with default initialization), eliminating redundancy. More importantly, we now check that a const definition in C++ has an initilizer, which was an #if 0'd code for many, many months. A few other tweaks were needed to get everything working again: - Fix all of the places in the testsuite where we defined const objects without initializers (now that we diagnose this issue) - Teach instantiation of static data members to find the previous declaration, so that we build proper redeclaration chains. Previously, we had the redeclaration chain but built it too late to be useful, because... - Teach instantiation of static data member definitions not to try to check an initializer if a previous declaration already had an initializer. This makes sure that we don't complain about static const data members with in-class initializers and out-of-line definitions. - Move all of the incomplete-type checking logic out of Sema::FinalizeDeclaratorGroup; it makes more sense in ActOnUnitializedDecl. There may still be a few places where we can improve these diagnostics. I'll address that as a separate commit. llvm-svn: 95657
* move tests that depend on the x86 backend out of codegen/generic,Chris Lattner2010-02-0910-202/+1
| | | | | | and remove a few old and unreduced ones. Fixes PR5624. llvm-svn: 95656
* make target independent.Chris Lattner2010-02-091-1/+0
| | | | llvm-svn: 95655
* merge a target-specific add test into x86 directory.Chris Lattner2010-02-092-10/+20
| | | | llvm-svn: 95654
* merge another test in, drop the trivially constant folded cases.Chris Lattner2010-02-092-75/+49
| | | | llvm-svn: 95653
* consolidate and filecheckize two tests.Chris Lattner2010-02-093-26/+25
| | | | llvm-svn: 95652
* merge two tests, make target independent.Chris Lattner2010-02-092-56/+40
| | | | llvm-svn: 95651
* move PR3462 to here.Chris Lattner2010-02-091-1/+1
| | | | llvm-svn: 95650
* add a note from PR6194Chris Lattner2010-02-091-0/+33
| | | | llvm-svn: 95649
OpenPOWER on IntegriCloud