summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [analyzer] Change large if body to early return. No functionality change.Jordy Rose2011-06-141-77/+78
| | | | llvm-svn: 132956
* [analyzer] Fix modeling of strnlen to be more conservative. Move tests we ↵Jordy Rose2011-06-143-77/+239
| | | | | | can't properly model (yet?) to string-fail.c. llvm-svn: 132955
* Use Value::stripPointerCasts instead of reinventing part of the wheel.Nick Lewycky2011-06-141-6/+2
| | | | llvm-svn: 132954
* Make __gnu_inline__ functions in gnu99 mode work the same way as inline ↵Eli Friedman2011-06-133-18/+27
| | | | | | | | functions in gnu89 mode in terms of redefinitions. rdar://9559708 . llvm-svn: 132953
* Fix grammar.Cameron Zwarich2011-06-131-3/+3
| | | | llvm-svn: 132952
* Removed unneeded method breakAfterLaunch() from the TestBase class to ↵Johnny Chen2011-06-133-45/+0
| | | | | | | | simplify our base class. It was introduced to work around some debugger infrastructure bug which has long since been fixed. llvm-svn: 132951
* New test case for r132949.Devang Patel2011-06-131-0/+31
| | | | llvm-svn: 132950
* Put local variables in appropriate debug info scope.Devang Patel2011-06-131-5/+5
| | | | | | This fixes radar 8757124. llvm-svn: 132949
* Remote this unreliable test case because it did not do its job.Devang Patel2011-06-131-20/+0
| | | | llvm-svn: 132948
* Update extensions section of the docs to account for wacky gcc stuff we did ↵Eli Friedman2011-06-131-13/+1
| | | | | | end up implementing. llvm-svn: 132947
* Clean up a few 80 column violations.Jim Grosbach2011-06-136-40/+50
| | | | llvm-svn: 132946
* Whack a bunch of tests in CodeGenCXX to work on ARM (using ARM ABI). Batch ↵Eli Friedman2011-06-138-32/+32
| | | | | | 1 of 3 or so. llvm-svn: 132945
* Rename MergeInType to MergeInTypeForLoadOrStore.Cameron Zwarich2011-06-131-8/+10
| | | | llvm-svn: 132940
* Remove the HadAVector instance variable and replace it with a use of ScalarKind.Cameron Zwarich2011-06-131-15/+26
| | | | llvm-svn: 132939
* Remove a vacuous check.Cameron Zwarich2011-06-131-1/+1
| | | | llvm-svn: 132938
* Have SRoA explicitly track the kind of scalar it is promoting. This is prettyCameron Zwarich2011-06-131-10/+21
| | | | | | | | spartan right now, but I plan to encode more information in this enum to improve the correctness and reliability of SRoA. At least this first pass makes it possible to make VectorTy an actual VectorType. llvm-svn: 132937
* Remove an argument that is always true.Cameron Zwarich2011-06-131-6/+5
| | | | llvm-svn: 132936
* Cleaning up the Python script interpreter: Use theCaroline Tice2011-06-131-133/+7
| | | | | | | | embedded_interpreter.py file rather than keeping it all in a string and compiling the string (easier to maintain, easier to read, remove redundancy). llvm-svn: 132935
* Fix coordination for using R4 in Thumb1 as a scratch for SP restore.Jim Grosbach2011-06-132-4/+9
| | | | | | | | The logic for reserving R4 for use as a scratch needs to match that for actually using it. Also, it's not necessary for immediate <=508, so adjust the value checked. llvm-svn: 132934
* Aliased flag options should be directed to stdout, not stderr to be ↵Evan Cheng2011-06-131-2/+2
| | | | | | consistent. Patch by Julien Lerouge. llvm-svn: 132931
* More prompt-timing cleanups: Make multi-line expressionsCaroline Tice2011-06-132-10/+14
| | | | | | | use the asynchronous stream mechanism rather than writing directly to the Debugger's output & error streams. llvm-svn: 132930
* Add compatibility version when compiling the Apple way.Bill Wendling2011-06-131-0/+30
| | | | | | <rdar://problem/9600408> llvm-svn: 132929
* build/clang_darwin: Improve archs check to verify we can not just recognizeDaniel Dunbar2011-06-131-1/+1
| | | | | | arch, but actually compile a file with that arch. llvm-svn: 132928
* Avoid fusing bitcasts with dynamic allocas if the amount-to-allocateStuart Hastings2011-06-132-0/+65
| | | | | | | | might overflow. Re-typing the alloca to a larger type (e.g. double) hoists a shift into the alloca, potentially exposing overflow in the expression. rdar://problem/9265821 llvm-svn: 132926
* Move class into an anonymous namespace.Benjamin Kramer2011-06-131-1/+2
| | | | llvm-svn: 132925
* Put classes into anonymous namespaces.Benjamin Kramer2011-06-131-20/+26
| | | | llvm-svn: 132924
* Fix a bug in FindMemType. When widening vector loads, use a wider memory typeNadav Rotem2011-06-131-0/+2
| | | | | | | only if the number of packed elements is a power of two. Bug found in Duncan's testcase. llvm-svn: 132923
* Clean up the vector testsMarshall Clow2011-06-132-43/+50
| | | | llvm-svn: 132921
* Eliminate the -f[no]objc-infer-related-result-type flags; there's noDouglas Gregor2011-06-1318-36/+19
| | | | | | reason to allow the user to control these semantics through a flag. llvm-svn: 132919
* Update Indexer test for new 'atomic' keyword.Fariborz Jahanian2011-06-131-2/+14
| | | | llvm-svn: 132918
* Document CheckObjCMethodOverridesDouglas Gregor2011-06-131-1/+9
| | | | llvm-svn: 132917
* mention graph vis isn't available in Release builds.Chris Lattner2011-06-131-0/+4
| | | | llvm-svn: 132916
* InstCombine: Fold A-b == C --> b == A-C if A and C are constants.Benjamin Kramer2011-06-133-12/+32
| | | | | | The backend already knew this trick. llvm-svn: 132915
* Revert r132910 and r132909 on behalf of Michael. They didn't build with clang.Benjamin Kramer2011-06-135-220/+0
| | | | llvm-svn: 132914
* Revert the last two commits in the series. r132911, r132912.Michael J. Spencer2011-06-139-227/+175
| | | | llvm-svn: 132913
* Modify llvm-nm to use new Binary creation method.Michael J. Spencer2011-06-131-5/+5
| | | | llvm-svn: 132912
* Make Binary the parent of ObjectFile and update children to new interface.Michael J. Spencer2011-06-139-170/+222
| | | | llvm-svn: 132911
* Add Binary class. This is a cleaner parent than ObjectFile.Michael J. Spencer2011-06-133-0/+115
| | | | llvm-svn: 132910
* Add Object/Error.Michael J. Spencer2011-06-133-0/+105
| | | | llvm-svn: 132909
* Fix spelling and sort CMakeLists.txt.Michael J. Spencer2011-06-133-7/+7
| | | | llvm-svn: 132908
* It's possible that an all-zero GEP may be used as the argument to lifetimeNick Lewycky2011-06-131-2/+6
| | | | | | | | | intrinsics. In fact, we'll optimize a bitcast to that when possible. Detect it when looking for the lifetime intrinsics. No test case, noticed by inspection. llvm-svn: 132906
* Give a diagnostic when using non-POD types in a va_argDavid Majnemer2011-06-133-1/+17
| | | | llvm-svn: 132905
* Improve the diagnostics generated for switch statements missing expressionsDavid Majnemer2011-06-132-4/+21
| | | | | | | - Move the diagnostic to the case statement instead of at the end of the switch - Add a fix-it hint as to how to fix the compilation error llvm-svn: 132903
* Fix a broken index left over from before this function was converted toChandler Carruth2011-06-131-1/+1
| | | | | | handle memcpy and memmove. Spotted by Nico. llvm-svn: 132902
* Correct the spelling of instantiationDavid Majnemer2011-06-131-1/+1
| | | | llvm-svn: 132901
* Be less aggressive about hinting in RAFast.Jakob Stoklund Olesen2011-06-134-9/+59
| | | | | | | | | | In particular, don't spill dirty registers only to satisfy a hint. It is not worth it. The attached test case provides an example where the fast allocator would spill a register when other registers are available. llvm-svn: 132900
* Include callee-saved registers in debug output.Jakob Stoklund Olesen2011-06-131-1/+1
| | | | llvm-svn: 132899
* Fix invalid uses of Twine. Hopefully this fixes the problem that Takumi isRafael Espindola2011-06-131-7/+7
| | | | | | having. llvm-svn: 132898
* InstCombine: Shrink ((zext X) & C1) == C2 to fold away the cast if the ↵Benjamin Kramer2011-06-122-1/+27
| | | | | | "zext" and the "and" have one use. llvm-svn: 132897
* Simplify code. No functionality changes, name changes aside.Benjamin Kramer2011-06-122-13/+8
| | | | llvm-svn: 132896
OpenPOWER on IntegriCloud