summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Speculatively revert r108378; may be causing bootstrap failures.Eli Friedman2010-07-152-43/+0
| | | | llvm-svn: 108389
* restrict the && -> & warning to cover a case daniel noted.Chris Lattner2010-07-152-0/+6
| | | | | | | Don't warn about "logically bool" expressions on the RHS, even if they fold to a constant. llvm-svn: 108388
* Last COPY conversion.Jakob Stoklund Olesen2010-07-141-3/+2
| | | | llvm-svn: 108387
* Remove restriction on NEON alignment values. Some of the NEON ld/stBob Wilson2010-07-143-9/+4
| | | | | | | instructions use different values (e.g., 2-byte or 4-byte alignment). Also fix ARMInstPrinter to print these alignments as bits instead of bytes. llvm-svn: 108386
* Use TargetOpcode::COPY instead of X86-native register copy instructions whenJakob Stoklund Olesen2010-07-142-30/+27
| | | | | | | lowering atomics. This will allow those copies to still be coalesced after TII::isMoveInstr is removed. llvm-svn: 108385
* Remove the entire docs directory from Apple-style builds.Bob Wilson2010-07-141-2/+2
| | | | | | This fixes a "usr_junk" verification failure when installing into /usr. llvm-svn: 108384
* Add a callback interface that allows interested parties to get notified ↵Sebastian Redl2010-07-148-45/+110
| | | | | | whenever PCHReader deserializes a type or decl (and possibly other things in the future). Have PCHWriter implement these callbacks as noops and register to receive them if we're chaining PCHs. This will allow PCHWriter to track the IDs of these things, which it needs to write the dependent files. WIP llvm-svn: 108383
* Try to get embedded build of llvmCore to pass verification.Bob Wilson2010-07-142-17/+9
| | | | | | Simplify some things in the process. llvm-svn: 108382
* 80-col.Eric Christopher2010-07-141-2/+3
| | | | llvm-svn: 108381
* Fixes to the IR generator in the expression parserSean Callanan2010-07-142-109/+252
| | | | | | | | to correctly unfold constant-folded global variables. Also added code to JIT the expression. Simple expressions are now JIT compiled successfully. llvm-svn: 108380
* CodeGen/ObjC/NeXT: Fix Obj-C message send to match llvm-gcc when choosingDaniel Dunbar2010-07-147-32/+62
| | | | | | | | whether to use objc_msgSend_fpret; the choice is target dependent, not Obj-C ABI dependent. - <rdar://problem/8139758> arm objc _objc_msgSend_fpret bug llvm-svn: 108379
* Add instcombine transforms to optimize tests of multiple bits of the same ↵Owen Anderson2010-07-142-0/+43
| | | | | | value into a single larger comparison. llvm-svn: 108378
* There is another implementation of PCHReaderListener around. Update it to ↵Sebastian Redl2010-07-141-3/+5
| | | | | | the new interface. llvm-svn: 108377
* When determining whether an overload set with explicit templateDouglas Gregor2010-07-142-1/+22
| | | | | | | arguments only resolves to a single specialization, make sure to look through using declarations. Fixes PR7641. llvm-svn: 108376
* Pass StringRefs by value.Benjamin Kramer2010-07-146-20/+20
| | | | llvm-svn: 108375
* When there are extra or missing template parameter lists in a templateDouglas Gregor2010-07-144-9/+96
| | | | | | | | | | definition, we're likely going to end up breaking the invariants of the template system, e.g., that the depths of template parameter lists match up with the nesting template of the template. So, make sure we mark such ill-formed declarations as invalid or don't even build them at all. llvm-svn: 108372
* Temporarily disable this test.Eric Christopher2010-07-141-1/+2
| | | | llvm-svn: 108371
* Make it a .ll test case.Devang Patel2010-07-142-50/+108
| | | | llvm-svn: 108370
* Make the order in which variables are described in debug informationDan Gohman2010-07-142-1/+24
| | | | | | | | independent of the order that isel happens to visit the dbg_declare intrinsics. This fixes a bug in which the formal arguments were being printed in reverse order, now that fast isel is going bottom up. llvm-svn: 108369
* fix indentationChris Lattner2010-07-141-9/+7
| | | | llvm-svn: 108368
* Remove some broken code to check the DISABLE_EDIS flag (edis is now in theBob Wilson2010-07-142-5/+2
| | | | | | | | DIRS list, so it does no good to filter it from PARALLEL_DIRS), and replace it with a check to disable building the shared library version of edis when the flag is set. Disabling it entirely does not work because MC uses it now. llvm-svn: 108367
* Don't pass StringRef by reference.Benjamin Kramer2010-07-1437-76/+74
| | | | llvm-svn: 108366
* Add a testcase for the vla and stack realignment warning.Eric Christopher2010-07-141-0/+7
| | | | llvm-svn: 108365
* Properly restore DebugLoc after leaving the local constant area.Dan Gohman2010-07-141-1/+2
| | | | llvm-svn: 108364
* Add lvalue-bitcast support for complex numbers.Douglas Gregor2010-07-142-5/+65
| | | | llvm-svn: 108363
* Tests for llvm-gcc commit 108360.Dale Johannesen2010-07-142-0/+41
| | | | llvm-svn: 108362
* Fixed to work with generalized iterators.Howard Hinnant2010-07-142-39/+152
| | | | llvm-svn: 108359
* Just use getParent() instead of getModuleFromVal when the value is a Function.Dan Gohman2010-07-141-1/+1
| | | | llvm-svn: 108358
* Rename WriteConstantInt to WriteConstantInternal, to avoid confusion.Dan Gohman2010-07-141-4/+5
| | | | llvm-svn: 108357
* Increase the max PCH level for declarations to 7. Add a FromPCH flag to types.Sebastian Redl2010-07-143-11/+24
| | | | llvm-svn: 108354
* Extend SimplifyCFG's common-destination folding heuristic to allow a singleOwen Anderson2010-07-141-5/+67
| | | | | | | | | | "bonus" instruction to be speculatively executed. Add a heuristic to ensure we're not tripping up out-of-order execution by checking that this bonus instruction only uses values that were already guaranteed to be available. This allows us to eliminate the short circuit in (x&1)&&(x&2). llvm-svn: 108351
* Driver: When re'execing clang, use path to the main executable instead ofDaniel Dunbar2010-07-143-6/+17
| | | | | | | looking up Clang in the normal search paths (which may end up finding the wrong clang). llvm-svn: 108346
* Driver: Remove some unused arguments.Daniel Dunbar2010-07-143-57/+53
| | | | llvm-svn: 108345
* Factor out metadata parsing into a separate function.Dan Gohman2010-07-142-27/+39
| | | | llvm-svn: 108343
* Merge lib/Target/X86/X86COFF.h into include/llvm/Support/COFF.h,Chris Lattner2010-07-143-129/+71
| | | | | | patch by Michael Spencer! llvm-svn: 108342
* Don't error when doing default property synthesis Fariborz Jahanian2010-07-142-0/+16
| | | | | | and some are already synthesized by user declaration. llvm-svn: 108341
* Make PCHReader cope with PCH files containing more than one predefines buffer.Sebastian Redl2010-07-145-49/+137
| | | | llvm-svn: 108340
* Improve 64-subtraction of immediates when parts of the immediate can fitJim Grosbach2010-07-145-13/+172
| | | | | | | | | | | in the literal field of an instruction. E.g., long long foo(long long a) { return a - 734439407618LL; } rdar://7038284 llvm-svn: 108339
* Only filter out names reserved for the implementation (e.g., __blah orDouglas Gregor2010-07-143-6/+15
| | | | | | | _Foo) from code-completion results when they come from a system header. llvm-svn: 108338
* Delete fast-isel's trivial load optimization; it breaks debugging becauseDan Gohman2010-07-143-56/+0
| | | | | | it can look past points where a debugger might modify user variables. llvm-svn: 108336
* Fix test to appease the buildbots.Bob Wilson2010-07-141-1/+1
| | | | llvm-svn: 108334
* Consider obective-c pointer arguments as valid sentinel argsFariborz Jahanian2010-07-142-1/+13
| | | | | | as well. Fixes radar 7975788. llvm-svn: 108333
* Add missing address register update to t2LDM_RET instruction.Bob Wilson2010-07-141-1/+1
| | | | | | Patch by Brian Lucas. PR7636. llvm-svn: 108332
* Minor optimizations. Minor bug fixes. More tests.Howard Hinnant2010-07-142-66/+211
| | | | llvm-svn: 108331
* Rather than using an ifdef on the target to zero out fields,Duncan Sands2010-07-141-4/+1
| | | | | | just use memset to zero the entire struct. llvm-svn: 108330
* A couple potential optimizations inspired by comment 4 in PR6773.Eli Friedman2010-07-141-0/+41
| | | | llvm-svn: 108328
* Fix for PR7193 was overly conservative. The only case where sibcall calleeEvan Cheng2010-07-142-6/+25
| | | | | | | | | | address cannot be allocated a register is in 32-bit mode where the first three arguments are marked inreg. In that case EAX, EDX, and ECX will be used for argument passing. This fixes PR7610. llvm-svn: 108327
* Fix the mangling of template template arguments, which do not alwaysJohn McCall2010-07-142-4/+62
| | | | | | | | follow <name>; instead they follow <type>, which has <name> as a subset. Fixes PR7446. llvm-svn: 108326
* Wire up '-Wignored-qualifiers' to the warning on 'const' in 'const int f()'.Chandler Carruth2010-07-1411-15/+29
| | | | | | | | | This flag and warning match GCC semantics. Also, move it to -Wextra as this is a largely cosmetic issue and doesn't seem to mask problems. Subsequent fixes to the tests which no longer by default emit the warning. Added explicit test cases for both C and C++ behavior with the warning turned on. llvm-svn: 108325
* Add support for NEON VMVN immediate instructions.Bob Wilson2010-07-144-7/+96
| | | | llvm-svn: 108324
OpenPOWER on IntegriCloud