Chris Lattner
73f1bad36e
Make sure this tests the right thing, xfail on solaris, which doesn't have floorf
...
llvm-svn: 25524
2006-01-23 05:56:34 +00:00
Chris Lattner
698283c3c3
new testcase for isascii
...
llvm-svn: 23520
2005-09-29 06:16:37 +00:00
Chris Lattner
a2cff39dcd
add a new testcase
...
llvm-svn: 23518
2005-09-29 06:11:34 +00:00
Chris Lattner
40908cf792
Enhance this to check for a crash, add a case that crashes simplifylibcalls,
...
and add a case that has uses.
llvm-svn: 23424
2005-09-24 22:16:04 +00:00
Chris Lattner
3ad034058e
new testcase
...
llvm-svn: 23016
2005-08-24 17:20:30 +00:00
Chris Lattner
93c0328e89
new testcase
...
llvm-svn: 22160
2005-05-20 22:25:44 +00:00
Reid Spencer
9d1f2e88d6
Don't eliminate a test case, just the form of the test case, from the
...
previous revision.
llvm-svn: 22072
2005-05-15 21:35:26 +00:00
Chris Lattner
965b367cf1
This does not belong
...
llvm-svn: 22071
2005-05-15 21:31:36 +00:00
Reid Spencer
418065989d
Add a case with non-constant argument for testing the transform:
...
ffs(x) -> (x == 0 ? 0 : llvm.cttz(0)+1)
llvm-svn: 22069
2005-05-15 21:26:59 +00:00
Reid Spencer
52c1813108
Add a test case for testing ffs libcall conversion to constant
...
llvm-svn: 22028
2005-05-14 16:44:43 +00:00
Reid Spencer
bd4efef3eb
* Break tests into individual cases so its easier to see what's going on.
...
* Add four new cases to handle the new optimizations for strlen, dealing
with:
strlen(x) != 0 -> *x != 0
strlen(x) == 0 -> *x == 0
for each of two cases: strlen(x) != 0 and strlen(x) == 0
llvm-svn: 21767
2005-05-07 20:21:04 +00:00
Reid Spencer
793d169d29
Make sure both optimization cases get tested.
...
llvm-svn: 21687
2005-05-04 17:45:10 +00:00
Reid Spencer
04242d8b3a
Add a test case for the IsDigitOptimization class.
...
llvm-svn: 21686
2005-05-04 17:34:55 +00:00
Reid Spencer
b28a320411
Fix this test to succeed even if "strchr" is on a call instruction.
...
llvm-svn: 21675
2005-05-03 17:09:38 +00:00
Reid Spencer
04b3cda068
Add a test case for SPrintFOptimization.
...
llvm-svn: 21674
2005-05-03 17:08:45 +00:00
Reid Spencer
e4895c439b
Add a test case for StrChrOptimizer for -simplify-libcalls
...
llvm-svn: 21668
2005-05-03 06:22:41 +00:00
Reid Spencer
a77025d96d
A new test case for the LLVMMemSetOptimization.
...
llvm-svn: 21663
2005-05-03 04:00:24 +00:00
Reid Spencer
da05f00bbf
Correct the title and the success criteria: strcmp -> strncmp
...
llvm-svn: 21659
2005-05-03 00:52:19 +00:00
Reid Spencer
263c65154c
Add a new test case for the StrNCmpOptimization.
...
llvm-svn: 21658
2005-05-03 00:50:43 +00:00
Reid Spencer
26558086d2
Add a test case for testing the FPrintFOptimization.
...
llvm-svn: 21656
2005-05-02 23:07:14 +00:00
Reid Spencer
14bca88587
* Fix signed/unsigned usage problem
...
* Rearrange for readability.
llvm-svn: 21625
2005-04-30 03:06:36 +00:00
Reid Spencer
b6a4ce9b30
A new test case for the ToAsciiOptimizer.
...
llvm-svn: 21624
2005-04-30 01:00:52 +00:00
Reid Spencer
61371cb4b6
A new test case for the StrCmpOptimization in -simplify-libcalls.
...
llvm-svn: 21623
2005-04-30 00:52:04 +00:00
Reid Spencer
ba12fdd328
This is StrCpy, NOT StrCat!
...
llvm-svn: 21622
2005-04-29 23:02:15 +00:00
Reid Spencer
2332ee8830
Get the name of the pass right in the documentation.
...
llvm-svn: 21621
2005-04-29 23:01:21 +00:00
Reid Spencer
182a598ca9
Fix the success criteria for the test to make call instructions with "pow"
...
not just any occurrence of "pow".
llvm-svn: 21620
2005-04-29 10:11:23 +00:00
Reid Spencer
7e6d82eebf
Actually make this pass test something related to fputs.
...
llvm-svn: 21619
2005-04-29 10:10:17 +00:00
Reid Spencer
1846b68692
Add a test case for the puts libcall optimization.
...
llvm-svn: 21616
2005-04-29 07:19:00 +00:00
Reid Spencer
5c9efed75f
Add a testcase for optimizing the strcpy libcall.
...
llvm-svn: 21615
2005-04-29 06:01:28 +00:00
Reid Spencer
16dac19584
New test case for testing pow(3) math library optimizations.
...
llvm-svn: 21613
2005-04-29 05:47:05 +00:00
Reid Spencer
23a4d5b15c
Add a test case for MemMove.ll
...
llvm-svn: 21568
2005-04-26 19:05:51 +00:00
Reid Spencer
5f499593d2
Result of strlen is size_t which is either uint or ulong, not int.
...
llvm-svn: 21567
2005-04-26 19:04:46 +00:00
Reid Spencer
ee42a0e6a1
Add a new test case for the llvm.memcpy simplification case.
...
llvm-svn: 21561
2005-04-26 07:40:40 +00:00
Reid Spencer
8acfb411f9
* Add a test case for StrLenOptimization
...
* Rename ExitInMain and StrCat tests so they don't have the date the
regression was entered since they are feature tests, not regressions.
llvm-svn: 21558
2005-04-26 05:22:38 +00:00
Reid Spencer
1c6a6274cb
Fix RUN: line to not always pass.
...
llvm-svn: 21553
2005-04-26 02:33:25 +00:00
Reid Spencer
2be469978f
Update the test case to handle a few more (degenerate) cases and remove
...
the restriction that it is an XFAIL because it now passes.
llvm-svn: 21545
2005-04-25 21:08:34 +00:00
Reid Spencer
7b130447d0
Make sure the target buffer is null terminated so we don't blow up
...
strcat when its called.
llvm-svn: 21533
2005-04-25 15:40:35 +00:00
Reid Spencer
cffd5bc2f3
A test case for testing the StrCatOptimizer, currently XFAILed everywhere.
...
llvm-svn: 21532
2005-04-25 07:29:30 +00:00
Reid Spencer
91f63c0b61
Use the %name rather than the "name" format so those familiar with the
...
llvm-dis output don't go blind.
llvm-svn: 21525
2005-04-25 03:18:19 +00:00
Reid Spencer
c87c21af3d
A test case for the the ExitInMain libcall simplification.
...
llvm-svn: 21521
2005-04-25 02:50:08 +00:00