Commit Graph

3045 Commits

Author SHA1 Message Date
Chris Lattner f36cc15a84 this doesn't pass with CVS HEAD.
llvm-svn: 31942
2006-11-27 20:01:48 +00:00
Reid Spencer 5fb4da8c5d Add 3 more test cases for ptrtoint, fptoui and fptosi
llvm-svn: 31940
2006-11-27 19:54:23 +00:00
Chris Lattner 2c2e34b2c4 testcase for PR1014
llvm-svn: 31939
2006-11-27 19:47:22 +00:00
Reid Spencer 141519fbc0 Alter these tests to ensure they match a "test $1, X" X86 instruction that
is now generated by the LLVM backend for "trunc to bool" instructions.

llvm-svn: 31935
2006-11-27 05:08:03 +00:00
Reid Spencer b3281892d9 Add a test to ensure a bitcast/and/trunc combination eliminates the bitcast.
llvm-svn: 31934
2006-11-27 05:06:58 +00:00
Reid Spencer 6c38f0bb07 For PR950:
The long awaited CAST patch. This introduces 12 new instructions into LLVM
to replace the cast instruction. Corresponding changes throughout LLVM are
provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the
exception of 175.vpr which fails only on a slight floating point output
difference.

llvm-svn: 31931
2006-11-27 01:05:10 +00:00
Reid Spencer afbc00bc38 Don't use bitcast yet!
llvm-svn: 31930
2006-11-26 21:22:01 +00:00
Reid Spencer 2dd1741565 Make this test case easier to read. No functional changes.
llvm-svn: 31929
2006-11-26 18:27:09 +00:00
Reid Spencer 3c3324c7fa Fix some typos.
llvm-svn: 31897
2006-11-23 16:45:52 +00:00
Reid Spencer 0e43e15fc9 Promote GEP ubyte indices to uint. Backwards compatibility for 1.2 and
older features will be dropped soon and these test cases must not rely
on the upgrade capability.

llvm-svn: 31896
2006-11-23 15:14:52 +00:00
Nick Lewycky 09b7e4d3ab Update to new predicate simplifier VRP design. Fixes PR966 and PR967.
Remove predicate simplifier from default gcc3 pipeline. New design is too
slow to enable by default.
Add new testcases for problems encountered in development.

llvm-svn: 31895
2006-11-22 23:49:16 +00:00
Jim Laskey efcaa4a8f5 Test for PR1013.
llvm-svn: 31886
2006-11-20 21:58:02 +00:00
Chris Lattner e06180bab8 new testcase
llvm-svn: 31885
2006-11-20 21:20:57 +00:00
Chris Lattner bffbec4482 Testcase for PR1011
llvm-svn: 31877
2006-11-20 18:05:26 +00:00
Chris Lattner 2ae1230764 Testcase for pr1012
llvm-svn: 31875
2006-11-20 17:55:30 +00:00
Chris Lattner bfbc7ace7d converting massive blocks of phis into selects like this is silly.
llvm-svn: 31852
2006-11-18 19:17:52 +00:00
Reid Spencer e7c6fcdbf3 Fix bugs in this. What was I thinking??? :)
llvm-svn: 31848
2006-11-18 08:06:17 +00:00
Reid Spencer d8bd8def37 Fail even if opt doesn't print anything.
llvm-svn: 31844
2006-11-18 06:08:21 +00:00
Reid Spencer 178afb1f9c Add a simple test to make sure getModRefInfo is 1/2 way sane.
llvm-svn: 31842
2006-11-18 05:52:18 +00:00
Evan Cheng bae950131c Add a x86-64 test case: movb %sil, %ah is illegal.
llvm-svn: 31829
2006-11-17 20:41:55 +00:00
Jim Laskey 716f64c30b Case sensitive not.
llvm-svn: 31827
2006-11-17 18:00:39 +00:00
Jim Laskey 63228b3450 Check for MaxAlign.
llvm-svn: 31826
2006-11-17 17:19:49 +00:00
Jim Laskey 6684f2f0a7 Tests to verify PowerPC ABI.
llvm-svn: 31825
2006-11-17 16:54:21 +00:00
Chris Lattner 0727eeaeac New testcase.
llvm-svn: 31808
2006-11-17 06:09:49 +00:00
Evan Cheng 538e9cafae New test case.
llvm-svn: 31796
2006-11-16 23:38:21 +00:00
Chris Lattner 2ccd16c0af make this harder
llvm-svn: 31779
2006-11-16 01:22:52 +00:00
Chris Lattner c348c50c38 new testcase
llvm-svn: 31728
2006-11-14 07:45:36 +00:00
Chris Lattner 9adf8294ef new testcase
llvm-svn: 31726
2006-11-14 06:04:35 +00:00
Reid Spencer 1b89a7bcc1 Discard code that supported old bytecode formats. This makes the Bytecode
Reader code much easier to read and maintain. Backwards compatibility from
version 5 format has been retained. Older formats will produce an error.

llvm-svn: 31723
2006-11-14 04:47:22 +00:00
Reid Spencer 3d1027193f For PR950:
Changes for new cast instructions that are backwards compatible.

llvm-svn: 31707
2006-11-13 18:00:52 +00:00
Reid Spencer 7354395590 Don't hard code test names into the test.
llvm-svn: 31706
2006-11-13 17:55:34 +00:00
Reid Spencer 83c7a1e710 Fix 80 cols violations.
llvm-svn: 31705
2006-11-13 16:21:09 +00:00
Reid Spencer 5953e4e805 For PR950:
Use the notcast script in preparation for 12 casts.

llvm-svn: 31704
2006-11-13 16:13:38 +00:00
Reid Spencer 6170dff047 For PR950:
Use the notcast script in preparation for 12 cast instructions.

llvm-svn: 31703
2006-11-13 16:12:25 +00:00
Reid Spencer 7debe5e948 Make it handle plain old cast too, for old assembly.
llvm-svn: 31702
2006-11-13 16:11:14 +00:00
Reid Spencer 6f406f91d2 Handle ptrtoint and inttoptr
llvm-svn: 31701
2006-11-13 16:09:37 +00:00
Jim Laskey a3262ee8ec XFAIL All but powerpc
llvm-svn: 31689
2006-11-11 22:14:46 +00:00
Jim Laskey ebdf6f46eb Works for PowerPC with frame pointers.
llvm-svn: 31679
2006-11-11 10:22:56 +00:00
Reid Spencer e183ed753f Instruction name changes.
llvm-svn: 31663
2006-11-11 01:04:13 +00:00
Reid Spencer 279a3aefc3 Enable path completion when typing the TESTSUITE= option by allowing the
test directory to precede the test suite name. That is, it will strip off
test/ from TESTSUITE which allows path completion from the command line.

llvm-svn: 31662
2006-11-11 01:02:45 +00:00
Chris Lattner e15018b8b7 enable this test, check ppc64 as well.
llvm-svn: 31657
2006-11-11 00:13:07 +00:00
Chris Lattner d530a503da This testcase is miscompiled by instcombine, reduced from 176.gcc
llvm-svn: 31652
2006-11-10 23:37:54 +00:00
Chris Lattner 82a85b66a3 new testcase
llvm-svn: 31643
2006-11-10 21:36:07 +00:00
Jim Laskey bc60d34748 Must have a frame pointer argument fixed. Now fails on PowerPC.
llvm-svn: 31639
2006-11-10 17:56:29 +00:00
Jim Laskey 11ba2bf721 Must have a frame pointer.
llvm-svn: 31638
2006-11-10 17:51:25 +00:00
Reid Spencer 8488eac9d7 This is XFAILed on i[0-9]86 systems not Linux
llvm-svn: 31636
2006-11-10 17:47:28 +00:00
Anton Korobeynikov a1561d4fdf Adding target triple to test
llvm-svn: 31630
2006-11-10 06:59:53 +00:00
Tanya Lattner 1537ecce93 xfail for llvmgcc3
llvm-svn: 31629
2006-11-10 04:53:50 +00:00
Chris Lattner 7a82314782 make this test more interesting
llvm-svn: 31619
2006-11-10 02:04:52 +00:00
Anton Korobeynikov b9c91c265c Fixing PR990: http://llvm.org/PR990.
This should unbreak csretcc on Linux & mingw targets. Several tests from
llvm-test should be also restored (fftbench, bigfib).

llvm-svn: 31613
2006-11-10 00:48:11 +00:00