Commit Graph

1399 Commits

Author SHA1 Message Date
Chris Lattner
07b976bb9e Testcase for PR205: [llvmgcc] C front-end does not emit 'zeroinitializer' when possible
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11461 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-15 02:19:08 +00:00
Chris Lattner
8710da3c58 Test for actual support, not just for lack of crashage
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11460 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-15 01:21:39 +00:00
Chris Lattner
d31dd3278f New testcase for PR237: [x86] wierd stack/frame pointer manipulation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11456 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-15 00:21:04 +00:00
Chris Lattner
e488d64eb2 new testcase for llvm.memset generation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11440 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-14 04:26:15 +00:00
Chris Lattner
208d080444 Testcase for builtin frame/return address
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11436 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-14 04:06:48 +00:00
Chris Lattner
90cf614aa5 Test that the CFE compiles memset and bzero to llvm.memset
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11435 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-14 03:46:37 +00:00
Chris Lattner
d64e0df32b Add a testcase for the frameaddress and returnaddress intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11434 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-14 02:55:47 +00:00
Chris Lattner
4a6f9a40b7 Test that the code generator supports these intrinsics
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11432 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-14 02:51:40 +00:00
Chris Lattner
aa82943a1d Update tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11418 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-13 23:33:17 +00:00
Chris Lattner
6f3ff3e34d New testcase. The CFE should not generate illegal LLVM intrinsics, even if
the input program is horribly broken (like 126.gcc).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11401 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-13 22:04:41 +00:00
Chris Lattner
c201a7a911 Right, memcpy READS memory too :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11373 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-13 16:09:37 +00:00
Chris Lattner
7f007250e1 New testcase for support for memcpy/memmove
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11372 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-13 16:04:51 +00:00
Chris Lattner
7266f41e56 New testcase for PR233: [llvmgcc] Structure copies result in a LOT of code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11359 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-12 21:06:52 +00:00
Chris Lattner
cb7cb71bc8 Test that we get rep movs when calling memcpy
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11352 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-12 17:53:43 +00:00
Chris Lattner
115e5e6abb Basic functionality testing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11312 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-11 05:00:27 +00:00
Chris Lattner
54636af39d New feature testcase for simplifycfg.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11306 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-11 03:35:04 +00:00
Chris Lattner
f629496776 Right, define the LPROF variable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11273 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-10 19:46:14 +00:00
Chris Lattner
79caafeefe Move this testcase out of /home/vadve/lattner/cvs/llvm/test/Programs/LLVMSource,
as it fails.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11250 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-09 22:52:25 +00:00
Chris Lattner
8b391fb430 New testcase, code generators should support invoke/unwind
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11192 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-08 19:40:58 +00:00
Chris Lattner
7f5dd4a4e0 New testcase for PR223: Loopsimplify incorrectly updates dominator information
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11136 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-05 21:11:38 +00:00
Chris Lattner
18b34e8b1b Add another test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11062 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-01 22:47:16 +00:00
Chris Lattner
e5ec955fa4 New testcase for PR218
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11059 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-01 18:16:06 +00:00
Chris Lattner
7f430a5049 New testcase for better mod/ref information that basicaa can provide
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11023 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-30 22:18:47 +00:00
Chris Lattner
6e1f3ec6cd New testcase for problem brian ran into
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10966 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-23 00:54:26 +00:00
Chris Lattner
78c146ffc5 New testcase for incorrect bytecode reading of MAXLONG. The reader is getting
it as zero.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10927 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-20 19:00:12 +00:00
John Criswell
1119d7d394 Remove the use of LLVMGCCARCH. Instead, query the compiler for the
location of libgcc.a; that will tell us the name of the directory to find
the libraries that we're looking for.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10903 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-16 21:53:23 +00:00
Chris Lattner
f6e180324e new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10843 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-14 05:53:11 +00:00
Brian Gaeke
048a1d8db7 You know you like Makefiles with fewer variables. Next up on the victim list
is TOOLS, which is how you say LLVMTOOLCURRENT in Oldspeak.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10832 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-13 22:22:19 +00:00
Brian Gaeke
a5b567516f Get rid of dead defns of LCC, LCXX, LAS, as per FIXME.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10829 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-13 22:10:06 +00:00
Brian Gaeke
844c546acf Fix overzealous fixme fixing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10827 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-13 21:59:51 +00:00
Brian Gaeke
5c59be9552 Remove dead definitions of NATGCC and CP, and dead .tll, .tbc rules.
Make should continue even if compilation cmds fail, for the sake of
the nightly tester, so use minuses on them.

Use LLVMAS, LLVMGCC, LLVMGXX instead of LAS, LCC, LCXX (as per FIXME).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10825 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-13 21:56:30 +00:00
Chris Lattner
75d1412cc2 New testcase for symbolic constant folding opportunities that LLVM should get.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10811 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-13 05:32:27 +00:00
Chris Lattner
20cd43b2f6 Testcase for PR204
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10769 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-12 05:01:48 +00:00
Chris Lattner
e845b1aa79 Add support for %llvmgcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10768 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-12 05:01:13 +00:00
Chris Lattner
debcbd0a46 Test to make sure we can SCCP load instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10766 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-12 04:28:32 +00:00
Chris Lattner
ff2ab4db20 New testcase, allow folding of binary operators that use PHI nodes, as long
as the result of the binary operator is always constant.  This does not require
the PHI itself to be constant though.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10762 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-12 03:57:00 +00:00
Chris Lattner
33a79d73bd New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10760 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-12 01:17:42 +00:00
Chris Lattner
c9f75b5700 This isn't really an assembler test. This tests to make sure the
ConstantExpr::getGetElementPtr method folds two getelementptr instructions
when possible.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10758 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-11 23:56:03 +00:00
Chris Lattner
e6b72a2518 Testcase for PR202
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10715 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-08 17:15:09 +00:00
Chris Lattner
019314cdc7 restore comments to this file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10704 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-06 05:37:45 +00:00
Chris Lattner
94276b6f93 An example testcase for use in the debugger. Currently you can do stuff like
stepping, next'ing, finish'ing, stacktraces, source listings, etc.  You can't
print program variables yet though.

Oh, and I lost my nice commented version of funccall.ll  :(

Test with:
llvm-as funccall.ll
llvm-db funccall.bc
<arguments>

This is not automatically testable yet, and the C front-end doesn't support
debug information yet.  That said, it's a start.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10689 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-05 05:32:40 +00:00
John Criswell
a29b94dd5a Regression test for initializers with members of unknown size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10678 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-01 23:58:07 +00:00
Chris Lattner
579155ef75 testcase for PR198
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10660 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-31 03:24:14 +00:00
Chris Lattner
14e1726b2e new testcase for cananonicalization of subtracts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10581 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-22 05:24:45 +00:00
Chris Lattner
7610a287c6 New testcase to see if -indvars can promote pointer arithmetic to array accesses
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10577 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-22 05:00:13 +00:00
Chris Lattner
595bb97fc7 New testcase for PR194
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10568 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-21 19:06:15 +00:00
Chris Lattner
7fe178681b New testcase for missed optimization
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10538 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-19 09:08:15 +00:00
Chris Lattner
bb8d661b27 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10533 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-19 06:54:37 +00:00
Chris Lattner
215da0c040 New testcase, for PR185
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10471 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-15 17:33:41 +00:00
Chris Lattner
d598561318 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10468 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-15 00:03:53 +00:00