summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* refactor -ccc-gcc-name codeDylan Noblesmith2011-04-093-18/+24
| | | | | | | | | | | | Put the logic for deciding the default name for gcc/g++ in the only place that actually cares about it. This also pushes an ifdef out of the generic driver code to a little further down, when the target is actually known. Hopefully it can be changed into just a runtime check in the future. llvm-svn: 129212
* Don't store Twine temporaries, it's not safe.Benjamin Kramer2011-04-092-9/+11
| | | | | | And don't append the name over and over again in the loop. llvm-svn: 129210
* Make error message more useful.Benjamin Kramer2011-04-091-2/+2
| | | | llvm-svn: 129209
* docs/*.html: Make W3C HTML 4.01 Strict more compliant.NAKAMURA Takumi2011-04-0915-36/+38
| | | | | FIXME: The logo handling in ReleaseNotes.html llvm-svn: 129208
* Add back a couple checks removed by r129128; the fact that an intitializerEli Friedman2011-04-092-4/+11
| | | | | | | is an array of structures doesn't imply it's a ConstantArray of ConstantStruct. llvm-svn: 129207
* PR8369: make __attribute((regparm(0))) work correctly. Original patch byEli Friedman2011-04-0911-22/+44
| | | | | | pageexec@freemail.hu, tweaks by me. llvm-svn: 129206
* Clean up the bool conversion warning. Group it with other conversionChandler Carruth2011-04-093-11/+12
| | | | | | | warnings, and make its text appropriate for constant bool expressions other than 'false'. This should finish off PR9612. llvm-svn: 129205
* Add support for warning on general null pointer expressions of booleanChandler Carruth2011-04-092-6/+13
| | | | | | | type rather than just the literal 'false'. This begins fixing PR9612, but the message is now wrong. WIP, the cleanup of the messaging is next. llvm-svn: 129204
* fix PR9523, a crash in looprotate on a non-canonical loop made out of ↵Chris Lattner2011-04-092-1/+21
| | | | | | indirectbr. llvm-svn: 129203
* fix indentationChris Lattner2011-04-091-7/+6
| | | | llvm-svn: 129202
* accept -x objc-cpp-output as an alias for -x objective-c-cpp-output,Chris Lattner2011-04-091-0/+1
| | | | | | per PR9577 llvm-svn: 129201
* Fix a bug where RecursivelyDeleteTriviallyDeadInstructions couldChris Lattner2011-04-092-3/+46
| | | | | | | delete the instruction pointed to by CGP's current instruction iterator, leading to a crash on the testcase. This fixes PR9578. llvm-svn: 129200
* Avoid excess precision issues that lead to generating host-compiler-specific ↵Chris Lattner2011-04-091-2/+6
| | | | | | | | code. Switch lowering probably shouldn't be using FP for this. This resolves PR9581. llvm-svn: 129199
* PR9604; try to deal with RAUW updates correctly in the AST. I'm not convincedEli Friedman2011-04-093-0/+54
| | | | | | | it's completely safe to cache the AST across LICM runs even with this fix, but this fix can't hurt. llvm-svn: 129198
* Test for r129190.Eli Friedman2011-04-091-0/+32
| | | | llvm-svn: 129197
* fix PR9629 - We were lowering regexes like a{{b|c}}d into ab|cd, whichChris Lattner2011-04-091-0/+8
| | | | | | | is substantially different than a(b|c)d. Form the latter regex instead. This found a few problems in the testsuite, which serves as its test. llvm-svn: 129196
* fix two completely broken tests, which were matching due to PR9629.Chris Lattner2011-04-092-4/+4
| | | | llvm-svn: 129195
* remove a bunch of CHECK lines that aren't checking whatChris Lattner2011-04-091-5/+0
| | | | | | | they thought they were, because alternation was expanding wrong in {{}}'s. llvm-svn: 129194
* regexes are allowed to match empty things, e.g. {{.*}} in filecheck.Chris Lattner2011-04-091-1/+1
| | | | llvm-svn: 129193
* various cleanups, no functionality change.Chris Lattner2011-04-091-10/+6
| | | | llvm-svn: 129192
* revert accidental commit.Chris Lattner2011-04-091-11/+11
| | | | llvm-svn: 129191
* fix a potentially serious bug in AliasSet::removeCallSite Chris Lattner2011-04-092-11/+12
| | | | | | | where we shrunk the list without updating the end iterator. By inspection, from PR9639. llvm-svn: 129190
* add a __sync_swap builtin to fill out the rest of the __sync builtins. Chris Lattner2011-04-095-1/+55
| | | | | | Patch by Dave Zarzycki! llvm-svn: 129189
* Build the Hopfield network incrementally when splitting global live ranges.Jakob Stoklund Olesen2011-04-097-84/+183
| | | | | | | | | It is common for large live ranges to have few basic blocks with register uses and many live-through blocks without any uses. This approach grows the Hopfield network incrementally around the use blocks, completely avoiding checking interference for some through blocks. llvm-svn: 129188
* Precompute interference for neighbor blocks as long as there is no interference.Jakob Stoklund Olesen2011-04-092-22/+37
| | | | | | This doesn't require seeking in the live interval union, so it is very cheap. llvm-svn: 129187
* fix doc comment bug, noticed by JochenChris Lattner2011-04-091-2/+2
| | | | llvm-svn: 129186
* have dag combine zap "store undef", which can be formed during call loweringChris Lattner2011-04-092-2/+23
| | | | | | with undef arguments. llvm-svn: 129185
* don't test for codegen of 'store undef'Chris Lattner2011-04-092-7/+11
| | | | llvm-svn: 129184
* docs/tutorial/OCamlLangImpl7.html: Fix a href to missing Chapter 8.NAKAMURA Takumi2011-04-091-1/+1
| | | | llvm-svn: 129183
* docs: Fix some in-package URLs.NAKAMURA Takumi2011-04-093-12/+12
| | | | | | (eg. trim http://llvm.org/docs/foo -> foo) llvm-svn: 129182
* docs: Canonicalize URLs.NAKAMURA Takumi2011-04-0981-96/+96
| | | | llvm-svn: 129181
* Convert the PointerWidthInBytes variable in EmitMemberPointer() to CharUnitsKen Dyck2011-04-091-4/+4
| | | | | | to eliminate a divide-by-8. No change in functionality intended. llvm-svn: 129180
* Eliminate a divide-by-8 in BuildVMIClassTypeInfo() by using CharUnits forKen Dyck2011-04-091-4/+5
| | | | | | the base offset. No change in functionality intended. llvm-svn: 129179
* Remove a pair of unused diagnostic messages.Eric Christopher2011-04-091-5/+0
| | | | llvm-svn: 129178
* Redirected errors from the AsmParser to the properSean Callanan2011-04-091-0/+10
| | | | | | | | | error stream, in cases where the AsmParser is being invoked by EDDisassembler. Before, they were being sent to errs() because no error handler was installed in the SourceMgr. llvm-svn: 129177
* Apply explicit braces to avoid ambiguous 'else' [-Wparentheses]Nick Lewycky2011-04-091-2/+2
| | | | llvm-svn: 129176
* Moved an access to an object past a NULL check,Sean Callanan2011-04-091-2/+2
| | | | | | making the MC disassembler tester more robust. llvm-svn: 129175
* Eat the UTF-8 BOM at the beginning of a file since it's ignored anyhow.Eric Christopher2011-04-092-7/+19
| | | | | | | | Nom Nom Nom. Patch by Anton Korobeynikov! llvm-svn: 129174
* complete documentation of flags, patch by nobledChris Lattner2011-04-081-0/+1
| | | | llvm-svn: 129173
* Add radar number for future reference.Devang Patel2011-04-081-1/+1
| | | | llvm-svn: 129172
* Fixes a rewrting bug of a property-dot syntax expression insideFariborz Jahanian2011-04-082-0/+28
| | | | | | a block. First part of // rdar://9254348 llvm-svn: 129171
* Simplify array bound checks and clarify comments. One element array can ↵Devang Patel2011-04-082-11/+9
| | | | | | have same non-zero number as lower bound as well as upper bound. llvm-svn: 129170
* Properly traverse a ObjCMethodDecl in RecursiveASTVisitor.Argyrios Kyrtzidis2011-04-081-3/+11
| | | | llvm-svn: 129169
* Fix various things in the instruction emulation code:Caroline Tice2011-04-087-17/+69
| | | | | | | | | | | | - Add ability to control whether or not the emulator advances the PC register (in the emulation state), if the instruction itself does not change the pc value.. - Fix a few typos in asm description strings. - Fix bug in the carry flag calculation. llvm-svn: 129168
* typo fix + expandChris Lattner2011-04-081-2/+2
| | | | llvm-svn: 129167
* Start overhauling static analyzer support for C++ constructors. The ↵Ted Kremenek2011-04-083-36/+135
| | | | | | | | | inlining support isn't complete, and needs to be reworked to model CallEnter/CallExit (just like all other calls). For now, treat constructors mostly like other function calls, making the analysis of C++ code just a little more useful. llvm-svn: 129166
* Really fix the test suite crasher this time.Johnny Chen2011-04-084-7/+7
| | | | llvm-svn: 129165
* Minor format fix.Evan Cheng2011-04-081-2/+2
| | | | llvm-svn: 129164
* Add a function for profiling to run at shutdown. Unlike the existing API, thisNick Lewycky2011-04-082-3/+40
| | | | | | | can be used even when main() isn't present in the Module, but it means that you don't get to read argv[]. llvm-svn: 129163
* Document -ftrap-function= optionEvan Cheng2011-04-081-0/+12
| | | | llvm-svn: 129162
OpenPOWER on IntegriCloud