summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove empty test.Benjamin Kramer2011-08-021-0/+0
| | | | llvm-svn: 136675
* Revert r136503 and r136480 in an effort to fix non-determinism in the ↵Owen Anderson2011-08-022-60/+1
| | | | | | llvm-gcc buildbots on i386. Devang is looking into the root cause. llvm-svn: 136674
* I am the code owner for Clang's IR generation; this has been trueJohn McCall2011-08-022-0/+6
| | | | | | | | | | for awhile, but it's good to make this official. Just to be clear, Doug and Ted "elected" me to this position. Might as well add myself to the credits list while I'm at it. llvm-svn: 136673
* use abort_message() for pthread errors in __cxa_get_globalsNick Kledzik2011-08-021-9/+15
| | | | llvm-svn: 136672
* use abort_message()Nick Kledzik2011-08-021-7/+3
| | | | llvm-svn: 136671
* move abort_message() to its own fileNick Kledzik2011-08-021-7/+1
| | | | llvm-svn: 136670
* add abort_message() utility functionNick Kledzik2011-08-022-0/+75
| | | | llvm-svn: 136669
* Minor wording tweak for memory model.Eli Friedman2011-08-021-4/+4
| | | | llvm-svn: 136668
* Added kledzik to CREDITS.TXTNick Kledzik2011-08-021-0/+3
| | | | llvm-svn: 136667
* Simple renaming: self.swatch -> self.stopwatch.Johnny Chen2011-08-022-4/+4
| | | | llvm-svn: 136666
* Fix a couple silly typos in IRBuilder in the new atomic instructions.Eli Friedman2011-08-021-6/+6
| | | | llvm-svn: 136665
* Add a Stopwatch utility class to lldbench.py module and initialize an ↵Johnny Chen2011-08-025-11/+143
| | | | | | | | | | | | | instance of Stopwatch (self.swatch) within the BenchBase's setUp() instance method to be available to all the child classes. Use self.swatch to measure elapsed time in TestRepeatedExprs.py, which needs to be modified later on to actually measure repeated expression evaluations within the context of lldb as well as gdb. llvm-svn: 136664
* Bail from FastISel when we encounter a volatile memset intrinsic. Patch by IvanNick Lewycky2011-08-021-0/+3
| | | | | | Krasin! llvm-svn: 136663
* Revert "Re-enable byval for ARM in clang. rdar://problem/7662569"Bob Wilson2011-08-011-10/+6
| | | | | | | | | | | This reverts commit 67d097e1232b7d66f58989c16a45b8a11721f76e. We found a miscompile with ARM byval, which is still being investigated. In the meantime, this works around the problem by disabling ARM byval. Conflicts: lib/CodeGen/TargetInfo.cpp llvm-svn: 136662
* Make the FixedLengthDecoderEmitter smart enough to autogenerate decoders for ↵Owen Anderson2011-08-011-5/+9
| | | | | | encodings like "let Inst{11-7} = foo;", where the RHS has no bitwidth specifiers. llvm-svn: 136660
* Add a skeleton for the Keychain Services API Checker. Register it as OSX ↵Anna Zaks2011-08-014-0/+243
| | | | | | experimental for now. Note, the checker still does not handle tracking of escaped values, taking into account the return value of the allocator functions, nor the actual bug reporting.. llvm-svn: 136659
* objective-c: reverse patch for // rdar://9818354Fariborz Jahanian2011-08-0111-36/+22
| | | | llvm-svn: 136658
* Fix two compiler warningsTobias Grosser2011-08-012-2/+2
| | | | | | One of them actually pointed to an invalid condition in an assert. llvm-svn: 136657
* Move imm0_255 to ARMInstrInfo.td with the other immediate predicates.Jim Grosbach2011-08-012-4/+6
| | | | llvm-svn: 136656
* Fix comments.Jim Grosbach2011-08-011-2/+2
| | | | llvm-svn: 136655
* Add v4f64 -> v2f32 fp_round support. Also add a testcase to exerciseBruno Cardoso Lopes2011-08-013-0/+14
| | | | | | | the legalizer. This commit together with the two previous ones fixes PR10495. llvm-svn: 136654
* Teach PreprocessISelDAG to be aware of vector types and to not process them.Bruno Cardoso Lopes2011-08-013-6/+11
| | | | llvm-svn: 136653
* Lower CONCAT_VECTORS to use two VINSERTF128 instructions instead ofBruno Cardoso Lopes2011-08-011-5/+48
| | | | | | using a stack store. llvm-svn: 136652
* Remove unittest.skip() as 'rdar://problem/9691614 Expression parser crashes' ↵Johnny Chen2011-08-011-1/+0
| | | | | | is fixed. llvm-svn: 136651
* Remove the @expectedFailure decorator as rdar://problem/8668674 is fixed.Johnny Chen2011-08-011-4/+2
| | | | llvm-svn: 136650
* Add an abstract base class called BenchBase to be inherited by benchmark tests.Johnny Chen2011-08-013-34/+43
| | | | | | Modify the example TestRepeatedExprs.py to use BenchBase, instead. llvm-svn: 136649
* Fixed a problem in the expression parser that Sean Callanan2011-08-011-1/+28
| | | | | | | | | | | | | | caused functions that were cast as part of the call to have that cast ignored once their addresses were resolved. Notably, in the case of objc_msgSend(), if the function was cast from something returning i8* to something returning i8, the expression parser was discarding the cast as part of its resolution. This caused crashes later on. llvm-svn: 136648
* Implement MipsABIInfo::EmitVAArg. This fix enables clang to complete compilationAkira Hatanaka2011-08-011-1/+31
| | | | | | | | | | without bailing out when va_arg is an aggregate expression. However, alignment checking needs to be added in isSafeToEliminateVarargsCast in InstCombineCalls.cpp in order to produce correct mips code (see link below). http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-July/042047.html llvm-svn: 136647
* Fix a typo.Roman Divacky2011-08-011-1/+1
| | | | llvm-svn: 136646
* The FixedLenDecoder needs to gracefully handle failing per-instruction ↵Owen Anderson2011-08-011-3/+3
| | | | | | decoder hooks in addition to per-operand decoder hooks. llvm-svn: 136645
* Driver: When compiling i386 -fapple-kext code, we fallback to llvmgcc.Chad Rosier2011-08-011-1/+4
| | | | | | | | Unfortunately, llvmgcc doesn't always work when writing temporary output to /dev/null. Therefore, create a temp file that is later deleted. rdar://9837692 llvm-svn: 136644
* Actually finish switching to the new system for Target sublibraryChandler Carruth2011-08-019-9/+9
| | | | | | | | | | | TableGen deps introduced in r136023. This completes the fixing that dgregor started in r136621. Sorry for missing these the first time around. This should fix some of the random race-condition failures people are still seeing with CMake. llvm-svn: 136643
* Since vectors with all ones can't be created with a 256-bit instruction,Bruno Cardoso Lopes2011-08-012-11/+22
| | | | | | | | avoid returning early for v8i32 types, which would only be valid for vector with all zeros. Also split the handling of zeros and ones into separate checking logic since they are handled differently. This fixes PR10547 llvm-svn: 136642
* More refactorings to migrate logic from TestBase to its parent class.Johnny Chen2011-08-011-240/+258
| | | | llvm-svn: 136641
* Set endianess and pointer size for PPC Linux. Bug noticed by Roman Divacky.Evan Cheng2011-08-011-0/+4
| | | | llvm-svn: 136639
* Change SmallVector to SmallPtrSet in BranchProbabilityInfo. Handle cases whereJakub Staszak2011-08-011-15/+15
| | | | | | one than one successor goes to the same block. llvm-svn: 136638
* Start refactoring lldbtest.TestBase so that it inherits from a newly created ↵Johnny Chen2011-08-011-127/+148
| | | | | | | | | | lldbtest.Base class, while its API clients remain unchanged. The new lldbtest.Base class is to capture common behaviors when working with the test driver to accomplish things. The clients of lldbtest.Base can be lldb command line and api tests as well as other generic tests like a benchmark test. llvm-svn: 136636
* Enhance the fixed length disassembler to better handle operand decoding ↵Owen Anderson2011-08-011-2/+2
| | | | | | failures. llvm-svn: 136635
* Add a clear() operation to MCInst, to drop all of its operands. Useful for ↵Owen Anderson2011-08-011-0/+2
| | | | | | the disassembler, where we may realize fairly late into decoding that something is wrong and need to reset. llvm-svn: 136634
* Remove the @expectedFailure decorator since the bug has been fixed.Johnny Chen2011-08-011-4/+4
| | | | | | rdar://problem/9673664 llvm-svn: 136633
* Added checking to make sure that the target has aSean Callanan2011-08-014-5/+22
| | | | | | scratch AST context before attempting to parse. llvm-svn: 136631
* Pass records with non-trivial destructors or constructors indirectly.Akira Hatanaka2011-08-011-0/+5
| | | | llvm-svn: 136630
* Fixed a bug where named constants were beingSean Callanan2011-08-011-2/+17
| | | | | | | | | | | | | | treated as externals, causing problems when we tried to look their locations up in the debug info. For example: expr char c[] = "foo"; c[0] would terminate when trying to find c in the debug information, despite the fact that c was defined inside the expression. llvm-svn: 136629
* Fix linkage type for tentative definition of ivar offset variables (GNUstep ↵David Chisnall2011-08-011-2/+2
| | | | | | runtime) llvm-svn: 136628
* Remove the deprecated MacOSX native plug-in.Greg Clayton2011-08-0137-11384/+38
| | | | llvm-svn: 136626
* Copy the native darwin register stuff out of the ProcessMacOSXGreg Clayton2011-08-016-0/+380
| | | | | | plug-in folder. llvm-svn: 136625
* Move the serialization of the MODULE_OFFSET_MAP out of the ↵Douglas Gregor2011-08-011-32/+35
| | | | | | source-manager-writing code and into the general chained-PCH writing code llvm-svn: 136624
* Fix crash with varargs function with no named parameters.Richard Osborne2011-08-012-2/+19
| | | | llvm-svn: 136623
* Updated LLVM to pick up a few new ARM targets.Sean Callanan2011-08-011-1/+1
| | | | llvm-svn: 136622
* Update CMake target names for tablegen-generated data in the X86 and ARM ↵Douglas Gregor2011-08-013-3/+3
| | | | | | targets. This should fix the CMake build with MSVC. llvm-svn: 136621
OpenPOWER on IntegriCloud