summaryrefslogtreecommitdiffstats
path: root/llvm/test
Commit message (Collapse)AuthorAgeFilesLines
* Remove llvm-upgrade and update tests.Tanya Lattner2008-02-2190-1460/+1482
| | | | llvm-svn: 47432
* testcase for PR1133Chris Lattner2008-02-211-0/+9
| | | | llvm-svn: 47427
* Fix a (harmless) but where vregs were added to the used reg lists for Chris Lattner2008-02-211-0/+15
| | | | | | | | | | inline asms. Fix PR2078 by marking aliases of registers used when a register is marked used. This prevents EAX from being allocated when AX is listed in the clobber set for the asm. llvm-svn: 47426
* Let invoke return aggregate value.Devang Patel2008-02-211-0/+10
| | | | llvm-svn: 47425
* Let function call return aggregate.Devang Patel2008-02-212-1/+12
| | | | | | Now, we have very first multiple return value testcase! llvm-svn: 47424
* XFAIL for now.Devang Patel2008-02-201-1/+2
| | | | llvm-svn: 47411
* Now functions can return aggregate values.Devang Patel2008-02-201-2/+1
| | | | llvm-svn: 47409
* Add 'umax' similar to 'smax' SCEV. Closes PR2003.Nick Lewycky2008-02-202-1/+18
| | | | | | | | | | | | | | | Parse reversed smax and umax as smin and umin and express them with negative or binary-not SCEVs (which are really just subtract under the hood). Parse 'xor %x, -1' as (-1 - %x). Remove dead code (ConstantInt::get always returns a ConstantInt). Don't use getIntegerSCEV(-1, Ty). The first value is an int, then it gets passed into a uint64_t. Instead, create the -1 directly from ConstantInt::getAllOnesValue(). llvm-svn: 47360
* XFAIL this for now.Evan Cheng2008-02-201-0/+1
| | | | llvm-svn: 47355
* this test requires sse2Chris Lattner2008-02-191-1/+1
| | | | llvm-svn: 47331
* Don't fold and's into test instructions if they have multiple uses.Chris Lattner2008-02-191-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | This compiles test-nofold.ll into: _test: movl $15, %ecx andl 4(%esp), %ecx testl %ecx, %ecx movl $42, %eax cmove %ecx, %eax ret instead of: _test: movl 4(%esp), %eax movl %eax, %ecx andl $15, %ecx testl $15, %eax movl $42, %eax cmove %ecx, %eax ret llvm-svn: 47330
* rename tests to avoid a test- prefix when they aren't related to the test ↵Chris Lattner2008-02-1910-0/+0
| | | | | | instruction. llvm-svn: 47329
* Remove llvm-upgrade and update tests.Tanya Lattner2008-02-1951-1306/+1302
| | | | llvm-svn: 47325
* dead passChris Lattner2008-02-191-16/+0
| | | | llvm-svn: 47324
* Fix PR2060 by rejecting invalid types for integer constants.Chris Lattner2008-02-191-0/+6
| | | | llvm-svn: 47311
* Don't spew stats to stderr.Nick Lewycky2008-02-191-1/+1
| | | | llvm-svn: 47308
* Fix up the run line for this new test.Nick Lewycky2008-02-191-1/+1
| | | | | | llc: for the -info-output-file option: requires a value! llvm-svn: 47306
* New test.Evan Cheng2008-02-191-0/+219
| | | | llvm-svn: 47302
* Remove llvm-upgrade and update tests.Tanya Lattner2008-02-1911-137/+118
| | | | llvm-svn: 47297
* Remove llvm-upgrade and update tests.Tanya Lattner2008-02-19162-3373/+3173
| | | | llvm-svn: 47296
* - When DAG combiner is folding a bit convert into a BUILD_VECTOR, it should ↵Evan Cheng2008-02-181-0/+17
| | | | | | | | check if it's essentially a SCALAR_TO_VECTOR. Avoid turning (v8i16) <10, u, u, u> to <10, 0, u, u, u, u, u, u>. Instead, simply convert it to a SCALAR_TO_VECTOR of the proper type. - X86 now normalize SCALAR_TO_VECTOR to (BIT_CONVERT (v4i32 SCALAR_TO_VECTOR)). Get rid of X86ISD::S2VEC. llvm-svn: 47290
* Correctly fold divide-by-constant, even when faced with overflow.Nick Lewycky2008-02-182-0/+23
| | | | llvm-svn: 47287
* Don't mark scalar integer multiplication as Expand on x86, since x86Dan Gohman2008-02-181-0/+8
| | | | | | | | | | | | | has plain one-result scalar integer multiplication instructions. This avoids expanding such instructions into MUL_LOHI sequences that must be special-cased at isel time, and avoids the problem with that code that provented memory operands from being folded. This fixes PR1874, addressesing the most common case. The uncommon cases of optimizing multiply-high operations will require work in DAGCombiner. llvm-svn: 47277
* make this just a bit more strict.Chris Lattner2008-02-181-1/+1
| | | | llvm-svn: 47274
* Add support to GVN for performing sret return slot optimization. This means ↵Owen Anderson2008-02-181-0/+28
| | | | | | | | | | | that, if an sret function tail calls another sret function, it should pass its own sret parameter to the tail callee, allowing it to fill in the correct return value. llvm-gcc does not emit this by default. Instead, it allocates space in the caller for the sret of the tail call and then uses memcpy to copy the result into the caller's sret parameter. This optimization detects and optimizes that case. llvm-svn: 47265
* optimize away stackrestore calls that have no intervening alloca or call.Chris Lattner2008-02-181-3/+40
| | | | llvm-svn: 47258
* upgrade this test.Chris Lattner2008-02-181-11/+11
| | | | llvm-svn: 47257
* Fold (-x + -y) -> -(x+y) which promotes better association, fixingChris Lattner2008-02-171-0/+12
| | | | | | the second half of PR2047 llvm-svn: 47244
* Split up subtracts into add+negate if they have a reassociable use or operandChris Lattner2008-02-171-0/+13
| | | | | | that is also a subtract. This implements PR2047 and Transforms/Reassociate/subtest2.ll llvm-svn: 47241
* upgrade and simplify this test.Chris Lattner2008-02-171-6/+7
| | | | llvm-svn: 47240
* Remove llvm-upgrade.Tanya Lattner2008-02-1750-906/+906
| | | | llvm-svn: 47238
* fix this test.Chris Lattner2008-02-171-1/+1
| | | | llvm-svn: 47232
* Remove llvm-upgradeTanya Lattner2008-02-171-10/+6
| | | | llvm-svn: 47231
* Remove llvm-upgrade.Tanya Lattner2008-02-172-17/+21
| | | | llvm-svn: 47230
* this test isn't useful since we added @ notation for globals.Chris Lattner2008-02-171-21/+0
| | | | llvm-svn: 47229
* this line was commented out.Chris Lattner2008-02-171-1/+1
| | | | llvm-svn: 47228
* Remove llvm-upgrade and update tests.Tanya Lattner2008-02-162-31/+8
| | | | llvm-svn: 47227
* Removing llvm upgrade, so remove tests specific to llvm-upgrade and update ↵Tanya Lattner2008-02-1627-13270/+13054
| | | | | | the tests that used it. llvm-svn: 47225
* Remove any 'nest' parameter attributes if the functionDuncan Sands2008-02-161-0/+57
| | | | | | is not passed as an argument to a trampoline intrinsic. llvm-svn: 47220
* llvm.memory.barrier, and impl for x86 and alphaAndrew Lenharth2008-02-166-0/+79
| | | | llvm-svn: 47204
* upgrade this test, which wasn't testing the right thing since llvm-upgrade ↵Chris Lattner2008-02-151-7/+7
| | | | | | came around. llvm-svn: 47194
* rename llx -> llChris Lattner2008-02-151-0/+0
| | | | llvm-svn: 47192
* This test is not interesting.Evan Cheng2008-02-151-21/+0
| | | | llvm-svn: 47189
* Modify test to expect improved code.Dale Johannesen2008-02-151-4/+4
| | | | llvm-svn: 47182
* Fix this test on linux, which returns S242Duncan Sands2008-02-151-1/+2
| | | | | | using sret. llvm-svn: 47173
* Fix PR2028Devang Patel2008-02-151-0/+5
| | | | llvm-svn: 47150
* If loop header is also loop exiting block then OrigPN is incoming value for ↵Devang Patel2008-02-141-0/+464
| | | | | | | | B loop header. Fixes PR 2030. llvm-svn: 47141
* Fix PR2029Chris Lattner2008-02-141-0/+14
| | | | llvm-svn: 47129
* Fix a miscompilation from Dan's recent apintification.Chris Lattner2008-02-141-0/+8
| | | | llvm-svn: 47128
* Remove llvm-upgradeTanya Lattner2008-02-1447-346/+267
| | | | llvm-svn: 47119
OpenPOWER on IntegriCloud