summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Support for anonymous union in ctor's initializer andFariborz Jahanian2009-08-103-8/+29
| | | | | | bunch of FIXMEs for their is-gen. llvm-svn: 78623
* Enable Thumb2 instruction shrinking (32-bit to 16-bit) pass. Convert a bunch ↵Evan Cheng2009-08-1027-85/+241
| | | | | | of thumb2 tests to FileCheck. llvm-svn: 78622
* Take 2 on AltiVec-style vector initializers. Nate Begeman2009-08-1019-35/+318
| | | | | | | | | | | | Fixes PR4704 problems Addresses Eli's patch feedback re: ugly cast code Updates all postfix operators to remove ParenListExprs. While this is awful, no better solution (say, in the parser) is obvious to me. Better solutions welcome. llvm-svn: 78621
* Modified VNInfo. The "copy" member is now a union which holds the copy for a ↵Lang Hames2009-08-107-46/+67
| | | | | | register interval, or the defining register for a stack interval. Access is via getCopy/setCopy and getReg/setReg. llvm-svn: 78620
* Fix a bug in the DAGCombiner's handling of multiple linkedDan Gohman2009-08-102-3/+32
| | | | | | | | | | | MERGE_VALUES nodes. Replacing the result values with the operands in one MERGE_VALUES node may cause another MERGE_VALUES node be CSE'd with the first one, and bring its uses along, so that the first one isn't dead, as this code expects. Fix this by iterating until the node is really dead. This fixes PR4699. llvm-svn: 78619
* Fix a bug where DAGCombine was producing an illegal ConstantFPDan Gohman2009-08-102-19/+12
| | | | | | | node after legalize, and remove the workaround code from the ARM backend. llvm-svn: 78615
* Use FileCheck.David Goodwin2009-08-104-20/+28
| | | | llvm-svn: 78614
* Use FileCheck... its good for you...David Goodwin2009-08-102-10/+14
| | | | llvm-svn: 78613
* Remove MDNode from ValueMap when MDNode is destroyed.Devang Patel2009-08-102-1/+10
| | | | llvm-svn: 78612
* Fix test.David Goodwin2009-08-101-1/+3
| | | | llvm-svn: 78611
* Rename MVT to EVT, in preparation for splitting SimpleValueType out into its ↵Owen Anderson2009-08-10104-7079/+7079
| | | | | | own struct type. llvm-svn: 78610
* Whitespace, 80-column, and isTwoAddress -> Constraints = "" changes.Eric Christopher2009-08-101-32/+48
| | | | | | No functional change. llvm-svn: 78608
* Rename MDNodeSet as MDNodes.Devang Patel2009-08-102-2/+2
| | | | llvm-svn: 78607
* Fix test.David Goodwin2009-08-101-2/+1
| | | | llvm-svn: 78606
* Align comments.Devang Patel2009-08-101-1/+1
| | | | llvm-svn: 78605
* Use NEON for single-precision int<->FP conversions.David Goodwin2009-08-107-21/+111
| | | | llvm-svn: 78604
* Do not rely on magic "llvm.dbg.*" global variable name to find debug info.Devang Patel2009-08-102-45/+48
| | | | | | PIC16 developers, please verify. llvm-svn: 78603
* Keep track of DIType.Devang Patel2009-08-102-4/+21
| | | | llvm-svn: 78602
* Remove a bunch of debugging code that was slowing PBQP down by 25% or so.Owen Anderson2009-08-101-45/+0
| | | | llvm-svn: 78601
* Fix up whitespace, remove commented out code.Eric Christopher2009-08-101-29/+14
| | | | llvm-svn: 78600
* Add a CastInfo struct that will be used for cast information when ↵Anders Carlsson2009-08-104-15/+25
| | | | | | constructing cast expressions. Right now it only stores the cast kind, but in the future it might store conversion functions and constructors. llvm-svn: 78599
* llvm-mc/AsmParser: Disambiguate i64i8imm.Daniel Dunbar2009-08-102-2/+10
| | | | llvm-svn: 78598
* llvm-mc/AsmParser: Allow .td users to redefine the names of the methods to callDaniel Dunbar2009-08-103-10/+40
| | | | | | | on target specific operands for testing class membership and converting to MCInst operands. llvm-svn: 78597
* Rename ConvertType to ConvertConstant to avoid a name conflict on llvm-gcc.Daniel Dunbar2009-08-102-11/+11
| | | | llvm-svn: 78596
* SimpleValueType-ify a few more methods on TargetLowering.Owen Anderson2009-08-104-49/+53
| | | | llvm-svn: 78595
* Handle the constantfp created during post-legalization dag combiner phase.Evan Cheng2009-08-102-0/+33
| | | | llvm-svn: 78594
* Continue the SimpleValueType-ification.Owen Anderson2009-08-105-31/+29
| | | | llvm-svn: 78593
* Fix ocaml "make check" tests, that wasn't finding the proper c++ compiler.Erick Tryzelaar2009-08-101-1/+1
| | | | llvm-svn: 78592
* Fix comment in llvm.mli.Erick Tryzelaar2009-08-101-2/+2
| | | | llvm-svn: 78591
* Convert comments to C90-style so llvm-c can import DataTypes.h.Erick Tryzelaar2009-08-102-55/+61
| | | | llvm-svn: 78590
* Fix docstring for ocaml binding's const_float.Erick Tryzelaar2009-08-101-1/+1
| | | | llvm-svn: 78589
* llvm-mc/AsmMatcher: Remove some code which has been obsoleted by move toDaniel Dunbar2009-08-101-24/+4
| | | | | | explicit parser match classes. llvm-svn: 78588
* llvm-mc/AsmMatcher: Fix thinko, Mem isn't a subclass of Imm.Daniel Dunbar2009-08-101-1/+1
| | | | llvm-svn: 78587
* fix a couple of problems with section attributes:Chris Lattner2009-08-109-17/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Passing something that isn't a string used to cause: "argument to annotate attribute was not a string literal" make it say "section attribute" instead. 2. Fix the location of the above message to point to the bad argument instead of the section token. 3. Implement rdar://4341926, by diagnosing invalid section specifiers in the frontend rather than letting them slip all the way to the assembler (a QoI win). An example of #3 is that we used to produce something like this: /var/folders/n7/n7Yno9ihEm894640nJdSQU+++TI/-Tmp-//ccFPFGtT.s:2:Expected comma after segment-name /var/folders/n7/n7Yno9ihEm894640nJdSQU+++TI/-Tmp-//ccFPFGtT.s:2:Rest of line ignored. 1st junk character valued 46 (.). Daniel improved clang to use llvm_report_error, so now we got: $ clang t.c -c fatal error: error in backend: Global variable 'x' has an invalid section specifier 'sadf': mach-o section specifier requires a segment and section separated by a comma. with no loc info. Now we get: $ clang t.c -fsyntax-only t.c:4:30: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment and section separated by a comma int x __attribute__((section("sadf"))); ^ which is nice :) llvm-svn: 78586
* We are not using FoldingSet for metadata uniquing anymore.Devang Patel2009-08-102-15/+1
| | | | llvm-svn: 78585
* Start moving TargetLowering away from using full MVTs and towards ↵Owen Anderson2009-08-1019-33/+42
| | | | | | SimpleValueType, which will simplify the privatization of IntegerType in the future. llvm-svn: 78584
* these tests include section specifiers that aren't valid on the Chris Lattner2009-08-102-2/+2
| | | | | | mac, use an explicit triple. llvm-svn: 78583
* minor refactoring. No change otherwise.Fariborz Jahanian2009-08-103-4/+17
| | | | llvm-svn: 78582
* llvm-mc/AsmMatcher: Change assembler parser match classes to their own recordDaniel Dunbar2009-08-105-79/+101
| | | | | | structure. llvm-svn: 78581
* ir-gen for generating copying of scalar data members inFariborz Jahanian2009-08-102-3/+16
| | | | | | a synthesized copy constructor. llvm-svn: 78580
* g++ 4.0 doesn't have std::vector::data.Benjamin Kramer2009-08-101-1/+1
| | | | llvm-svn: 78579
* Add walking bases in reverse order.Mike Stump2009-08-101-0/+12
| | | | llvm-svn: 78578
* Change the MDNode uniquing to a ValueMap, at Devang's request.Owen Anderson2009-08-106-37/+34
| | | | llvm-svn: 78577
* split MachO section handling stuff out to its out .h/.cpp file.Chris Lattner2009-08-1012-429/+462
| | | | llvm-svn: 78576
* add a fixmeChris Lattner2009-08-101-0/+4
| | | | llvm-svn: 78575
* arm only needs to emit one .align directive for hidden nlp's, not oneChris Lattner2009-08-101-1/+1
| | | | | | per pointer. llvm-svn: 78574
* make sure that arm nonlazypointers are aligned properlyChris Lattner2009-08-101-0/+1
| | | | llvm-svn: 78573
* Fix a weird ppc64-specific link error during an llvm-gcc build:Chris Lattner2009-08-101-0/+2
| | | | | | | | | | ld: bad offset (0x00000091) for lo14 instruction pic-base fix-up in ___popcountdi2 from libgcc/./_popcountsi2_s.o The problem is that the non lazy symbol pointers need to be 8 byte aligned on ppc64 and .section doesn't have an implicit alignment like ".non_lazy_symbol_pointer" does. llvm-svn: 78572
* fix some warnings for the MSVC build, by Yonggang Luo!Chris Lattner2009-08-102-3/+2
| | | | llvm-svn: 78571
* Fixed a ir-gen bug in synthesizing copy constructors.Fariborz Jahanian2009-08-102-6/+3
| | | | llvm-svn: 78570
OpenPOWER on IntegriCloud