Reid Spencer
d1f8369090
For PR1319: Upgrade to use new test harness
...
llvm-svn: 36075
2007-04-15 18:40:57 +00:00
Reid Spencer
3d18d852d2
Allow lines that have \ and end in \ to be recognized as ending in \
...
llvm-svn: 36074
2007-04-15 18:38:42 +00:00
Reid Spencer
6c38d94201
For PR1319: Upgrade to new test harness
...
llvm-svn: 36073
2007-04-15 18:11:57 +00:00
Nick Lewycky
5dff5ed7f7
Fix this test to test what it was intended to test.
...
llvm-svn: 36072
2007-04-15 13:14:33 +00:00
Reid Spencer
4faa954403
Two improvements:
...
1. Only read the first 1024 bytes of the file. The RUN: lines should all be
within that amount of space. This keeps I/O costs down when reading
very large files.
2. Print PR numbers with a PR prefix so it is clear what they are.
llvm-svn: 36071
2007-04-15 10:27:54 +00:00
Reid Spencer
c943f8ff34
For PR1319: Upgrade to new test harness
...
llvm-svn: 36070
2007-04-15 10:26:05 +00:00
Reid Spencer
892c86fbad
For PR1319: Upgrade to new test harness
...
llvm-svn: 36069
2007-04-15 10:11:13 +00:00
Reid Spencer
7f346b4362
For PR1319:
...
Update to new Tcl exec based test harness.
llvm-svn: 36068
2007-04-15 10:09:30 +00:00
Reid Spencer
c6b30b107b
For PR1319:
...
Upgrade to new Tcl exec based test framework. This exposes three regressions
in llvm-upgrade:
test/Assembler/2002-08-19-BytecodeReader.llx
test/Assembler/2003-08-21-ConstantExprCast-Fold.llx
test/Assembler/2004-01-11-getelementptrfolding.llx
llvm-svn: 36067
2007-04-15 10:07:55 +00:00
Reid Spencer
5a77babd81
For PR1319:
...
Upgrade to use new Tcl exec based test harness.
llvm-svn: 36066
2007-04-15 09:31:07 +00:00
Reid Spencer
a551c041f9
For PR1319:
...
Upgrade to use new Tcl exec based test harness. This exposes 3 bugs that
were previously not being reported:
test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll
test/Transforms/GlobalOpt/memset.ll
test/Transforms/IndVarsSimplify/exit_value_tests.llx
llvm-svn: 36065
2007-04-15 09:21:47 +00:00
Owen Anderson
5a576160bc
Update tests for the disappearance of -idom.
...
llvm-svn: 36064
2007-04-15 08:54:57 +00:00
Owen Anderson
f35a1dbc7a
Remove ImmediateDominator analysis. The same information can be obtained from DomTree. A lot of code for
...
constructing ImmediateDominator is now folded into DomTree construction.
This is part of the ongoing work for PR217.
llvm-svn: 36063
2007-04-15 08:47:27 +00:00
Reid Spencer
951d8dc29f
For PR1319:
...
Upgrade to use new Tcl exec based test harness.
llvm-svn: 36062
2007-04-15 08:30:33 +00:00
Reid Spencer
8eba4c3d12
For PR1319:
...
Convert to use the new Tcl expr based test harness.
llvm-svn: 36061
2007-04-15 08:01:33 +00:00
Reid Spencer
e296548ba6
Describe quoting rules.
...
llvm-svn: 36060
2007-04-15 08:01:04 +00:00
Reid Spencer
ede8c3b92c
For PR1319:
...
Make use of the END. facility on all files > 1K so that we aren't wasting CPU
cycles searching for RUN: lines that we'll never find.
llvm-svn: 36059
2007-04-15 07:38:21 +00:00
Reid Spencer
1114b48736
Fix this test in a slightly more obvious way.
...
llvm-svn: 36058
2007-04-15 07:37:04 +00:00
Reid Spencer
72d6b398e7
No, don't cancel all remaining tests, just the one that failed!
...
llvm-svn: 36057
2007-04-15 07:34:58 +00:00
Reid Spencer
9de817a471
Abandone the entire test case on the first error.
...
llvm-svn: 36056
2007-04-15 07:21:26 +00:00
Reid Spencer
8d9056c56c
For PR1319:
...
Upgrade to use new Tcl exec based test harness
llvm-svn: 36055
2007-04-15 06:53:51 +00:00
Reid Spencer
7b78d371a6
Use %prcontext, $prcontext is not resolving for some reason.
...
llvm-svn: 36054
2007-04-15 06:52:45 +00:00
Reid Spencer
63fc5df7ba
PR1319:
...
Upgrade tests to new Tcl exec based test harness requirements.
llvm-svn: 36053
2007-04-15 06:51:14 +00:00
Reid Spencer
b9dbd5b5b5
Make it possible to run this from within subdirectories of llvm/test
...
llvm-svn: 36052
2007-04-15 06:47:49 +00:00
Reid Spencer
d1d6798ee4
Reimplement in terms of the support for this feature in the makefiles with
...
the "check-one" target. This was necessitated by the change in the test
harness to fully use Tcl's "exec" function and avoid shell scripts
altogether. Consequently, to be accurate, TestRunner.sh needs to invoke the
same environment as dejagnu would, but for just a single test. That's what
the make target "check-one" does so we just invoke it here.
llvm-svn: 36051
2007-04-15 06:25:12 +00:00
Reid Spencer
6d4a417df9
Echo command lines only if the user wants them.
...
llvm-svn: 36050
2007-04-15 06:22:48 +00:00
Reid Spencer
a9482c8916
Add a new testing target: check-one. It is used like this:
...
make check-one TESTONE=test/path/to/test.ll
This runs a single check in exactly the same way that dejagnu runs it.
llvm-svn: 36049
2007-04-15 06:18:50 +00:00
Zhou Sheng
8e58ad31ae
This test case is incorrect. Remove it.
...
llvm-svn: 36048
2007-04-15 05:59:49 +00:00
Chris Lattner
f8a7bf317e
fix SimplifyLibCalls/IsDigit.ll
...
llvm-svn: 36047
2007-04-15 05:38:40 +00:00
Reid Spencer
ae81c8880a
For PR1319:
...
Convert to new test system. This exposes IsDigit.ll as failing.
llvm-svn: 36046
2007-04-15 05:16:38 +00:00
Reid Spencer
5374aeae70
For PR1319:
...
Conver to new test system.
llvm-svn: 36045
2007-04-15 05:03:58 +00:00
Reid Spencer
9a2319b85e
Allow replacement of %% with %
...
llvm-svn: 36044
2007-04-15 04:57:03 +00:00
Reid Spencer
d025c07cce
Keep lines a reasonable length.
...
llvm-svn: 36043
2007-04-15 04:54:53 +00:00
Jeff Cohen
610e1240ed
Patch supplied by gabor.
...
llvm-svn: 36042
2007-04-15 03:09:23 +00:00
Dale Johannesen
23da023a58
adjust per review comments
...
llvm-svn: 36041
2007-04-15 02:40:12 +00:00
Chris Lattner
4a6e0cbd41
Extend store merging to support the 'if/then' version in addition to if/then/else.
...
This sinks the two stores in this example into a single store in cond_next. In this
case, it allows elimination of the load as well:
store double 0.000000e+00, double* @s.3060
%tmp3 = fcmp ogt double %tmp1, 5.000000e-01 ; <i1> [#uses=1]
br i1 %tmp3, label %cond_true, label %cond_next
cond_true: ; preds = %entry
store double 1.000000e+00, double* @s.3060
br label %cond_next
cond_next: ; preds = %entry, %cond_true
%tmp6 = load double* @s.3060 ; <double> [#uses=1]
This implements Transforms/InstCombine/store-merge.ll:test2
llvm-svn: 36040
2007-04-15 01:02:18 +00:00
Chris Lattner
efcb4f6ed4
new testcase
...
llvm-svn: 36039
2007-04-15 01:00:37 +00:00
Dale Johannesen
20746d84c2
testcases for -fno-builtin
...
llvm-svn: 36038
2007-04-15 00:18:31 +00:00
Chris Lattner
14a251b937
refactor some code, no functionality change.
...
llvm-svn: 36037
2007-04-15 00:07:55 +00:00
Owen Anderson
0f6ccef96c
XFAIL this for now.
...
llvm-svn: 36036
2007-04-14 23:57:41 +00:00
Owen Anderson
e59b36defa
Fix some unsafe code. Also, tabs -> spaces.
...
llvm-svn: 36035
2007-04-14 23:57:00 +00:00
Owen Anderson
78cecc817f
Make ETForest depend on DomTree rather than IDom. This is the first step
...
in the long process that will be fixing PR 217.
llvm-svn: 36034
2007-04-14 23:49:24 +00:00
Chris Lattner
9f2865ac14
xfail for now
...
llvm-svn: 36033
2007-04-14 23:40:49 +00:00
Chris Lattner
f8adf7af88
add a target to print out 80-column violations.
...
llvm-svn: 36032
2007-04-14 23:35:45 +00:00
Chris Lattner
28d921d04f
fix long lines
...
llvm-svn: 36031
2007-04-14 23:32:02 +00:00
Reid Spencer
530eef660f
Add some info about the pipelines and redirection.
...
llvm-svn: 36030
2007-04-14 23:27:06 +00:00
Reid Spencer
f70b8e5d79
Oops. A little aggressive on the name changes there.
...
llvm-svn: 36029
2007-04-14 23:17:58 +00:00
Chris Lattner
e275463e2f
add a note
...
llvm-svn: 36028
2007-04-14 23:06:09 +00:00
Reid Spencer
bc7533c140
For PR1913:
...
Convert to new test system. This exposes test/Transforms/ConstProp/calls.ll
llvm-svn: 36027
2007-04-14 23:04:54 +00:00
Chris Lattner
c8ff09ffaa
fix test for linux hosts.
...
llvm-svn: 36026
2007-04-14 23:04:30 +00:00