summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Final step of instcombine debuginfo; switch a couple more places over to ↵Eli Friedman2011-05-275-16/+34
| | | | | | InsertNewInstWith, and use setDebugLoc for the cases which can't be easily handled by the automated mechanisms. llvm-svn: 132167
* Fix warning about || and && without explicit grouping.Chandler Carruth2011-05-261-2/+2
| | | | | | | | This looks like it flagged an actual bug. Devang, please review. I added the parentheses that change behavior, but make the behavior more closely match commit log's intent. llvm-svn: 132165
* Do not insert anything after terminator.Devang Patel2011-05-261-1/+2
| | | | llvm-svn: 132164
* Renamed llvm.x86.sse42.crc32 intrinsics; crc64 doesn't exist. Chad Rosier2011-05-268-48/+96
| | | | | | | crc32.[8|16|32] have been renamed to .crc32.32.[8|16|32] and crc64.[8|16|32] have been renamed to .crc32.64.[8|64]. llvm-svn: 132163
* Comment cleanup.Eric Christopher2011-05-261-2/+2
| | | | llvm-svn: 132162
* Do not move DBG_VALUE in middle of PHI nodes.Devang Patel2011-05-261-1/+4
| | | | llvm-svn: 132161
* Remove extra '.' in the comment.Johnny Chen2011-05-261-1/+1
| | | | llvm-svn: 132160
* Add comment.Johnny Chen2011-05-261-1/+4
| | | | llvm-svn: 132152
* If llvm.dbg.value and the value instruction it refers to are far apart then ↵Devang Patel2011-05-261-1/+13
| | | | | | iSel may not be able to find corresponding Node for llvm.dbg.value during DAG construction. Make iSel's life easier by removing this distance between llvm.dbg.value and its value instruction. llvm-svn: 132151
* Comment change.Johnny Chen2011-05-261-1/+1
| | | | llvm-svn: 132150
* Add comment.Devang Patel2011-05-261-0/+3
| | | | llvm-svn: 132149
* During branch folding avoid inserting redundant DBG_VALUE machine instructions.Devang Patel2011-05-262-0/+105
| | | | llvm-svn: 132148
* Simplify test setup; there's no need to pass a customized dictionary here.Johnny Chen2011-05-261-1/+1
| | | | llvm-svn: 132147
* Silence sign compare warning.Benjamin Kramer2011-05-261-4/+4
| | | | llvm-svn: 132146
* Change the include stack of "instantiated from" notes to fall under the ↵Richard Trieu2011-05-263-1/+13
| | | | | | control of f/fno-diagnostics-show-note-include-stack flags. This should help with reducing diagnostic spew from macros instantiations. llvm-svn: 132143
* regexp-break -> _regexp-break in command string.Jim Ingham2011-05-261-1/+1
| | | | llvm-svn: 132141
* Use MachineFrameInfo::hasCalls instead of MipsFunctionInfo::hasCall to check ifAkira Hatanaka2011-05-263-10/+2
| | | | | | a function has any function calls. llvm-svn: 132140
* Add a fix-it and better error recovery for improperly nested namespaces. ↵Richard Trieu2011-05-264-7/+118
| | | | | | This will give a better error message for cases such as "namespace foo::bar::baz {}" and a suggested fix-it of "namespace foo { namespace bar { namespace baz {} } }" llvm-svn: 132138
* Applied noexcept to everything in [diagnostics] (Chapter 19)Howard Hinnant2011-05-266-141/+149
| | | | llvm-svn: 132137
* Fix some dwarf register numbers.Rafael Espindola2011-05-263-3/+3
| | | | llvm-svn: 132136
* Make few ExecutionEngine tests XFAIL for ARM, since ExecutionEngine is ↵Galina Kistanova2011-05-2615-0/+31
| | | | | | broken for ARM, please remove the following XFAIL when it will be fixed. llvm-svn: 132135
* Turn on cxx_alias_templates supportHoward Hinnant2011-05-261-2/+2
| | | | llvm-svn: 132134
* Fix LTO builds with xcode 4.Rafael Espindola2011-05-261-1/+11
| | | | llvm-svn: 132132
* Add support for C++ exception handling.Akira Hatanaka2011-05-267-21/+76
| | | | llvm-svn: 132131
* Tighen analyzer diagnostics w.r.t ObjC/CF leaks.Ted Kremenek2011-05-262-19/+19
| | | | llvm-svn: 132130
* Applied noexcept to everything in [language.support] (Chapter 18)Howard Hinnant2011-05-268-266/+273
| | | | llvm-svn: 132129
* Reorganize these slightly according to operand type.Eric Christopher2011-05-261-2/+2
| | | | llvm-svn: 132128
* Set HasSetDirective to true.Akira Hatanaka2011-05-261-1/+0
| | | | llvm-svn: 132127
* Fix test on Windows.Eli Friedman2011-05-261-2/+2
| | | | llvm-svn: 132126
* Added [[noreturn]] attribute everywhere it should beHoward Hinnant2011-05-263-11/+17
| | | | llvm-svn: 132125
* lldb-56 with codesign settings fixed in the Xcode projects.Greg Clayton2011-05-263-31/+24
| | | | llvm-svn: 132123
* www: Enable SSI on the webserver.Tobias Grosser2011-05-261-0/+1
| | | | llvm-svn: 132120
* Extract two more methods from the unary type trait checking. TheseChandler Carruth2011-05-261-19/+41
| | | | | | | | | | provide re-usable forms of the rest of the custom validation done here. Still no functionality changed here. With this it should be possible to have an expression-centric code path and a type-centric code path which don't duplicate logic. llvm-svn: 132118
* Remove a no longer relevant comment. It was just repeating theChandler Carruth2011-05-261-2/+1
| | | | | | | information in the previous comment which was preserved and moved with the vec_step implementation code. llvm-svn: 132117
* Extract the vec_step trait operand checking to a stand alone function.Chandler Carruth2011-05-261-15/+21
| | | | | | | It has little overlap with other traits' requirements, so the resulting code is actually simpler. llvm-svn: 132116
* Add a convenience interface for checking expression arguments to unaryChandler Carruth2011-05-263-30/+53
| | | | | | | | | | | | | traits which uses the information embedded in the expression. Use this to simplify several interfaces which repeated information embedded in the expression through explicit arguments. I added an assertion that the only extra piece of data to come in from the parser matches what is stored in the expression. No functionality change intended here. Also cleaned up the doxygen comments for some of these methods and some formatting oddities. llvm-svn: 132115
* Revert r132111. I built Release (without Asserts), so I didn't know about theCharles Davis2011-05-261-2/+0
| | | | | | assert that prevented setting alignment on section creation. llvm-svn: 132113
* Fix definitions of UOP_SaveXMM128, UOP_SaveXMM128Big, and UOP_PushMachFrameCharles Davis2011-05-261-1/+1
| | | | | | to match Microsoft's definitions. llvm-svn: 132112
* Align Win64 EH Table sections to 4 bytes.Charles Davis2011-05-261-0/+2
| | | | llvm-svn: 132111
* Add a test for the chained directives that I forgot last time.Charles Davis2011-05-261-0/+3
| | | | llvm-svn: 132110
* Fix MSVC warning regarding mkdir function usage.Francois Pichet2011-05-261-0/+7
| | | | llvm-svn: 132109
* Reverting 132105: it broke some LLVM-GCC DejaGNU tests.Stuart Hastings2011-05-264-116/+15
| | | | llvm-svn: 132108
* Mark tBX as an indirect branch rather than a return.Cameron Zwarich2011-05-262-9/+9
| | | | llvm-svn: 132107
* Test .seh_startchained and .seh_endchained parsing.Charles Davis2011-05-263-15/+18
| | | | | | | | | | | Rework how the MCWin64EHUnwindInfo instances are stored. Fix issues with chained unwind areas exposed by the test that were related to this. The ChainedParent field had the wrong address, because when the chained unwind info was added, the addresses shifted around. Now we store the pointers to the structures, which are now allocated from the MC heap. llvm-svn: 132106
* Correctly handle a one-word struct passed byval on x86_64.Stuart Hastings2011-05-264-15/+116
| | | | | | rdar://problem/6920088 llvm-svn: 132105
* Implement a new warning for when adding a default argument to a methodAlexis Hunt2011-05-265-6/+33
| | | | | | | | | makes it into a special member function. This is very bad and can lead to all sorts of nastiness including implicit member functions violating the One Definition Rule. This should probably be made ill-formed in a later version of the standard, but for now we'll just warn. llvm-svn: 132104
* indvars: incremental fixes for -disable-iv-rewrite and testcases.Andrew Trick2011-05-262-22/+138
| | | | | | | | Use a proper worklist for use-def traversal without holding onto an iterator. Now that we process all IV uses, we need complete logic for resusing existing derived IV defs. See HoistStep. llvm-svn: 132103
* Skip extra copy from aggregate where it isn't necessary; ↵Eli Friedman2011-05-263-4/+38
| | | | | | | | rdar://problem/8139919 . This shouldn't make much of a difference at -O3, but should substantially reduce the number of generated memcpy's at -O0. Originally r130717, but was backed out due to an ObjC regression. llvm-svn: 132102
* Add a RAGreedy::canEvict function.Jakob Stoklund Olesen2011-05-251-4/+62
| | | | | | | | | | | | This doesn't change functionality (much), but it allows for a more fine-grained eviction policy. The current policy only compares spill weights, and that is not always the best thing to do. Spill weights are designed to serve linear scan, and they don't consider live range splitting. Add a mechanism so canEvict() can request that a live range be evicted and split/spilled. This is to avoid infinite eviction loops. llvm-svn: 132101
* static analyzer: when conservatively evaluating functions, don't invalidate ↵Ted Kremenek2011-05-256-5/+82
| | | | | | the values of globals when the called function is strlen. llvm-svn: 132100
OpenPOWER on IntegriCloud