summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* add a target to print out 80-column violations.Chris Lattner2007-04-141-0/+3
| | | | llvm-svn: 36032
* fix long linesChris Lattner2007-04-146-18/+20
| | | | llvm-svn: 36031
* Add some info about the pipelines and redirection.Reid Spencer2007-04-141-0/+18
| | | | llvm-svn: 36030
* Oops. A little aggressive on the name changes there.Reid Spencer2007-04-141-8/+8
| | | | llvm-svn: 36029
* add a noteChris Lattner2007-04-141-0/+18
| | | | llvm-svn: 36028
* For PR1913:Reid Spencer2007-04-149-22/+31
| | | | | | Convert to new test system. This exposes test/Transforms/ConstProp/calls.ll llvm-svn: 36027
* fix test for linux hosts.Chris Lattner2007-04-141-1/+1
| | | | llvm-svn: 36026
* Implement Transforms/InstCombine/vec_extract_elt.ll, transforming:Chris Lattner2007-04-141-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | define i32 @test(float %f) { %tmp7 = insertelement <4 x float> undef, float %f, i32 0 %tmp17 = bitcast <4 x float> %tmp7 to <4 x i32> %tmp19 = extractelement <4 x i32> %tmp17, i32 0 ret i32 %tmp19 } into: define i32 @test(float %f) { %tmp19 = bitcast float %f to i32 ; <i32> [#uses=1] ret i32 %tmp19 } On PPC, this is the difference between: _test: mfspr r2, 256 oris r3, r2, 8192 mtspr 256, r3 stfs f1, -16(r1) addi r3, r1, -16 addi r4, r1, -32 lvx v2, 0, r3 stvx v2, 0, r4 lwz r3, -32(r1) mtspr 256, r2 blr and: _test: stfs f1, -4(r1) nop nop nop lwz r3, -4(r1) blr llvm-svn: 36025
* new testcaseChris Lattner2007-04-141-0/+9
| | | | llvm-svn: 36024
* For PR1319:Reid Spencer2007-04-141-2/+2
| | | | | | Convert to new test system. llvm-svn: 36023
* Changes to fix problems with "make check". Apparently you can redefineReid Spencer2007-04-147-9/+11
| | | | | | | functions and Tcl's just tickled with that. The fix is to give the "new" test system a different interface function name. llvm-svn: 36022
* Fix syntax.Reid Spencer2007-04-141-1/+1
| | | | llvm-svn: 36021
* Implement InstCombine/vec_demanded_elts.ll:test2. This allows us to turnChris Lattner2007-04-141-0/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unsigned test(float f) { return _mm_cvtsi128_si32( (__m128i) _mm_set_ss( f*f )); } into: _test: movss 4(%esp), %xmm0 mulss %xmm0, %xmm0 movd %xmm0, %eax ret instead of: _test: movss 4(%esp), %xmm0 mulss %xmm0, %xmm0 xorps %xmm1, %xmm1 movss %xmm0, %xmm1 movd %xmm1, %eax ret GCC gets: _test: subl $28, %esp movss 32(%esp), %xmm0 mulss %xmm0, %xmm0 xorps %xmm1, %xmm1 movss %xmm0, %xmm1 movaps %xmm1, %xmm0 movd %xmm0, 12(%esp) movl 12(%esp), %eax addl $28, %esp ret llvm-svn: 36020
* manually upgrade test. Add a new test2. I have no way to see if this worksChris Lattner2007-04-141-22/+33
| | | | | | because of the tclification. :( llvm-svn: 36019
* Try some alternative syntax.Reid Spencer2007-04-143-5/+5
| | | | llvm-svn: 36018
* avoid copying sets and vectors around.Chris Lattner2007-04-141-7/+6
| | | | llvm-svn: 36017
* Fix PR1329.Jeff Cohen2007-04-142-0/+32
| | | | llvm-svn: 36016
* For PR1319:Reid Spencer2007-04-141-73/+191
| | | | | | | Rewrite much of the DejaGnu section to bring it in line with the new facilities in llvm.exp. llvm-svn: 36015
* This test should have been updated with llvm 1.7!Reid Spencer2007-04-141-3/+3
| | | | llvm-svn: 36014
* For PR1319:Reid Spencer2007-04-14116-171/+199
| | | | | | Upgrade tests to work with new llvm.exp version of llvm_runtest. llvm-svn: 36013
* This test needs to use egrep.Reid Spencer2007-04-141-1/+1
| | | | llvm-svn: 36012
* disable switch lowering using shift/and. It still breaks ppc bootstrap forChris Lattner2007-04-141-0/+1
| | | | | | some reason. :( Will investigate. llvm-svn: 36011
* For PR1319:Reid Spencer2007-04-141-6/+27
| | | | | | | | | | | | More improvements: 1. Using ::errorInfo wasn't such a hot idea. Go back to just printing the offending line of code and the stderr output. This is sufficient and not entangled with Tcl goop. 2. Capture the problem report numbers and report them whether pass or fail. This helps quickly get some context when a test fails, if it has an associated PR number. llvm-svn: 36010
* Convert test cases to new llvm.exp version of llvm_runtest and fix testsReid Spencer2007-04-146-7/+13
| | | | | | that it found to be broken. llvm-svn: 36009
* For PR1319:Reid Spencer2007-04-142-2/+2
| | | | | | Convert to use new llvm.exp version of llvm_testrun llvm-svn: 36008
* 1. Don't generate redundant copy of stderrReid Spencer2007-04-141-2/+2
| | | | | | 2. Only match \ at the *end* of a line. llvm-svn: 36007
* Fix a test test llvm.exp found.Reid Spencer2007-04-141-5/+5
| | | | llvm-svn: 36006
* bool -> i1 (found by llvm.exp)Reid Spencer2007-04-142-4/+3
| | | | llvm-svn: 36005
* Fix a syntax error that llvm.exp found.Reid Spencer2007-04-141-2/+1
| | | | llvm-svn: 36004
* Fix an "already-upgraded" test that llvm.exp found.Reid Spencer2007-04-141-1/+1
| | | | llvm-svn: 36003
* avoid iterator invalidation.Chris Lattner2007-04-141-2/+4
| | | | llvm-svn: 36002
* Simplify this test and correct redirection for Tcl exec.Reid Spencer2007-04-141-3/+2
| | | | llvm-svn: 36001
* Don't try to interpret a fictitious file.Reid Spencer2007-04-141-1/+1
| | | | llvm-svn: 36000
* Print full errorInfo when a failure occurs.Reid Spencer2007-04-141-1/+1
| | | | llvm-svn: 35999
* An even better fix.Jeff Cohen2007-04-141-3/+2
| | | | llvm-svn: 35998
* No need to quote things, shell isn't interpreting any more.Reid Spencer2007-04-141-1/+1
| | | | llvm-svn: 35997
* Fix recent regression that broke several llvm-tests.Jeff Cohen2007-04-141-0/+2
| | | | llvm-svn: 35996
* For PR1319:Reid Spencer2007-04-143-5/+6
| | | | | | Changes necessary to run this with the "llvm.exp" version of llvm_runtest. llvm-svn: 35995
* Add the line number where the script failed to the error output.Reid Spencer2007-04-141-4/+6
| | | | llvm-svn: 35994
* For PR1319:Reid Spencer2007-04-144-9/+8
| | | | | | | Changes necessary for conversion of this directory to run the tests under the llvm.exp version of llvm_runtest llvm-svn: 35993
* FIx this test, thanks to llvm.expReid Spencer2007-04-141-10/+10
| | | | llvm-svn: 35992
* Add a script to run a command but ignore its return code. This scriptReid Spencer2007-04-141-0/+10
| | | | | | | | | always returns 0. This is useful with the llvm.exp based dejagnu testing when a test wants to check the error output of tool invocation that returns non-zero. Since every command is checked with llvm.exp, there needs to be a way to prevent that checking and this script is it. llvm-svn: 35991
* Fix PR1325: Case range optimization was performed in the case itAnton Korobeynikov2007-04-142-4/+162
| | | | | | shouldn't. Also fix some "latent" bug on 64-bit platforms llvm-svn: 35990
* Correct typo.Duncan Sands2007-04-141-1/+1
| | | | llvm-svn: 35989
* Fix a missing -f that the new llvm.exp found.Reid Spencer2007-04-141-1/+1
| | | | llvm-svn: 35988
* Fix a missing -f caught by the new llvm.exp script.Reid Spencer2007-04-141-1/+1
| | | | llvm-svn: 35987
* Initial version of a re-write of llvm-runtest that doesn't write theReid Spencer2007-04-141-0/+159
| | | | | | | tests to a script file but executes each line individually and catches errors on each line too. llvm-svn: 35986
* disable shift/and lowering to work around PR1325 for now.Chris Lattner2007-04-141-1/+3
| | | | llvm-svn: 35985
* Implement a few missing xforms: printf("foo\n") -> puts. printf("x") -> putcharChris Lattner2007-04-141-9/+48
| | | | | | | | printf("") -> noop. Still need to do the xforms for fprintf. This implements Transforms/SimplifyLibCalls/Printf.ll llvm-svn: 35984
* new testcaseChris Lattner2007-04-141-0/+20
| | | | llvm-svn: 35983
OpenPOWER on IntegriCloud