summaryrefslogtreecommitdiffstats
path: root/llvm/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Add bad register checks for Thumb2 Ld/St instructions.Johnny Chen2011-04-121-0/+10
| | | | | | rdar://problem/9269047 llvm-svn: 129387
* Revert 129383. It causes some targets to hit a scheduler assert.Andrew Trick2011-04-122-4/+6
| | | | llvm-svn: 129385
* PreRA scheduler heuristic fixes: VRegCycle, TokenFactor latency.Andrew Trick2011-04-122-6/+4
| | | | | | | | | | | | UnitsSharePred was a source of randomness in the scheduler: node priority depended on the queue data structure. I rewrote the recent VRegCycle heuristics to completely replace the old heuristic without any randomness. To make these heuristic adjustments to node latency work, I also needed to do something a little more reasonable with TokenFactor. I gave it zero latency to its consumers and always schedule it as low as possible. llvm-svn: 129383
* The Thumb2 Ld, St, and Preload instructions with the i12 forms should have ↵Johnny Chen2011-04-121-1/+13
| | | | | | | | | | its Inst{23} be specified as '1' (add = TRUE). Also add a utility function for Thumb2. llvm-svn: 129377
* Print out a debug message when the reglist fails the sanity check for Thumb ↵Johnny Chen2011-04-121-0/+10
| | | | | | Ld/St Multiple. llvm-svn: 129365
* Fix the case of a .cfi_rel_offset before any .cfi_def_cfa_offset.Rafael Espindola2011-04-121-0/+41
| | | | llvm-svn: 129362
* Implement .cfi_same_value.Rafael Espindola2011-04-121-0/+42
| | | | llvm-svn: 129361
* Split a store of a VMOVDRR into two integer stores to avoid mixing NEON and ARMCameron Zwarich2011-04-121-1/+1
| | | | | | | stores of arguments in the same cache line. This fixes the second half of <rdar://problem/8674845>. llvm-svn: 129345
* Add one test case (svc).Johnny Chen2011-04-121-0/+3
| | | | llvm-svn: 129327
* Match case for invalid constant error messages and add a newEric Christopher2011-04-121-1/+4
| | | | | | test for invalid hexadecimals. llvm-svn: 129326
* A8.6.16 BJohnny Chen2011-04-121-0/+10
| | | | | | | | | Encoding T1 (tBcc) if cond == '1110' then UNDEFINED; rdar://problem/9268681 llvm-svn: 129325
* Fix reassociate to use a worklist instead of recursing when newDan Gohman2011-04-121-0/+24
| | | | | | | | | reassociation opportunities are exposed. This fixes a bug where the nested reassociation expects to be the IR to be consistent, but it isn't, because the outer reassociation has disconnected some of the operands. rdar://9167457 llvm-svn: 129324
* Test for invalid constant expr addition - bad octal constant.Eric Christopher2011-04-121-13/+5
| | | | llvm-svn: 129323
* Thumb disassembler was erroneously rejecting "blx sp" instruction.Johnny Chen2011-04-111-0/+9
| | | | | | rdar://problem/9267838 llvm-svn: 129320
* remove the StructRetPromotion pass. It is unused, not maintained andChris Lattner2011-04-115-87/+0
| | | | | | | has some bugs. If this is interesting functionality, it should be reimplemented in the argpromotion pass. llvm-svn: 129314
* Add scheduling information for the MBlaze backend.Wesley Peck2011-04-112-15/+9
| | | | llvm-svn: 129311
* Implement cfi_rel_offsetRafael Espindola2011-04-111-0/+49
| | | | llvm-svn: 129306
* Add test for previous commit.Rafael Espindola2011-04-111-0/+46
| | | | llvm-svn: 129304
* Fix the bug where the immediate shift amount for Thumb logical shift ↵Johnny Chen2011-04-111-0/+6
| | | | | | | | instructions are incorrectly disassembled. rdar://problem/9266265 llvm-svn: 129298
* Look pass copies when determining whether hoisting would end up inserting ↵Evan Cheng2011-04-111-0/+34
| | | | | | more copies. rdar://9266679 llvm-svn: 129297
* Check invalid register encodings for LdFrm/StFrm ARM instructions and flag ↵Johnny Chen2011-04-114-0/+34
| | | | | | | | them as invalid instructions. llvm-svn: 129286
* Revert r129235 pending a vetting of the EH rewrite.Bill Wendling2011-04-101-29/+0
| | | | | | | | | | | | | | | | --- Reverse-merging r129235 into '.': D test/Feature/bb_attrs.ll U include/llvm/BasicBlock.h U include/llvm/Bitcode/LLVMBitCodes.h U lib/VMCore/AsmWriter.cpp U lib/VMCore/BasicBlock.cpp U lib/AsmParser/LLParser.cpp U lib/AsmParser/LLLexer.cpp U lib/AsmParser/LLToken.h U lib/Bitcode/Reader/BitcodeReader.cpp U lib/Bitcode/Writer/BitcodeWriter.cpp llvm-svn: 129259
* Beginning of the Great Exception Handling Rewrite.Bill Wendling2011-04-101-0/+29
| | | | | | | | | | | | | * Add a "landing pad" attribute to the BasicBlock. * Modify the bitcode reader and writer to handle said attribute. Later: The verifier will ensure that the landing pad attribute is used in the appropriate manner. I.e., not applied to the entry block, and applied only to basic blocks that are branched to via a `dispatch' instruction. (This is a work-in-progress.) llvm-svn: 129235
* fix rdar://8735979 - "int 3" doesn't match to "int3". Unfortunately,Chris Lattner2011-04-091-0/+4
| | | | | | | InstAlias doesn't allow matching immediate operands, so we have to write C++ code to do this. llvm-svn: 129223
* look for the verboten argument slot access in any order, thanks to FritsChris Lattner2011-04-091-0/+1
| | | | | | for pointing this out llvm-svn: 129217
* Don't store Twine temporaries, it's not safe.Benjamin Kramer2011-04-091-1/+5
| | | | | | And don't append the name over and over again in the loop. llvm-svn: 129210
* Add back a couple checks removed by r129128; the fact that an intitializerEli Friedman2011-04-091-0/+5
| | | | | | | is an array of structures doesn't imply it's a ConstantArray of ConstantStruct. llvm-svn: 129207
* fix PR9523, a crash in looprotate on a non-canonical loop made out of ↵Chris Lattner2011-04-091-0/+16
| | | | | | indirectbr. llvm-svn: 129203
* Fix a bug where RecursivelyDeleteTriviallyDeadInstructions couldChris Lattner2011-04-091-0/+28
| | | | | | | delete the instruction pointed to by CGP's current instruction iterator, leading to a crash on the testcase. This fixes PR9578. llvm-svn: 129200
* PR9604; try to deal with RAUW updates correctly in the AST. I'm not convincedEli Friedman2011-04-091-0/+49
| | | | | | | 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 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
* have dag combine zap "store undef", which can be formed during call loweringChris Lattner2011-04-091-0/+15
| | | | | | with undef arguments. llvm-svn: 129185
* don't test for codegen of 'store undef'Chris Lattner2011-04-092-7/+11
| | | | llvm-svn: 129184
* Add radar number for future reference.Devang Patel2011-04-081-1/+1
| | | | llvm-svn: 129172
* Do not emit DW_AT_upper_bound and DW_AT_lower_bound for unbouded array.Devang Patel2011-04-081-0/+34
| | | | | | | | 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
* Change -arm-trap-func= into a non-arm specific option. Now Intrinsic::trap ↵Evan Cheng2011-04-081-1/+1
| | | | | | is lowered into a call to the specified trap function at sdisel time. llvm-svn: 129152
* Hanlde the checking of bad regs for SMMLAR properly, instead of asserting.Johnny Chen2011-04-081-0/+3
| | | | | | | PR9650 rdar://problem/9257565 llvm-svn: 129147
* Sanity check the option operand for DMB/DSB.Johnny Chen2011-04-083-0/+38
| | | | | | | PR9648 rdar://problem/9257634 llvm-svn: 129146
* 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
* Add sanity checking for bad register specifier(s) for the DPFrm instructions.Johnny Chen2011-04-084-0/+50
| | | | | | 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
* Do not let debug info interfer with branch folding.Devang Patel2011-04-071-0/+58
| | | | llvm-svn: 129114
* Add a VEXT test.Johnny Chen2011-04-071-0/+3
| | | | llvm-svn: 129111
* Add option to emit @llvm.trap as a function call instead of a trap ↵Evan Cheng2011-04-071-3/+8
| | | | | | instruction. rdar://9249183. llvm-svn: 129107
* Add support for .skip.Rafael Espindola2011-04-071-0/+5
| | | | | | | Patch by Roman Divacky. Fixes PR9361. llvm-svn: 129106
* Added a check in the preRA scheduler for potential interference on aAndrew Trick2011-04-071-0/+31
| | | | | | | | | 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-071-0/+52
| | | | llvm-svn: 129099
* Add sanity checking for invalid register encodings for signed/unsigned ↵Johnny Chen2011-04-072-0/+17
| | | | | | | | extend instructions. Add some test cases. llvm-svn: 129098
OpenPOWER on IntegriCloud