summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* build/Darwin: Add a missing directory dependency.Daniel Dunbar2010-07-151-1/+1
| | | | llvm-svn: 108463
* remove some unneeded overloads that were causing Chris Lattner2010-07-151-20/+0
| | | | | | ambiguity problems on some systems. llvm-svn: 108462
* fix the definitions of ConstTextCoalSection/ConstDataCoalSectionChris Lattner2010-07-152-4/+5
| | | | | | | | | | | to keep "Text" in sync with the "pure instructions" section attribute. Lack of this attribute was preventing the assembler from emitting multibyte noops instructions for templates (and inlines, and other coalesced stuff) and was causing the assembler to mismatch .o files. This fixes rdar://8018335 llvm-svn: 108461
* fix indentation and 80 colsChris Lattner2010-07-151-2/+3
| | | | llvm-svn: 108460
* When we're performing tentative parsing to determine whether theDouglas Gregor2010-07-153-15/+34
| | | | | | | | | | | | | | | | parser is looking at a declaration or an expression, use a '=' to conclude that we are parsing a declaration. This is wrong. However, our previous approach of finding a comma after the '=' is also wrong, because the ',' could be part of a template-argument-list. So, for now we're going to use the same wrong heuristic as GCC and Visual C++, because less real-world code is likely to be broken this way. I've opened PR7655 to keep track of our wrongness; note also the XFAIL'd test. Fixes <rdar://problem/8193163>. llvm-svn: 108459
* Revert 108456. i.e. bring back r108444.Devang Patel2010-07-151-0/+21
| | | | llvm-svn: 108458
* build/Darwin: Add missing Info.plist template.Daniel Dunbar2010-07-151-0/+18
| | | | llvm-svn: 108457
* Revert 108444. It breaks a build.Devang Patel2010-07-151-21/+0
| | | | llvm-svn: 108456
* Don't merge uses when they are targetting fixup sites withDan Gohman2010-07-151-1/+20
| | | | | | | | | | | | | different widths. In a use with a narrower fixup, formulae may be wider than the fixup, in which case the high bits aren't necessarily meaningful, so it isn't safe to reuse them for uses with wider fixups. This fixes PR7618, though the testcase is too large for a reasonable regression test, since it heavily dependes on hitting LSR's heuristics in a certain way. llvm-svn: 108455
* fix the encoding of MMX_MOVFR642Qrr, it starts with 0xF2 not 0xF3,Chris Lattner2010-07-151-1/+1
| | | | | | | | this fixes rdar://8192860. Unfortunately it can only be triggered with llc because llvm-mc matches another (correctly encoded) version of this, so no testcase. llvm-svn: 108454
* Use dbgs() instead of errs() in a DEBUG.Dan Gohman2010-07-151-1/+1
| | | | llvm-svn: 108453
* Use std::vector instead of TargetRegisterInfo::FirstVirtualRegister.Bill Wendling2010-07-151-3/+3
| | | | llvm-svn: 108452
* Teach ScalarEvolution how to fold trunc(undef) and anyext(undef) to undef.Dan Gohman2010-07-151-0/+14
| | | | | | This helps LSR behave more consistently on bugpoint-reduced testcases. llvm-svn: 108451
* Use std::vector instead of TargetRegisterInfo::FirstVirtualRegister.Bill Wendling2010-07-151-2/+3
| | | | llvm-svn: 108450
* Use std::vector instead of TargetRegisterInfo::FirstVirtualRegister. This timeBill Wendling2010-07-153-18/+24
| | | | | | make sure to allocate enough space in the std::vector. llvm-svn: 108449
* Reserve a goodly amount of room for the vectors.Bill Wendling2010-07-151-2/+4
| | | | llvm-svn: 108448
* build/Darwin: Enable version information for clang executable.Daniel Dunbar2010-07-151-0/+26
| | | | llvm-svn: 108445
* build/Darwin: Add support for embedding version information in tool executables.Daniel Dunbar2010-07-151-0/+21
| | | | llvm-svn: 108444
* Reinstate the scalar-cast-to-const-reference improvements, this timeDouglas Gregor2010-07-152-12/+213
| | | | | | | | | with the proper spelling of "non-class prvalue". Silly me, I think class rvalues were xvalues rather than prvalues! Hah hah hah. llvm-svn: 108443
* Make the "unused result" warning a warning about run-time behavior, soDouglas Gregor2010-07-155-10/+10
| | | | | | that we don't warn when there isn't going to be any computation anyway. llvm-svn: 108442
* Fix crash reported in PR7653.Devang Patel2010-07-152-1/+13
| | | | llvm-svn: 108441
* Use std::vector instead of TargetRegisterInfo::FirstVirtualRegister.Bill Wendling2010-07-152-14/+14
| | | | llvm-svn: 108440
* Revert r108431 and r108433 (the cast-to-const-reference fixes), whichDouglas Gregor2010-07-152-212/+12
| | | | | | broke nightlytest. llvm-svn: 108439
* Use std::vector instead of TargetRegisterInfo::FirstVirtualRegister.Bill Wendling2010-07-151-1/+1
| | | | llvm-svn: 108438
* Add test case for PR5290; this bug was fixed with the non-class rvalueDouglas Gregor2010-07-151-0/+18
| | | | | | de-cv-qualification fixes. llvm-svn: 108437
* Speculatively revert r108429 to fix the clang self-host.Owen Anderson2010-07-152-19/+28
| | | | llvm-svn: 108436
* Tests for basic posix regex templated on wchar_tHoward Hinnant2010-07-152-1/+744
| | | | llvm-svn: 108435
* Revert 108220 and subsequent patch. Devang Patel2010-07-152-32/+0
| | | | | | This is not required (I am not 100% sure why) but method.exp from gdb testsuite flagged regression due to this patch. llvm-svn: 108434
* Spell isPRValue() properly.Douglas Gregor2010-07-151-2/+1
| | | | llvm-svn: 108433
* Updated ELF.h in the llvm.zip to have the new needed defines (EI_NIDENT, Greg Clayton2010-07-150-0/+0
| | | | | | e_ident, EI_CLASS to name a few). llvm-svn: 108432
* Teach CodeGenFunction::EmitCastLValue() to handle casts to an lvalueDouglas Gregor2010-07-152-12/+213
| | | | | | | | that involve binding a reference to a pure rvalue temporary (e.g., not a class temporary), by creating a new temporary and copying the result there. Fixes PR6024. llvm-svn: 108431
* Per Chris' suggestion, get rid of the select canonicalization and just addOwen Anderson2010-07-152-28/+19
| | | | | | | | the corresponding or-icmp-and pattern. This has the added benefit of doing the matching earlier, and thus being less susceptible to being confused by earlier transforms. llvm-svn: 108429
* CK_BitCast is not an lvalue bitcast any longerDouglas Gregor2010-07-151-1/+0
| | | | llvm-svn: 108428
* Remove unneeded check, and correct style.Owen Anderson2010-07-151-3/+2
| | | | llvm-svn: 108427
* Driver/Darwin: Resolve deployment target defaulting to be more predictable;Daniel Dunbar2010-07-153-14/+8
| | | | | | assume we are targetting OS X unless an explicit option is given. llvm-svn: 108426
* Driver/Darwin: Allow -m{ios,macosx}-version-min= to be passed with -Xarch.Daniel Dunbar2010-07-151-2/+2
| | | | | | | - This should be safe, because the driver itself shouldn't need to make decisions that depend on the deployment target. llvm-svn: 108425
* Watch out for a constant offset cancelling out a base register, formingDan Gohman2010-07-152-2/+53
| | | | | | | a zero. This situation arrises in Fortran code with induction variables that start at 1 instead of 0. This fixes PR7651. llvm-svn: 108424
* CodeGen: Tweak ABI handling for Minix, patch by Kees van Reeuwijk!Daniel Dunbar2010-07-151-1/+0
| | | | llvm-svn: 108423
* Reapply r108378, with bugfixes, testcase, and improved comment formatting.Owen Anderson2010-07-153-0/+62
| | | | | | This now passes LIT, nighty test, and llvm-gcc bootstrap on my machine. llvm-svn: 108422
* cache another dereferenced iteratorGabor Greif2010-07-151-4/+6
| | | | llvm-svn: 108421
* 80-col.Eric Christopher2010-07-151-5/+5
| | | | llvm-svn: 108420
* revert bill's patches in an attempt to fix the buildbot.Chris Lattner2010-07-154-27/+22
| | | | llvm-svn: 108419
* This is a full sentence.Nick Lewycky2010-07-151-1/+1
| | | | llvm-svn: 108418
* Disable aliases on all platforms.Nick Lewycky2010-07-151-0/+5
| | | | llvm-svn: 108417
* Correctly set rpath on Mac OS X for executable tools. Note that I am not ↵Ted Kremenek2010-07-151-0/+5
| | | | | | certain this is the best fix; the code immediately above looks confused, as it first checks to see if we are NOT on Darwin and then checks the Darwin version number. This fix allows c-index-test (in Clang) to run outside of running the regression test suite. I would appreciate if someone reviewed this. llvm-svn: 108416
* Fix PR7647, handling the case when 'To' ends up being Chris Lattner2010-07-152-14/+81
| | | | | | | | | | mutated by recursive simplification. This also enhances ReplaceAndSimplifyAllUses to actually do a real RAUW at the end of it, which updates any value handles pointing to "From" to start pointing to "To". This seems useful for debug info and random other VH users. llvm-svn: 108415
* make various clients of ReplaceAndSimplifyAllUses tolerate Chris Lattner2010-07-151-2/+3
| | | | | | | | it *changing* the things it replaces, not just causing them to drop to null. There is no functionality change yet, but this is required for a subsequent patch. llvm-svn: 108414
* Fix headers.Bill Wendling2010-07-152-1/+1
| | | | llvm-svn: 108413
* Use std::vector instead of a hard-coded array. The length of that array couldBill Wendling2010-07-152-17/+20
| | | | | | get *very* large, but we only need it to be the size of the number of pregs. llvm-svn: 108412
* Use std::vector instead of a hard-coded array. The length of that array couldBill Wendling2010-07-152-6/+8
| | | | | | get *very* large, but we only need it to be the size of thenumber of pregs. llvm-svn: 108411
OpenPOWER on IntegriCloud