summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Simplify. isIdenticalToWhenDefined() checks opcode.Devang Patel2011-04-071-4/+2
| | | | llvm-svn: 129041
* Set unnamed_addr on strings created through the IRBuilder.Nick Lewycky2011-04-071-0/+1
| | | | llvm-svn: 129040
* Add support for ArrayRef in IRBuilder's CreateCall.Nick Lewycky2011-04-071-0/+6
| | | | llvm-svn: 129039
* Teach the ARM peephole optimizer that RSB, RSC, ADC, and SBC can be used for ↵Owen Anderson2011-04-062-1/+17
| | | | | | folded comparisons, just like ADD and SUB. llvm-svn: 129038
* Cleanups from Jim: remove redundant constraints and a dead FIXME.Owen Anderson2011-04-061-11/+5
| | | | llvm-svn: 129036
* While folding branch to a common destination into a predecessor, copy dbg ↵Devang Patel2011-04-061-4/+17
| | | | | | values also. llvm-svn: 129035
* Tidy up.Jim Grosbach2011-04-061-2/+1
| | | | llvm-svn: 129034
* A8.6.393Johnny Chen2011-04-062-26/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | The ARM disassembler should reject invalid (type, align) encodings as invalid instructions. So, instead of: Opcode=1641 Name=VST2b32_UPD Format=ARM_FORMAT_NLdSt(30) 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ------------------------------------------------------------------------------------------------- | 1: 1: 1: 1| 0: 1: 0: 0| 0: 0: 0: 0| 0: 0: 1: 1| 0: 0: 0: 0| 1: 0: 0: 1| 1: 0: 1: 1| 0: 0: 1: 1| ------------------------------------------------------------------------------------------------- vst2.32 {d0, d2}, [r3, :256], r3 we now have: Opcode=1641 Name=VST2b32_UPD Format=ARM_FORMAT_NLdSt(30) 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ------------------------------------------------------------------------------------------------- | 1: 1: 1: 1| 0: 1: 0: 0| 0: 0: 0: 0| 0: 0: 1: 1| 0: 0: 0: 0| 1: 0: 0: 1| 1: 0: 1: 1| 0: 0: 1: 1| ------------------------------------------------------------------------------------------------- mc-input.txt:1:1: warning: invalid instruction encoding 0xb3 0x9 0x3 0xf4 ^ llvm-svn: 129033
* tidy up.Jim Grosbach2011-04-061-1/+1
| | | | llvm-svn: 129032
* Also account for the spill code that would be inserted in live-through ↵Jakob Stoklund Olesen2011-04-061-5/+16
| | | | | | blocks with interference. llvm-svn: 129030
* Abort the constraint calculation early when all positive bias is lost.Jakob Stoklund Olesen2011-04-061-33/+63
| | | | | | | Without any positive bias, there is nothing for the spill placer to to. It will spill everywhere. llvm-svn: 129029
* Fix typo in doxy-comment.Nick Lewycky2011-04-061-1/+1
| | | | llvm-svn: 129028
* A8.6.92 MCR (Encoding A1): if coproc == '101x' then SEE "Advanced SIMD and VFP"Johnny Chen2011-04-064-1/+30
| | | | | | | | | | Since these "Advanced SIMD and VFP" instructions have more specfic encoding bits specified, if coproc == 10 or 11, we should reject the insn as invalid. rdar://problem/9239922 rdar://problem/9239596 llvm-svn: 129027
* Fix comment to use llvm 2.x syntax.Nick Lewycky2011-04-061-1/+1
| | | | llvm-svn: 129025
* Replace const std::vector& with ArrayRef in the type creation APIs.Nick Lewycky2011-04-063-13/+15
| | | | llvm-svn: 129024
* Keep track of the number of positively biased nodes when adding constraints.Jakob Stoklund Olesen2011-04-063-3/+16
| | | | | | If there are no positive nodes, the algorithm can be aborted early. llvm-svn: 129021
* Break the spill placement algorithm into three parts: prepare, ↵Jakob Stoklund Olesen2011-04-063-30/+39
| | | | | | | | addConstraints, and finish. This will allow us to abort the algorithm early if it is determined to be futile. llvm-svn: 129020
* Fix a typo.Roman Divacky2011-04-061-1/+1
| | | | llvm-svn: 129019
* Fix a bug in the disassembly of VGETLNs8 where the lane index was wrong.Johnny Chen2011-04-063-1/+6
| | | | | | | | | Also set the encoding bits (for A8.6.303, A8.6.328, A8.6.329) Inst{3-0} = 0b0000, in class NVLaneOp. rdar://problem/9240648 llvm-svn: 129015
* Add another case we are not optimizing.Rafael Espindola2011-04-061-0/+30
| | | | llvm-svn: 129012
* The original issue has been fixed by not doing unnecessary sign extensions.Rafael Espindola2011-04-061-14/+17
| | | | | | Change the test to force a sign extension and expose the problem again. llvm-svn: 129011
* face+palmDevang Patel2011-04-061-4/+4
| | | | | | Keep track of llvm.dbg.value intrinsics with non null values. llvm-svn: 129010
* Do a topological sort of the types before writing them out.Rafael Espindola2011-04-063-29/+71
| | | | | | This takes the linking of libxul on linux from 6m54.931s to 5m39.840s. llvm-svn: 129009
* EngineBuilder setter method for UseMCJIT was missing return value.Jim Grosbach2011-04-061-1/+2
| | | | llvm-svn: 129008
* add rubiniusChris Lattner2011-04-061-0/+13
| | | | llvm-svn: 129006
* Fix a few instances of "warning: extra ';' outside of a function [-pedantic]".Frits van Bommel2011-04-061-7/+7
| | | | llvm-svn: 129002
* This testcase passed even without the fix. Added the target info to make theNadav Rotem2011-04-061-0/+3
| | | | | | test fail (without the fix). Thanks Dan. llvm-svn: 128999
* Fix some typos. Minor tweaks to how some things were expressed.Duncan Sands2011-04-061-6/+5
| | | | llvm-svn: 128997
* Trivial typo fixes.Jay Foad2011-04-062-3/+3
| | | | llvm-svn: 128996
* Add an empty key for DebugLoc so that you can store an empty DebugLoc in aNick Lewycky2011-04-062-3/+11
| | | | | | DenseMap. llvm-svn: 128994
OpenPOWER on IntegriCloud