Reid Spencer
22afcce51b
Test case for PR1328.
...
llvm-svn: 36119
2007-04-16 06:52:21 +00:00
Chris Lattner
fa6d6d5547
make this test more portable.
...
llvm-svn: 36118
2007-04-16 06:14:28 +00:00
Chris Lattner
40aaa7ff4f
fix incorrectly upgraded test
...
llvm-svn: 36117
2007-04-16 06:10:47 +00:00
Chris Lattner
aed1ab601f
remove a bogus test
...
llvm-svn: 36116
2007-04-16 06:06:42 +00:00
Chris Lattner
8a42bd823e
update test
...
llvm-svn: 36115
2007-04-16 06:04:03 +00:00
Chris Lattner
842a99ced1
fix incorrectly upgraded test, add PR#
...
llvm-svn: 36114
2007-04-16 05:58:47 +00:00
Reid Spencer
89fe89e8d5
This needs to stay in the old bytecode format.
...
llvm-svn: 36113
2007-04-16 03:35:24 +00:00
Reid Spencer
9920337e38
This tests aren't particularly interesting. They are redundant with the
...
extract_* tests. They are also perniciously difficult to maintain because
they depend on the bytecode format.
llvm-svn: 36112
2007-04-16 03:34:01 +00:00
Reid Spencer
234b0e933a
Update for 2.0 bytecode format.
...
llvm-svn: 36111
2007-04-16 03:28:07 +00:00
Reid Spencer
06c1806166
Fix an intrinsic name.
...
llvm-svn: 36110
2007-04-16 03:20:22 +00:00
Reid Spencer
419dcddb2d
For PR1336:
...
Rename the intrinsic so this can be upgraded properly. It still fails with
an llc warning
llvm-svn: 36109
2007-04-16 03:18:25 +00:00
Reid Spencer
e652d49c05
For PR1336:
...
Upgrade the intrinsic to its new form.
llvm-svn: 36108
2007-04-16 03:10:56 +00:00
Reid Spencer
ac781b1f94
For PR1336:
...
Un-XFAIL this test now that llvm-ugprade knows how to create functions with
empty names.
llvm-svn: 36107
2007-04-16 03:06:39 +00:00
Reid Spencer
3d9542cb7b
For PR1336:
...
Un-XFAIL this since it now passes with fix to llvm-upgrade.
llvm-svn: 36104
2007-04-16 02:57:47 +00:00
Reid Spencer
4fdd2f1411
For PR1336:
...
Correct this test case. It was passing a uint where a ubyte was expected.
llvm-svn: 36101
2007-04-16 02:09:24 +00:00
Reid Spencer
840a3d1b41
For PR1336:
...
Un-XFAIL this now that its working.
llvm-svn: 36100
2007-04-16 01:49:16 +00:00
Reid Spencer
ade540a97e
For PR1336:
...
This test was failing because of signlessness and a difference in the
way the AsmWriter prints arguments.
llvm-svn: 36098
2007-04-16 01:31:11 +00:00
Reid Spencer
7b1de4b863
For PR1336:
...
De-XFAIL tests now passing.
llvm-svn: 36097
2007-04-16 00:41:11 +00:00
Reid Spencer
8f0fe6f2cf
For PR1336:
...
XFAIL tests covered by the PR. These will be un-XFAILed as they are fixed.
llvm-svn: 36093
2007-04-15 23:00:46 +00:00
Reid Spencer
6ddb18a685
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36092
2007-04-15 22:37:04 +00:00
Reid Spencer
9d19c17dab
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36091
2007-04-15 22:20:47 +00:00
Chris Lattner
9978b3f476
testcase for PR1335
...
llvm-svn: 36089
2007-04-15 21:37:53 +00:00
Chris Lattner
49c74d2ff7
this test isn't testing what it thought it was
...
llvm-svn: 36088
2007-04-15 21:33:36 +00:00
Reid Spencer
e5e75c56db
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36087
2007-04-15 21:17:45 +00:00
Reid Spencer
47d1aeeb51
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36086
2007-04-15 20:48:50 +00:00
Reid Spencer
3d7ba2fb96
Two changes:
...
1. Don't bother truncating reading of the file. It doesn't save that much
time and we should support putting RUN lines anywhere in the file. For
example, someone might want to put the grep match before each function
in the test file which would sprinkle the RUN: lines throughout the file.
2. Fix a bug with llvmgcc version match .. global var wasn't declared as such
llvm-svn: 36085
2007-04-15 20:43:36 +00:00
Reid Spencer
5647b43e74
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36084
2007-04-15 20:41:31 +00:00
Reid Spencer
2d25f3f7b5
Some tests have really long RUN line sets. Read the first 4096 bytes instead
...
of 1024.
llvm-svn: 36083
2007-04-15 20:31:42 +00:00
Reid Spencer
7941bdbfaa
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36082
2007-04-15 20:08:37 +00:00
Reid Spencer
a67bc1c0e9
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36080
2007-04-15 19:35:51 +00:00
Reid Spencer
dcec7f9133
Make this test work.
...
llvm-svn: 36079
2007-04-15 19:28:23 +00:00
Reid Spencer
09ca3cef26
We don't need the path to be set for llvmgcc/llvmgxx any more.
...
llvm-svn: 36078
2007-04-15 19:27:27 +00:00
Reid Spencer
fa801f52d9
For PR1319: Upgrade to use new test harness
...
llvm-svn: 36077
2007-04-15 19:21:54 +00:00
Reid Spencer
b6fe525070
For PR1319: Upgrade to use new test harness
...
llvm-svn: 36076
2007-04-15 19:11:47 +00:00
Reid Spencer
e36e64ee35
For PR1319: Upgrade to use new test harness
...
llvm-svn: 36075
2007-04-15 18:40:57 +00:00
Reid Spencer
9a91d444e0
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
f2149355c3
For PR1319: Upgrade to new test harness
...
llvm-svn: 36073
2007-04-15 18:11:57 +00:00
Nick Lewycky
cb7d12a4a5
Fix this test to test what it was intended to test.
...
llvm-svn: 36072
2007-04-15 13:14:33 +00:00
Reid Spencer
be60a28130
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
d74463a129
For PR1319: Upgrade to new test harness
...
llvm-svn: 36070
2007-04-15 10:26:05 +00:00
Reid Spencer
6041863fff
For PR1319: Upgrade to new test harness
...
llvm-svn: 36069
2007-04-15 10:11:13 +00:00
Reid Spencer
cd3b0c1f0a
For PR1319:
...
Update to new Tcl exec based test harness.
llvm-svn: 36068
2007-04-15 10:09:30 +00:00
Reid Spencer
651c5ed3e8
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
2077c3789f
For PR1319:
...
Upgrade to use new Tcl exec based test harness.
llvm-svn: 36066
2007-04-15 09:31:07 +00:00
Reid Spencer
11d48d6932
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
9304434617
Update tests for the disappearance of -idom.
...
llvm-svn: 36064
2007-04-15 08:54:57 +00:00
Reid Spencer
d1d4897d3f
For PR1319:
...
Upgrade to use new Tcl exec based test harness.
llvm-svn: 36062
2007-04-15 08:30:33 +00:00
Reid Spencer
410c0fe653
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
cdd728cca2
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
62f02ddbee
Fix this test in a slightly more obvious way.
...
llvm-svn: 36058
2007-04-15 07:37:04 +00:00
Reid Spencer
28c91b6042
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
4270a694ea
Abandone the entire test case on the first error.
...
llvm-svn: 36056
2007-04-15 07:21:26 +00:00
Reid Spencer
e14f64b2da
For PR1319:
...
Upgrade to use new Tcl exec based test harness
llvm-svn: 36055
2007-04-15 06:53:51 +00:00
Reid Spencer
f4bc35acf6
Use %prcontext, $prcontext is not resolving for some reason.
...
llvm-svn: 36054
2007-04-15 06:52:45 +00:00
Reid Spencer
c4a3f45c5e
PR1319:
...
Upgrade tests to new Tcl exec based test harness requirements.
llvm-svn: 36053
2007-04-15 06:51:14 +00:00
Reid Spencer
4411da32b4
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
22c34ea2d3
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
6a23468a28
Echo command lines only if the user wants them.
...
llvm-svn: 36050
2007-04-15 06:22:48 +00:00
Reid Spencer
b9d5ebf98c
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
9c1e008fb1
This test case is incorrect. Remove it.
...
llvm-svn: 36048
2007-04-15 05:59:49 +00:00
Reid Spencer
4591f06f44
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
6c9e52ce08
For PR1319:
...
Conver to new test system.
llvm-svn: 36045
2007-04-15 05:03:58 +00:00
Reid Spencer
b07b9426ef
Allow replacement of %% with %
...
llvm-svn: 36044
2007-04-15 04:57:03 +00:00
Reid Spencer
5f05a7274c
Keep lines a reasonable length.
...
llvm-svn: 36043
2007-04-15 04:54:53 +00:00
Jeff Cohen
bfa3b15332
Patch supplied by gabor.
...
llvm-svn: 36042
2007-04-15 03:09:23 +00:00
Dale Johannesen
b9215b099e
adjust per review comments
...
llvm-svn: 36041
2007-04-15 02:40:12 +00:00
Chris Lattner
55da343f44
new testcase
...
llvm-svn: 36039
2007-04-15 01:00:37 +00:00
Dale Johannesen
b55b09fa54
testcases for -fno-builtin
...
llvm-svn: 36038
2007-04-15 00:18:31 +00:00
Owen Anderson
4543ee2ff9
XFAIL this for now.
...
llvm-svn: 36036
2007-04-14 23:57:41 +00:00
Chris Lattner
72c75b766c
xfail for now
...
llvm-svn: 36033
2007-04-14 23:40:49 +00:00
Reid Spencer
dc6bac04a0
Oops. A little aggressive on the name changes there.
...
llvm-svn: 36029
2007-04-14 23:17:58 +00:00
Reid Spencer
6460b25da9
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
87995a803b
fix test for linux hosts.
...
llvm-svn: 36026
2007-04-14 23:04:30 +00:00
Chris Lattner
3aad941557
new testcase
...
llvm-svn: 36024
2007-04-14 23:00:51 +00:00
Reid Spencer
3b350f543e
For PR1319:
...
Convert to new test system.
llvm-svn: 36023
2007-04-14 22:54:01 +00:00
Reid Spencer
cfa86314dd
Changes to fix problems with "make check". Apparently you can redefine
...
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
2007-04-14 22:51:29 +00:00
Reid Spencer
a8235c3a66
Fix syntax.
...
llvm-svn: 36021
2007-04-14 22:32:58 +00:00
Chris Lattner
89b4e282d6
manually upgrade test. Add a new test2. I have no way to see if this works
...
because of the tclification. :(
llvm-svn: 36019
2007-04-14 22:27:33 +00:00
Reid Spencer
9811e4ba2b
Try some alternative syntax.
...
llvm-svn: 36018
2007-04-14 22:27:05 +00:00
Reid Spencer
8b3b77e30c
This test should have been updated with llvm 1.7!
...
llvm-svn: 36014
2007-04-14 20:21:37 +00:00
Reid Spencer
c49d7dd886
For PR1319:
...
Upgrade tests to work with new llvm.exp version of llvm_runtest.
llvm-svn: 36013
2007-04-14 20:13:02 +00:00
Reid Spencer
c3793d33d1
This test needs to use egrep.
...
llvm-svn: 36012
2007-04-14 20:02:51 +00:00
Reid Spencer
798486bc87
For PR1319:
...
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
2007-04-14 19:37:22 +00:00
Reid Spencer
6ac77d03a8
Convert test cases to new llvm.exp version of llvm_runtest and fix tests
...
that it found to be broken.
llvm-svn: 36009
2007-04-14 19:27:03 +00:00
Reid Spencer
69d42ad9b6
For PR1319:
...
Convert to use new llvm.exp version of llvm_testrun
llvm-svn: 36008
2007-04-14 19:10:21 +00:00
Reid Spencer
991a7da9b9
1. Don't generate redundant copy of stderr
...
2. Only match \ at the *end* of a line.
llvm-svn: 36007
2007-04-14 18:51:19 +00:00
Reid Spencer
1b945f943e
Fix a test test llvm.exp found.
...
llvm-svn: 36006
2007-04-14 18:33:31 +00:00
Reid Spencer
42b10c8238
bool -> i1 (found by llvm.exp)
...
llvm-svn: 36005
2007-04-14 18:30:06 +00:00
Reid Spencer
78a3955c01
Fix a syntax error that llvm.exp found.
...
llvm-svn: 36004
2007-04-14 18:28:16 +00:00
Reid Spencer
c8edc6280f
Fix an "already-upgraded" test that llvm.exp found.
...
llvm-svn: 36003
2007-04-14 18:26:02 +00:00
Reid Spencer
c64112d7bd
Simplify this test and correct redirection for Tcl exec.
...
llvm-svn: 36001
2007-04-14 17:49:06 +00:00
Reid Spencer
4fb70fd410
Don't try to interpret a fictitious file.
...
llvm-svn: 36000
2007-04-14 17:41:12 +00:00
Reid Spencer
3eb6245e5f
Print full errorInfo when a failure occurs.
...
llvm-svn: 35999
2007-04-14 17:36:20 +00:00
Reid Spencer
61b2bc63f3
No need to quote things, shell isn't interpreting any more.
...
llvm-svn: 35997
2007-04-14 17:12:21 +00:00
Reid Spencer
7657efbfd3
For PR1319:
...
Changes necessary to run this with the "llvm.exp" version of llvm_runtest.
llvm-svn: 35995
2007-04-14 16:48:55 +00:00
Reid Spencer
a4ac5f2f08
Add the line number where the script failed to the error output.
...
llvm-svn: 35994
2007-04-14 16:41:39 +00:00
Reid Spencer
d04d54345e
For PR1319:
...
Changes necessary for conversion of this directory to run the tests
under the llvm.exp version of llvm_runtest
llvm-svn: 35993
2007-04-14 16:40:08 +00:00
Reid Spencer
e946685d0b
FIx this test, thanks to llvm.exp
...
llvm-svn: 35992
2007-04-14 16:19:26 +00:00
Reid Spencer
489c9a2006
Add a script to run a command but ignore its return code. This script
...
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
2007-04-14 16:14:08 +00:00
Anton Korobeynikov
bdb4f560da
Fix PR1325: Case range optimization was performed in the case it
...
shouldn't. Also fix some "latent" bug on 64-bit platforms
llvm-svn: 35990
2007-04-14 13:25:55 +00:00
Reid Spencer
424ebf9c39
Fix a missing -f that the new llvm.exp found.
...
llvm-svn: 35988
2007-04-14 09:45:16 +00:00
Reid Spencer
e44effb288
Fix a missing -f caught by the new llvm.exp script.
...
llvm-svn: 35987
2007-04-14 09:43:30 +00:00
Reid Spencer
90bdd23c2b
Initial version of a re-write of llvm-runtest that doesn't write the
...
tests to a script file but executes each line individually and catches
errors on each line too.
llvm-svn: 35986
2007-04-14 09:39:28 +00:00
Chris Lattner
3a22af9126
new testcase
...
llvm-svn: 35983
2007-04-14 01:17:38 +00:00
Chris Lattner
1d90754cf7
testcase for PR1201
...
llvm-svn: 35980
2007-04-14 00:19:36 +00:00
Dale Johannesen
e7e6d863f4
tests for struct/union as input operands to asm.
...
llvm-svn: 35976
2007-04-13 22:54:11 +00:00
Reid Spencer
5263c69f0d
Add the SCCP regression tests for APInt expressions. These test cases
...
turned up some regressions that have since been fixed. We don't want to
loose the regression tests.
Test cases by Guoling Han.
llvm-svn: 35974
2007-04-13 22:33:10 +00:00
Chris Lattner
cbe92494fd
xfail this for now
...
llvm-svn: 35973
2007-04-13 22:20:27 +00:00
Chris Lattner
ef78f89fa5
new lsr testcase
...
llvm-svn: 35971
2007-04-13 20:38:14 +00:00
Chris Lattner
c65c4e9916
New testcase
...
llvm-svn: 35969
2007-04-13 20:28:08 +00:00
Anton Korobeynikov
5bb6590218
Fix PR1323 : we haven't updated phi nodes in good manner :)
...
llvm-svn: 35963
2007-04-13 06:53:51 +00:00
Dale Johannesen
37aecc68ea
testcases for function linkage
...
llvm-svn: 35955
2007-04-12 21:01:53 +00:00
Chris Lattner
ba8ff05529
vector compares aren't allowed. It doesn't make sense to have an xfailed
...
test to remind us of this.
llvm-svn: 35949
2007-04-12 18:21:52 +00:00
Chris Lattner
ee73b503a4
make this really work on linux :)
...
llvm-svn: 35948
2007-04-12 18:10:16 +00:00
Chris Lattner
62374cc05e
make this happier on linux hosts
...
llvm-svn: 35947
2007-04-12 18:09:06 +00:00
Chris Lattner
e3db14f830
new testcase
...
llvm-svn: 35942
2007-04-12 05:58:21 +00:00
Reid Spencer
500fb924dd
Make the shlibext and llvmlibsdir variables accessible.
...
llvm-svn: 35939
2007-04-12 02:49:30 +00:00
Reid Spencer
260356bbcf
The hello pass actually requires a function to chew on!
...
llvm-svn: 35937
2007-04-12 01:12:54 +00:00
Devang Patel
6f261440d4
New test case for PR 1321.
...
llvm-svn: 35934
2007-04-12 00:32:43 +00:00
Chris Lattner
53de3e63cc
new testcase.
...
llvm-svn: 35931
2007-04-11 23:45:16 +00:00
Reid Spencer
3f92dc65c6
Fix a guard that is supposed to guard against mistakes like this patch fixes!
...
We *really* need to be running these with tcl's "exec" to catch the errors.
llvm-svn: 35928
2007-04-11 22:40:46 +00:00
Chris Lattner
dbeb7c5f45
new testcase
...
llvm-svn: 35927
2007-04-11 22:36:10 +00:00
Reid Spencer
91097746e8
The "Hello" message is written on stderr so make sure it is duplicated to
...
stdout so the grep can match it.
llvm-svn: 35925
2007-04-11 21:30:05 +00:00
Reid Spencer
12ee385ec2
Add a test case for PR1318.
...
llvm-svn: 35923
2007-04-11 21:14:53 +00:00
Reid Spencer
ba51ef894b
Use the new %link variable to make this test portable.
...
llvm-svn: 35921
2007-04-11 21:00:00 +00:00
Reid Spencer
6650bbc30b
Make new variables available: compile_c, compile_cxx, link to handle tests
...
that want to use LLVM's notion of compiling and linking programs. This
includes all the -I -L and optimization switches that LLVM would using to
compile or link any of this files.
llvm-svn: 35920
2007-04-11 20:57:39 +00:00
Reid Spencer
5059815af5
The "implementation" keyword is no more!
...
llvm-svn: 35919
2007-04-11 20:06:03 +00:00
Reid Spencer
56b310ae49
Make the llvm-runtest function much more amenable by eliminating all the
...
global variables that needed to be passed in. This makes it possible to
add new global variables with only a couple changes (Makefile and llvm-dg.exp)
instead of touching every single dg.exp file.
llvm-svn: 35918
2007-04-11 19:56:59 +00:00
Reid Spencer
13dc8cea51
Add a test case for testing basic IR features via llvm2cpp. This helps find
...
bit rot in llvm2cpp and also tests the LLVM C++ IR in ways that llvm-as
doesn't.
llvm-svn: 35917
2007-04-11 19:54:37 +00:00
Reid Spencer
c202a9ae85
Make sure upgrade doesn't fail on this.
...
llvm-svn: 35916
2007-04-11 19:36:27 +00:00
Reid Spencer
50f96f2a23
Update the way llvm2cpp tests are done:
...
1. Make sure bytecode/assembly inputs are always redirected stdin so that
the module name is <stdin>. This helps not get false negatives when the
diff is done.
2. Scan the test file to determine if llvm-upgrade needs to be run.
3. Avoid running testings that are XFAIL'd because they'll cause a failure
when run for llvm2cpp.
4. Get some better error message output.
llvm-svn: 35914
2007-04-11 17:56:23 +00:00
Reid Spencer
db91083d5a
Upgrade this file completely instead of downgrading it. Make sure that
...
false positives aren't made.
llvm-svn: 35913
2007-04-11 17:51:03 +00:00
Chris Lattner
e557a69c34
this got better
...
llvm-svn: 35908
2007-04-11 16:12:27 +00:00
Chris Lattner
ec844dd102
adjust test
...
llvm-svn: 35907
2007-04-11 16:04:04 +00:00
Chris Lattner
0bf024fb83
change test name.
...
llvm-svn: 35904
2007-04-11 15:24:04 +00:00
Reid Spencer
9569890d38
Make sure this test uses llvm-upgrade.
...
Don't allow false positives.
llvm-svn: 35900
2007-04-11 12:46:06 +00:00
Reid Spencer
44bc3843a6
Fix to not give false positives.
...
llvm-svn: 35895
2007-04-11 12:04:33 +00:00
Chris Lattner
0a1e870a6b
sext of compares.
...
llvm-svn: 35892
2007-04-11 06:57:54 +00:00
Chris Lattner
3ea6010b67
new testcase
...
llvm-svn: 35889
2007-04-11 06:52:24 +00:00
Chris Lattner
787c0a4e5b
new testcase
...
llvm-svn: 35882
2007-04-11 05:32:13 +00:00
Chris Lattner
e827f7dfe6
new testcases for integer abs function
...
llvm-svn: 35880
2007-04-11 05:02:57 +00:00
Devang Patel
6d8b1e984b
New test case.
...
llvm-svn: 35868
2007-04-10 21:43:01 +00:00
Devang Patel
4e19c7b1db
Add test case for PR 1154.
...
llvm-svn: 35865
2007-04-10 16:57:08 +00:00
Chris Lattner
5d7cf88b9a
new testcase
...
llvm-svn: 35851
2007-04-09 23:51:49 +00:00
Devang Patel
3fe57fd44f
Add check for opt crash.
...
llvm-svn: 35849
2007-04-09 23:40:15 +00:00
Devang Patel
f954669cc9
Add Loop Rotate test cases.
...
llvm-svn: 35838
2007-04-09 22:22:42 +00:00
Anton Korobeynikov
6ee97ee42a
Next stage into switch lowering refactoring
...
1. Fix some bugs in the jump table lowering threshold
2. Implement much better metric for optimal pivot selection
3. Tune thresholds for different lowering methods
4. Implement shift-and trick for lowering small (<machine word
length) cases with few destinations. Good testcase will follow.
llvm-svn: 35816
2007-04-09 12:31:58 +00:00
Chris Lattner
d75e2127c8
add another test
...
llvm-svn: 35801
2007-04-09 05:26:48 +00:00
Chris Lattner
45ebb3ba95
The x constraint allows scalar FP values as well as vectors.
...
llvm-svn: 35798
2007-04-09 05:11:03 +00:00
Chris Lattner
34065e8986
new testcase for PR1304
...
llvm-svn: 35791
2007-04-09 01:37:35 +00:00
Chris Lattner
4fd4438601
new testcase for PR1286
...
llvm-svn: 35787
2007-04-09 01:10:13 +00:00
Chris Lattner
5a5aeaf596
new testcase for PR1308
...
llvm-svn: 35784
2007-04-09 00:45:42 +00:00
Chris Lattner
b9f8792e26
testcase for PR1314
...
llvm-svn: 35778
2007-04-08 22:22:53 +00:00
Nick Lewycky
7f42a891cf
Fix this testcase to fail if the bug were reintroduced.
...
llvm-svn: 35776
2007-04-08 21:49:13 +00:00
Owen Anderson
4b323657b9
Remove DomSet completely. This concludes work on PR1171.
...
llvm-svn: 35775
2007-04-08 21:30:05 +00:00
Chris Lattner
ebcaddce4b
this xform is correct, not an xfail
...
llvm-svn: 35766
2007-04-08 08:02:39 +00:00
Chris Lattner
41babccd55
make xfail info more nice
...
llvm-svn: 35764
2007-04-08 07:58:41 +00:00
Chris Lattner
3146667442
tweak this to test the right thing.
...
llvm-svn: 35762
2007-04-08 07:52:40 +00:00
Chris Lattner
9a765178c8
testrunner should print out xfail info.
...
llvm-svn: 35761
2007-04-08 07:49:19 +00:00
Chris Lattner
769c8c5bc7
new testcase, should simplify down to a xor/and/xor sequence.
...
llvm-svn: 35759
2007-04-08 07:45:36 +00:00
Chris Lattner
8fd39019e0
these test a pass that no longer exists.
...
llvm-svn: 35750
2007-04-07 20:25:30 +00:00
Chris Lattner
cc81108ac2
xfail these until owen can figure out the right fix
...
llvm-svn: 35748
2007-04-07 20:00:36 +00:00
Chris Lattner
afb410f066
testcase for PR1307
...
llvm-svn: 35705
2007-04-06 23:36:59 +00:00
Chris Lattner
d76ec48916
new testcase, update old one.
...
llvm-svn: 35699
2007-04-06 18:56:54 +00:00
Reid Spencer
f71d4af0e5
XFAIL this test for now. It will be a while before I can implement this
...
intrinsic properly in SDISel.
llvm-svn: 35692
2007-04-05 22:57:45 +00:00
Chris Lattner
0cb31c668d
new testcase that crashes globalopt
...
llvm-svn: 35688
2007-04-05 21:09:29 +00:00
Dale Johannesen
1fcb4c2cfe
testcase for padding before zero-length fields.
...
llvm-svn: 35687
2007-04-05 19:05:43 +00:00
Devang Patel
fd1c6bb60f
New tests for Packed structs.
...
llvm-svn: 35686
2007-04-05 17:14:21 +00:00
Devang Patel
bc8a8a6327
New tests for Packed structs.
...
llvm-svn: 35685
2007-04-05 17:07:48 +00:00
Anton Korobeynikov
ceb6667a6f
Fix test
...
llvm-svn: 35683
2007-04-05 16:43:09 +00:00
Reid Spencer
6eb55df794
Implement the llvm.bit.part_select.iN.iN.iN overloaded intrinsic.
...
llvm-svn: 35678
2007-04-04 23:48:25 +00:00
Reid Spencer
73f3f886ff
Ignore some things generated by bugpoint.
...
llvm-svn: 35677
2007-04-04 22:47:38 +00:00
Jeff Cohen
6a9efef91d
Fix some FreeBSD/amd64 regressions.
...
llvm-svn: 35675
2007-04-04 22:07:44 +00:00
Anton Korobeynikov
018c52ef1b
Fix test
...
llvm-svn: 35673
2007-04-04 21:28:36 +00:00
Anton Korobeynikov
e16f421e0e
Properly emit range comparisons for switch cases, where neighbour cases
...
go to the same destination. Now we're producing really good code for
switch-lower-feature.ll testcase
llvm-svn: 35672
2007-04-04 21:14:49 +00:00
Jeff Cohen
a42a5cc03c
Any add is wrong, regardless of type.
...
llvm-svn: 35671
2007-04-04 20:40:44 +00:00
Jeff Cohen
20800076a6
Get it right...
...
llvm-svn: 35670
2007-04-04 20:35:31 +00:00
Dale Johannesen
66c0a2b9e6
Test for transformConstExprCastCall fix.
...
llvm-svn: 35669
2007-04-04 19:18:16 +00:00
Jeff Cohen
bf47c569c7
Add new test.
...
llvm-svn: 35664
2007-04-04 16:11:23 +00:00
Evan Cheng
89768803e7
Better still.
...
llvm-svn: 35663
2007-04-04 08:49:40 +00:00
Evan Cheng
8cd7d8dc77
Fix test case.
...
llvm-svn: 35662
2007-04-04 07:41:33 +00:00
Evan Cheng
3af3f8e696
These got better.
...
llvm-svn: 35661
2007-04-04 07:41:15 +00:00
Evan Cheng
5bd266a791
New asm test case.
...
llvm-svn: 35641
2007-04-04 00:15:17 +00:00
Evan Cheng
8a281b1e57
New test case.
...
llvm-svn: 35636
2007-04-03 23:40:54 +00:00
Chris Lattner
9b114928f7
move these to FrontendAda
...
llvm-svn: 35631
2007-04-03 21:48:02 +00:00
Chris Lattner
57b592a607
testcase for recent bugfix
...
llvm-svn: 35630
2007-04-03 21:47:36 +00:00
Chris Lattner
3888505be5
move ada tests
...
llvm-svn: 35629
2007-04-03 21:46:22 +00:00
Evan Cheng
f9da057ef8
New test case.
...
llvm-svn: 35628
2007-04-03 21:38:03 +00:00
Chris Lattner
2083adbfb8
new testcase for PR1253
...
llvm-svn: 35611
2007-04-03 01:45:32 +00:00
Chris Lattner
caf2381689
new testcase, where we should use a negative stride
...
llvm-svn: 35608
2007-04-03 00:13:16 +00:00
Chris Lattner
03edb8b08e
Add a regtest for cases we now recognize as rotates, thanks to Scott Michel's
...
recent dagcombine patch
llvm-svn: 35606
2007-04-02 22:08:54 +00:00
Chris Lattner
d4258ba56c
fix this testcase so it passes
...
llvm-svn: 35604
2007-04-02 20:46:28 +00:00
Chris Lattner
3d0eeb2046
fix this testcase on ppc hosts
...
llvm-svn: 35603
2007-04-02 20:39:48 +00:00
Evan Cheng
b114ed90de
New test case.
...
llvm-svn: 35599
2007-04-02 18:47:13 +00:00
Chris Lattner
c597fc9196
new testcase.
...
llvm-svn: 35591
2007-04-02 06:33:10 +00:00
Chris Lattner
acb971cbc3
new testcase
...
llvm-svn: 35589
2007-04-02 05:57:59 +00:00
Chris Lattner
095caddb5e
creative way to add one.
...
llvm-svn: 35583
2007-04-02 05:35:08 +00:00
Chris Lattner
c873153cbd
my patch fixed the fixme.
...
llvm-svn: 35582
2007-04-02 05:08:54 +00:00
Reid Spencer
09cacde5c5
Fix illegal assembly syntax.
...
llvm-svn: 35581
2007-04-02 03:24:47 +00:00
Reid Spencer
ff0b24925c
Add a test case to make sure that constant folding of the bit counting
...
intrinsics works.
llvm-svn: 35577
2007-04-02 01:45:31 +00:00