summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 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
* 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
* 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
* Add radar number for future reference.Devang Patel2011-04-081-1/+1
| | | | llvm-svn: 129172
* 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
* 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
* Fix an apparent typo that made GCC complainMatt Beaumont-Gay2011-04-081-1/+1
| | | | llvm-svn: 129160
* Do not emit DW_AT_upper_bound and DW_AT_lower_bound for unbouded array.Devang Patel2011-04-083-4/+50
| | | | | | | | If lower bound is more then upper bound then consider it is an unbounded array. An array is unbounded if non-zero lower bound is same as upper bound. If lower bound and upper bound are zero than array has one element. llvm-svn: 129156
* Missing closed tag.Bill Wendling2011-04-081-1/+1
| | | | llvm-svn: 129155
* Change -arm-trap-func= into a non-arm specific option. Now Intrinsic::trap ↵Evan Cheng2011-04-085-26/+33
| | | | | | is lowered into a call to the specified trap function at sdisel time. llvm-svn: 129152
* Workaround g++ 4.2.1 warning diagnostic false positive.Jim Grosbach2011-04-081-2/+2
| | | | llvm-svn: 129149
* Check opcoe (dmb, dsb) instead of bitfields matching.Johnny Chen2011-04-081-12/+1
| | | | llvm-svn: 129148
* Hanlde the checking of bad regs for SMMLAR properly, instead of asserting.Johnny Chen2011-04-082-9/+13
| | | | | | | PR9650 rdar://problem/9257565 llvm-svn: 129147
* Sanity check the option operand for DMB/DSB.Johnny Chen2011-04-085-8/+67
| | | | | | | PR9648 rdar://problem/9257634 llvm-svn: 129146
* Mark hasExtraDefRegAllocReq=1 on LDRD.Jim Grosbach2011-04-081-1/+5
| | | | | | | | | The previous cleanup of LDRD got overzealous and removed it, causing post-RA scheduling to get overzealous in breaking antidependencies and invalidate these instructions. Hilarity and invalid assembly ensued. rdar://9244161 llvm-svn: 129144
* reindent this whole file and do a variety of stylistic cleanups.Chris Lattner2011-04-081-1422/+1400
| | | | | | This code is still a long way from following best practices. llvm-svn: 129140
* fix this to build with the recent StructType changes.Chris Lattner2011-04-081-6/+6
| | | | llvm-svn: 129139
* Refactor MCJIT 32-bit section loading.Jim Grosbach2011-04-084-84/+72
| | | | | | | Teach 32-bit section loading to use the Memory Manager interface, just like the 64-bit loading does. Tidy up a few other things here and there. llvm-svn: 129138
* MOVi16 and MOVTi16 does not allow pc as the dest register, while MOVi allows it.Johnny Chen2011-04-082-0/+16
| | | | | | Add tests for that. llvm-svn: 129137
* llvm.global_[cd]tor is defined to be either external, or appending with an arrayNick Lewycky2011-04-084-37/+33
| | | | | | | of { i32, void ()* }. Teach the verifier to verify that, deleting copies of checks strewn about. llvm-svn: 129128
* Only emit the AvailableFeatures variable if it's used.Bill Wendling2011-04-081-4/+7
| | | | llvm-svn: 129124
* Also add the late notes for Mips in the current release noteBruno Cardoso Lopes2011-04-081-1/+5
| | | | llvm-svn: 129122
* Add sanity checking for bad register specifier(s) for the DPFrm instructions.Johnny Chen2011-04-085-0/+80
| | | | | | Add more test cases to exercise the logical branches related to the above change. llvm-svn: 129117
* Update testsRafael Espindola2011-04-0730-71/+71
| | | | llvm-svn: 129116
* Micro optimization and improved similarity with gas' output:Rafael Espindola2011-04-071-10/+38
| | | | | | When two section names share a suffix, reuse the entry in shstrtab. llvm-svn: 129115
* Do not let debug info interfer with branch folding.Devang Patel2011-04-072-0/+64
| | | | llvm-svn: 129114
* Add a VEXT test.Johnny Chen2011-04-071-0/+3
| | | | llvm-svn: 129111
* Replace the old algorithm that emitted the "print the alias for an instruction"Bill Wendling2011-04-076-152/+88
| | | | | | | | | | | | | with the newer, cleaner model. It uses the IAPrinter class to hold the information that is needed to match an instruction with its alias. This also takes into account the available features of the platform. There is one bit of ugliness. The way the logic determines if a pattern is unique is O(N**2), which is gross. But in reality, the number of items it's checking against isn't large. So while it's N**2, it shouldn't be a massive time sink. llvm-svn: 129110
* If present, use gold's support for getting a file view. This prevents havingRafael Espindola2011-04-071-1/+12
| | | | | | to map the file both in the linker and in the plugin. llvm-svn: 129109
* Add option to emit @llvm.trap as a function call instead of a trap ↵Evan Cheng2011-04-072-4/+31
| | | | | | instruction. rdar://9249183. llvm-svn: 129107
* Add support for .skip.Rafael Espindola2011-04-072-1/+6
| | | | | | | Patch by Roman Divacky. Fixes PR9361. llvm-svn: 129106
* Fix indentation.Akira Hatanaka2011-04-071-2/+2
| | | | llvm-svn: 129105
* Update ATUsed every time after expandRegLargeImmPair is called.Akira Hatanaka2011-04-071-4/+8
| | | | llvm-svn: 129104
* Fixed encoding for VEXTqfMon P Wang2011-04-071-2/+2
| | | | llvm-svn: 129101
* Added a check in the preRA scheduler for potential interference on aAndrew Trick2011-04-075-10/+145
| | | | | | | | | induction variable. The preRA scheduler is unaware of induction vars, so we look for potential "virtual register cycles" instead. Fixes <rdar://problem/8946719> Bad scheduling prevents coalescing llvm-svn: 129100
* Fix handling of functions with internal linkage.Akira Hatanaka2011-04-072-8/+79
| | | | llvm-svn: 129099
OpenPOWER on IntegriCloud