summaryrefslogtreecommitdiffstats
path: root/llvm/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Reapply r108378, with bugfixes, testcase, and improved comment formatting.Owen Anderson2010-07-151-0/+15
| | | | | | This now passes LIT, nighty test, and llvm-gcc bootstrap on my machine. llvm-svn: 108422
* Fix PR7647, handling the case when 'To' ends up being Chris Lattner2010-07-151-0/+47
| | | | | | | | | | mutated by recursive simplification. This also enhances ReplaceAndSimplifyAllUses to actually do a real RAUW at the end of it, which updates any value handles pointing to "From" to start pointing to "To". This seems useful for debug info and random other VH users. llvm-svn: 108415
* see comment.Chris Lattner2010-07-151-0/+4
| | | | llvm-svn: 108409
* Temporarily disable this test.Eric Christopher2010-07-141-1/+2
| | | | llvm-svn: 108371
* Make it a .ll test case.Devang Patel2010-07-142-50/+108
| | | | llvm-svn: 108370
* Add a testcase for the vla and stack realignment warning.Eric Christopher2010-07-141-0/+7
| | | | llvm-svn: 108365
* Tests for llvm-gcc commit 108360.Dale Johannesen2010-07-142-0/+41
| | | | llvm-svn: 108362
* Improve 64-subtraction of immediates when parts of the immediate can fitJim Grosbach2010-07-143-2/+132
| | | | | | | | | | | in the literal field of an instruction. E.g., long long foo(long long a) { return a - 734439407618LL; } rdar://7038284 llvm-svn: 108339
* Delete fast-isel's trivial load optimization; it breaks debugging becauseDan Gohman2010-07-141-23/+0
| | | | | | it can look past points where a debugger might modify user variables. llvm-svn: 108336
* Fix test to appease the buildbots.Bob Wilson2010-07-141-1/+1
| | | | llvm-svn: 108334
* Fix for PR7193 was overly conservative. The only case where sibcall calleeEvan Cheng2010-07-141-0/+13
| | | | | | | | | | address cannot be allocated a register is in 32-bit mode where the first three arguments are marked inreg. In that case EAX, EDX, and ECX will be used for argument passing. This fixes PR7610. llvm-svn: 108327
* Add support for NEON VMVN immediate instructions.Bob Wilson2010-07-141-0/+48
| | | | llvm-svn: 108324
* revert r108320, I see the failures now...Chris Lattner2010-07-141-13/+0
| | | | llvm-svn: 108322
* reapply benjamin's instcombine patch, I don't see anything wrong with it and ↵Chris Lattner2010-07-141-0/+13
| | | | | | can't repro any problems with a manual self-host. llvm-svn: 108320
* Re-enable the test with fix.Evan Cheng2010-07-141-3/+2
| | | | llvm-svn: 108319
* temporarily disable to test to fix buildbots.Chris Lattner2010-07-141-2/+3
| | | | llvm-svn: 108310
* Teach ProcessImplicitDefs to transform more COPY instructions into ↵Evan Cheng2010-07-141-1/+1
| | | | | | IMPLICIT_DEF (and subsequently eliminate them). This allows machine LICM to hoist IMPLICIT_DEF's. PR7620. llvm-svn: 108304
* Add an ARM-specific DAG combining to avoid redundant VDUPLANE nodes.Bob Wilson2010-07-141-0/+12
| | | | | | Radar 7373643. llvm-svn: 108303
* Add AVX 256-bit compare instructions and a bunch of testcasesBruno Cardoso Lopes2010-07-132-0/+448
| | | | llvm-svn: 108286
* Use a target-specific VMOVIMM DAG node instead of BUILD_VECTOR to representBob Wilson2010-07-131-1/+1
| | | | | | NEON VMOV-immediate instructions. This simplifies some things. llvm-svn: 108275
* AVX 256-bit conversion instructionsBruno Cardoso Lopes2010-07-132-0/+208
| | | | | | Add the x86 VEX_L form to handle special cases where VEX_L must be set. llvm-svn: 108274
* In inline asm treat indirect 'X' constraint as 'm'.Dale Johannesen2010-07-131-0/+18
| | | | | | | This may not be right in all cases, but it's better than asserting which it was doing before. PR 7528. llvm-svn: 108268
* Add support for empty named metadata too. This isn't particularlyDan Gohman2010-07-131-0/+1
| | | | | | useful, but it is nice for consistency. llvm-svn: 108262
* Add support for empty metadata nodes: !{}.Dan Gohman2010-07-131-1/+2
| | | | llvm-svn: 108259
* Extend the r107852 optimization which turns some fp compare to code sequence ↵Evan Cheng2010-07-131-9/+62
| | | | | | using only i32 operations. It now optimize some f64 compares when fp compare is exceptionally slow (e.g. cortex-a8). It also catches comparison against 0.0. llvm-svn: 108258
* -enable-unsafe-fp-math should not imply -enable-finite-only-fp-math.Evan Cheng2010-07-133-3/+3
| | | | llvm-svn: 108254
* Fix PR number.Dale Johannesen2010-07-131-1/+1
| | | | llvm-svn: 108251
* Handle the case of a tail recursion in which the tail call is followedDuncan Sands2010-07-131-1/+4
| | | | | | | | | by a return that returns a constant, while elsewhere in the function another return instruction returns a different constant. This is a special case of accumulator recursion, so just generalize the existing logic a bit. llvm-svn: 108241
* my work on adding segment registers to LEA missed the Chris Lattner2010-07-131-0/+3
| | | | | | | disassembler. Remove some code from the disassembler to compensate, unbreaking disassembly of lea's. llvm-svn: 108226
* Add AVX 256-bit packed logical formsBruno Cardoso Lopes2010-07-132-0/+128
| | | | llvm-svn: 108224
* Add AVX 256-bit unop arithmetic instructionsBruno Cardoso Lopes2010-07-132-0/+64
| | | | llvm-svn: 108223
* Add AVX 256 binary arithmetic instructionsBruno Cardoso Lopes2010-07-122-0/+192
| | | | llvm-svn: 108207
* Apply the SSE dependence idiom for SSE unary operations toDan Gohman2010-07-121-0/+41
| | | | | | | SD instructions too, in addition to SS instructions. And add a comment about it. llvm-svn: 108191
* Add AVX 256-bit MOVMSK formsBruno Cardoso Lopes2010-07-122-0/+15
| | | | llvm-svn: 108184
* MC/AsmParser: Move .tbss and .zerofill parsing to Darwin specific parser.Daniel Dunbar2010-07-122-3/+1
| | | | llvm-svn: 108180
* MC/AsmParser: Move .desc parsing to Darwin specific parser.Daniel Dunbar2010-07-121-1/+1
| | | | llvm-svn: 108179
* MC/AsmParser: Move some misc. Darwin directive handling to DarwinAsmParser.Daniel Dunbar2010-07-122-4/+4
| | | | llvm-svn: 108174
* Add a lint check for mismatched return types, inspired by PR6944.Dan Gohman2010-07-121-0/+9
| | | | llvm-svn: 108162
* Nope, still breaks the release selfhost bots :(Benjamin Kramer2010-07-121-13/+0
| | | | llvm-svn: 108153
* Reapply the "or" half of r108136, which seems to be less problematic.Benjamin Kramer2010-07-121-0/+13
| | | | llvm-svn: 108152
* Revert r108141 again, sigh.Benjamin Kramer2010-07-122-27/+0
| | | | llvm-svn: 108148
* Reapply 108136 with an ugly pasto fixed.Benjamin Kramer2010-07-122-0/+27
| | | | llvm-svn: 108141
* Revert r108136 until I figure out why it broke selfhost.Benjamin Kramer2010-07-122-28/+0
| | | | llvm-svn: 108139
* instcombine: fold (x & y) | (~x & z) and (x & y) ^ (~x & z) into ((y ^ z) & ↵Benjamin Kramer2010-07-122-0/+28
| | | | | | | | | | | | | | | | | x) ^ z which is one instruction shorter. (PR6773) before: %and = and i32 %y, %x %neg = xor i32 %x, -1 %and4 = and i32 %z, %neg %xor = xor i32 %and4, %and after: %xor1 = xor i32 %z, %y %and2 = and i32 %xor1, %x %xor = xor i32 %and2, %z llvm-svn: 108136
* fix PR7311 by avoiding breaking casts when a bitcast from scalar->vectorChris Lattner2010-07-121-0/+11
| | | | | | is involved. llvm-svn: 108117
* if jump threading is able to infer interesting values on bothChris Lattner2010-07-121-0/+24
| | | | | | | | the LHS and RHS of an and/or instruction, don't multiply add known predecessor values. This fixes the crash on testcase from PR7498 llvm-svn: 108114
* fix PR7429, a crash turning a load from a string into a float.Chris Lattner2010-07-121-0/+13
| | | | llvm-svn: 108113
* convert to filechecconvert to filecheckkChris Lattner2010-07-121-10/+10
| | | | llvm-svn: 108112
* merge two tests.Chris Lattner2010-07-122-11/+11
| | | | llvm-svn: 108111
* Remove TargetInstrInfo::copyRegToReg entirely.Jakob Stoklund Olesen2010-07-112-4/+3
| | | | | | | Targets must now implement TargetInstrInfo::copyPhysReg instead. There is no longer a default implementation forwarding to copyRegToReg. llvm-svn: 108095
OpenPOWER on IntegriCloud