summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add sanity checking for invalid register encodings for signed/unsigned ↵Johnny Chen2011-04-073-0/+22
| | | | | | | | extend instructions. Add some test cases. llvm-svn: 129098
* Add sanity checking for invalid register encodings for saturating instructions.Johnny Chen2011-04-072-0/+16
| | | | llvm-svn: 129096
* Recompute hasPHIKill flags when shrinking live intervals.Jakob Stoklund Olesen2011-04-071-1/+3
| | | | | | PHI values may be deleted, causing the flags to be wrong. This fixes PR9616. llvm-svn: 129092
* Add some more comments about checkings of invalid register numbers.Johnny Chen2011-04-073-0/+19
| | | | | | And two test cases. llvm-svn: 129090
* Expose more passes to the C API.Rafael Espindola2011-04-072-0/+28
| | | | llvm-svn: 129087
* Avoid moving iterators when the previous block was just visited.Jakob Stoklund Olesen2011-04-071-8/+13
| | | | llvm-svn: 129081
* Prefer multiplications to divisions.Jakob Stoklund Olesen2011-04-071-7/+13
| | | | llvm-svn: 129080
* Extract SpillPlacement::addLinks for handling the special transparent blocks.Jakob Stoklund Olesen2011-04-073-37/+49
| | | | llvm-svn: 129079
* While hoisting common code from if/else, hoist debug info intrinsics if they ↵Devang Patel2011-04-072-8/+71
| | | | | | match. llvm-svn: 129078
* Prevent ARM DAG Combiner from doing an AND or OR combine on an illegal ↵Tanya Lattner2011-04-072-0/+24
| | | | | | vector type (vectors of size 3). Also included test cases. llvm-svn: 129074
* Fix a bit of nonsense.Jay Foad2011-04-071-2/+2
| | | | llvm-svn: 129073
* add faust tooChris Lattner2011-04-071-0/+14
| | | | llvm-svn: 129053
* add a few late stragglers.Chris Lattner2011-04-071-0/+30
| | | | llvm-svn: 129052
* Fixed a bug where missing EDInstInfo would causeSean Callanan2011-04-071-0/+3
| | | | | | tokenization to crash and burn. llvm-svn: 129051
* Sanity check MSRi for invalid mask values and reject it as invalid.Johnny Chen2011-04-072-0/+17
| | | | | | rdar://problem/9246844 llvm-svn: 129050
* PR9634: Don't unconditionally tell the AliasSetTracker that the PreheaderLoadEli Friedman2011-04-074-23/+45
| | | | | | | | | | | is equivalent to any other relevant value; it isn't true in general. If it is equivalent, the LoopPromoter will tell the AST the equivalence. Also, delete the PreheaderLoad if it is unused. Chris, since you were the last one to make major changes here, can you check that this is sane? llvm-svn: 129049
* The ARM disassembler was not recognizing USADA8 instruction. Need to add ↵Johnny Chen2011-04-072-3/+8
| | | | | | | | | | checking for register values for USAD8 and USADA8. rdar://problem/9247060 llvm-svn: 129047
* Change -arm-divmod-libcall to a target neutral option.Evan Cheng2011-04-074-7/+12
| | | | llvm-svn: 129045
* Remove dead code. rdar://9221736.Evan Cheng2011-04-071-5/+0
| | | | llvm-svn: 129044
* Should also check SMLAD for invalid register values.Johnny Chen2011-04-072-6/+23
| | | | | | rdar://problem/9246650 llvm-svn: 129042
OpenPOWER on IntegriCloud