1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
Commit Graph

3248 Commits

Author SHA1 Message Date
Reid Spencer
f291841793 Test case for PR1033, x86-64 code gen fails on bitcast.
llvm-svn: 32185
2006-12-04 18:24:56 +00:00
Evan Cheng
bc0c02e746 Fix test.
llvm-svn: 32183
2006-12-04 18:06:24 +00:00
Jim Laskey
c489d15841 Purpose of test is lost in upgrade.
llvm-svn: 32182
2006-12-04 17:54:29 +00:00
Jim Laskey
1e07d1a63e Remove debug info.
llvm-svn: 32181
2006-12-04 17:06:15 +00:00
Jim Laskey
6ba00a0883 Fixed to use current debug info.
llvm-svn: 32177
2006-12-04 12:23:17 +00:00
Jim Laskey
bce06e9467 Moving to DebugInfo.
llvm-svn: 32176
2006-12-04 12:21:23 +00:00
Jim Laskey
f01802a9bc Duplicate of Regression/Debugger/funccall.ll.
llvm-svn: 32175
2006-12-04 10:50:32 +00:00
Reid Spencer
84850d5a86 Use weak_import on linux, weak everywhere else. Makes test pass on Linux.
Checking for __APPLE_CC__ is useless as this just checks to see if the
compiler is llvm-gcc, which we know it is.

llvm-svn: 32158
2006-12-03 16:40:08 +00:00
Reid Spencer
a9c9b7171e These tests need llvm-upgrade. This fixes last night's nightly test fallout.
llvm-svn: 32154
2006-12-03 16:17:19 +00:00
Reid Spencer
70c4b50c14 Upgrade to version 7 bytecode format.
llvm-svn: 32143
2006-12-03 04:40:09 +00:00
Reid Spencer
035ac3b7e4 Make sure this file gets upgraded with llvm-upgrade
llvm-svn: 32138
2006-12-02 20:42:32 +00:00
Reid Spencer
18fdc5e273 Upgrade intrinsic function calls manually.
llvm-svn: 32137
2006-12-02 20:41:53 +00:00
Reid Spencer
36bc766768 These files need llvm-upgrade.
llvm-svn: 32136
2006-12-02 20:40:30 +00:00
Reid Spencer
1dad92a1ba Rearrange code so that llvm-upgrade doesn't break the optimization this
test is trying to verify.

llvm-svn: 32135
2006-12-02 20:39:25 +00:00
Reid Spencer
d52ae0adda Upgrade intrinsic function calls
llvm-svn: 32134
2006-12-02 20:38:37 +00:00
Reid Spencer
b046cf56c5 Run llvm-upgrade on this test and/or upgrade intrinsic function calls.
llvm-svn: 32133
2006-12-02 20:38:10 +00:00
Reid Spencer
f7824ed6bc Remove tests for checking bytecode upgrade. Bytecode upgrade is being
replaced in 2.0 with assembly upgrade via the llvm-upgrade tool.

llvm-svn: 32132
2006-12-02 20:35:50 +00:00
Reid Spencer
3c8acbc6bf Upgrade old intrinsic function calls manually.
llvm-svn: 32131
2006-12-02 20:34:57 +00:00
Reid Spencer
581280f4ca Use llvm-upgrade these tests as they all use old assembly.
llvm-svn: 32130
2006-12-02 20:34:08 +00:00
Reid Spencer
8cf118be24 Remove old intrinsic declarations and usage.
llvm-svn: 32129
2006-12-02 20:30:20 +00:00
Reid Spencer
dc5ddb45f6 Remove a redundant RUN: line.
llvm-svn: 32126
2006-12-02 17:49:38 +00:00
Reid Spencer
7e29e5b205 Prevent a GEP from getting upgraded to avoid resulting test failure.
llvm-svn: 32123
2006-12-02 16:25:20 +00:00
Reid Spencer
6233e120de Update this test to use llvm-update.
llvm-svn: 32117
2006-12-02 05:02:46 +00:00
Reid Spencer
7f5ef2d7a5 Use the llvm-upgrade program to upgrade llvm assembly.
llvm-svn: 32115
2006-12-02 04:23:10 +00:00
Chris Lattner
906e9c8346 new testcase
llvm-svn: 32111
2006-12-02 00:12:32 +00:00
Chris Lattner
14c6518757 fix incorrectly translated testcase
llvm-svn: 32093
2006-12-01 21:38:02 +00:00
Chris Lattner
f6a48f7ea5 test1 is miscompiled
llvm-svn: 32086
2006-12-01 19:50:04 +00:00
Jim Laskey
55ad52f156 wrong spot
llvm-svn: 32084
2006-12-01 19:39:32 +00:00
Jim Laskey
94dcc7c744 Test for float varargs.
llvm-svn: 32083
2006-12-01 19:29:20 +00:00
Chris Lattner
badf74d91d new 'cast' miscompilation, reduced from perlbmk by Evan
llvm-svn: 32079
2006-12-01 19:02:56 +00:00
Chris Lattner
60a07bf5ff enable this now that codegen support is in place
llvm-svn: 32076
2006-12-01 18:04:08 +00:00
Evan Cheng
a90e1d7a55 This test is meant for X86 CPU which does not support SSE2.
llvm-svn: 32072
2006-12-01 10:17:36 +00:00
Evan Cheng
cd3a9750d7 Add a extern weak test case.
llvm-svn: 32070
2006-12-01 09:18:20 +00:00
Chris Lattner
89fb887b8b new testcase to verify external weak continues to work
llvm-svn: 32064
2006-12-01 07:14:26 +00:00
Chris Lattner
43412fff16 new testcase for PR1027
llvm-svn: 32063
2006-12-01 06:34:56 +00:00
Chris Lattner
6be189eb1a new testcase
llvm-svn: 32061
2006-12-01 05:54:48 +00:00
Reid Spencer
2cf24d8d84 The InstCombine hack has been removed, no need to XFAIL this any more.
llvm-svn: 32058
2006-12-01 01:50:45 +00:00
Evan Cheng
1704069dd3 Add X86-64 load / store codegen tests.
llvm-svn: 32047
2006-11-30 22:07:00 +00:00
Jim Laskey
662a7c96eb Add compile unit size test
llvm-svn: 32040
2006-11-30 15:36:44 +00:00
Jim Laskey
733a864c97 Correct comment
llvm-svn: 32039
2006-11-30 15:31:49 +00:00
Jim Laskey
ae62bc1bb9 Pubnames test
llvm-svn: 32038
2006-11-30 15:25:59 +00:00
Evan Cheng
296ed401de New LSR test case.
llvm-svn: 32029
2006-11-29 23:48:37 +00:00
Chris Lattner
8fb93fdef7 new testcase
llvm-svn: 32023
2006-11-29 19:57:55 +00:00
Evan Cheng
d8429bd99f Add x86-64 llvm.readcyclecounter test.
llvm-svn: 32018
2006-11-29 08:29:59 +00:00
Evan Cheng
cf9ff23184 Fix test.
llvm-svn: 32015
2006-11-29 08:22:59 +00:00
Chris Lattner
941474486f new bswap idiom
llvm-svn: 32012
2006-11-29 07:21:08 +00:00
Chris Lattner
0fe0a11839 new testcase
llvm-svn: 32010
2006-11-29 07:17:32 +00:00
Chris Lattner
bedba50acf new testcase
llvm-svn: 32008
2006-11-29 07:03:00 +00:00
Chris Lattner
5188a27d52 This fails on mainline.
llvm-svn: 32007
2006-11-29 05:19:32 +00:00
Chris Lattner
ff4e213d2d new testcase, bswaps should be eliminated.
llvm-svn: 32005
2006-11-29 05:00:14 +00:00
Evan Cheng
f26e88cfa4 Add test cases for PR1022, 1023.
llvm-svn: 32002
2006-11-29 01:57:06 +00:00
Reid Spencer
3d65b7aef6 Fix a typo.
llvm-svn: 31959
2006-11-28 06:14:06 +00:00
Chris Lattner
1e15b20314 testcase for pr1016
llvm-svn: 31951
2006-11-28 01:26:37 +00:00
Chris Lattner
d63c9e2f64 this doesn't pass with CVS HEAD.
llvm-svn: 31942
2006-11-27 20:01:48 +00:00
Reid Spencer
b87bb1c676 Add 3 more test cases for ptrtoint, fptoui and fptosi
llvm-svn: 31940
2006-11-27 19:54:23 +00:00
Chris Lattner
3323b82fe6 testcase for PR1014
llvm-svn: 31939
2006-11-27 19:47:22 +00:00
Reid Spencer
6781858c34 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
7054676526 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
992d9788b3 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
d1d9ce5193 Don't use bitcast yet!
llvm-svn: 31930
2006-11-26 21:22:01 +00:00
Reid Spencer
0530c23155 Make this test case easier to read. No functional changes.
llvm-svn: 31929
2006-11-26 18:27:09 +00:00
Reid Spencer
95d5641559 Fix some typos.
llvm-svn: 31897
2006-11-23 16:45:52 +00:00
Reid Spencer
43e145ce25 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
cd25e651c2 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
b213b709c3 Test for PR1013.
llvm-svn: 31886
2006-11-20 21:58:02 +00:00
Chris Lattner
eee0814b04 new testcase
llvm-svn: 31885
2006-11-20 21:20:57 +00:00
Chris Lattner
8584c85c9d Testcase for PR1011
llvm-svn: 31877
2006-11-20 18:05:26 +00:00
Chris Lattner
2f3a9f5d0c Testcase for pr1012
llvm-svn: 31875
2006-11-20 17:55:30 +00:00
Chris Lattner
af923f0720 converting massive blocks of phis into selects like this is silly.
llvm-svn: 31852
2006-11-18 19:17:52 +00:00
Reid Spencer
572819f0c0 Fix bugs in this. What was I thinking??? :)
llvm-svn: 31848
2006-11-18 08:06:17 +00:00
Reid Spencer
9a5c56e27e Fail even if opt doesn't print anything.
llvm-svn: 31844
2006-11-18 06:08:21 +00:00
Reid Spencer
b610ada904 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
37e2931b0a Add a x86-64 test case: movb %sil, %ah is illegal.
llvm-svn: 31829
2006-11-17 20:41:55 +00:00
Jim Laskey
c110c2945e Case sensitive not.
llvm-svn: 31827
2006-11-17 18:00:39 +00:00
Jim Laskey
df8a40c30b Check for MaxAlign.
llvm-svn: 31826
2006-11-17 17:19:49 +00:00
Jim Laskey
acec9e2d64 Tests to verify PowerPC ABI.
llvm-svn: 31825
2006-11-17 16:54:21 +00:00
Chris Lattner
6c2f3de5c4 New testcase.
llvm-svn: 31808
2006-11-17 06:09:49 +00:00
Evan Cheng
52e56e66d1 New test case.
llvm-svn: 31796
2006-11-16 23:38:21 +00:00
Chris Lattner
11c0131ca6 make this harder
llvm-svn: 31779
2006-11-16 01:22:52 +00:00
Chris Lattner
e9245afa13 new testcase
llvm-svn: 31728
2006-11-14 07:45:36 +00:00
Chris Lattner
9cda3e7e77 new testcase
llvm-svn: 31726
2006-11-14 06:04:35 +00:00
Reid Spencer
f65a8539ec 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
5ccab2352a For PR950:
Changes for new cast instructions that are backwards compatible.

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

llvm-svn: 31704
2006-11-13 16:13:38 +00:00
Reid Spencer
2c351d43b9 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
3d513e3571 Make it handle plain old cast too, for old assembly.
llvm-svn: 31702
2006-11-13 16:11:14 +00:00
Reid Spencer
51883d326d Handle ptrtoint and inttoptr
llvm-svn: 31701
2006-11-13 16:09:37 +00:00
Jim Laskey
d4e953e046 XFAIL All but powerpc
llvm-svn: 31689
2006-11-11 22:14:46 +00:00
Jim Laskey
371e2d4641 Works for PowerPC with frame pointers.
llvm-svn: 31679
2006-11-11 10:22:56 +00:00
Reid Spencer
aa1c2140f7 Instruction name changes.
llvm-svn: 31663
2006-11-11 01:04:13 +00:00
Reid Spencer
92316b8b65 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
b08574e218 enable this test, check ppc64 as well.
llvm-svn: 31657
2006-11-11 00:13:07 +00:00
Chris Lattner
cefc07dee0 This testcase is miscompiled by instcombine, reduced from 176.gcc
llvm-svn: 31652
2006-11-10 23:37:54 +00:00
Chris Lattner
e71cee3678 new testcase
llvm-svn: 31643
2006-11-10 21:36:07 +00:00
Jim Laskey
0f87e147f8 Must have a frame pointer argument fixed. Now fails on PowerPC.
llvm-svn: 31639
2006-11-10 17:56:29 +00:00
Jim Laskey
a3f992c804 Must have a frame pointer.
llvm-svn: 31638
2006-11-10 17:51:25 +00:00
Reid Spencer
01c3ecd9ed This is XFAILed on i[0-9]86 systems not Linux
llvm-svn: 31636
2006-11-10 17:47:28 +00:00
Anton Korobeynikov
3d58e24167 Adding target triple to test
llvm-svn: 31630
2006-11-10 06:59:53 +00:00
Tanya Lattner
52070860e0 xfail for llvmgcc3
llvm-svn: 31629
2006-11-10 04:53:50 +00:00
Chris Lattner
36b5ac0dd9 make this test more interesting
llvm-svn: 31619
2006-11-10 02:04:52 +00:00
Anton Korobeynikov
23ffdb1971 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
Chris Lattner
663de51886 new testcases for PR992/993
llvm-svn: 31609
2006-11-09 23:35:01 +00:00
Chris Lattner
337e425b69 new testcases
llvm-svn: 31585
2006-11-09 05:11:23 +00:00
Tanya Lattner
54631a48fc Should be xfailed for llvmgcc3
llvm-svn: 31578
2006-11-08 23:26:16 +00:00
Tanya Lattner
a4e66e5441 Should be xfailed for llvmgcc4 and NOT *. * means all platforms regardless of what llvmgcc you use.
llvm-svn: 31577
2006-11-08 23:25:58 +00:00
Reid Spencer
d3fd11fe83 Ensure we don't regress on reading version 6 bytecode.
llvm-svn: 31574
2006-11-08 21:28:30 +00:00
Tanya Lattner
e8c4383527 Should be xfailed for llvm-gcc3.4
llvm-svn: 31568
2006-11-08 20:16:05 +00:00
Jim Laskey
238ccb3f16 Make it work on Darwin.
llvm-svn: 31551
2006-11-08 16:38:45 +00:00
Reid Spencer
da1f5b882a For PR950:
This patch converts the old SHR instruction into two instructions,
AShr (Arithmetic) and LShr (Logical). The Shr instructions now are not
dependent on the sign of their operands.

llvm-svn: 31542
2006-11-08 06:47:33 +00:00
Reid Spencer
907d191104 XFAIL this on Linux until Jim gets Darwin ship shape.
llvm-svn: 31541
2006-11-08 06:43:16 +00:00
Chris Lattner
5bcd28eaa8 now that we handle single mbb loops better, one branch is allowed
llvm-svn: 31540
2006-11-08 06:42:42 +00:00
Chris Lattner
f2b22393a4 preincrement case we miss. xfail until we catch it
llvm-svn: 31534
2006-11-08 01:44:35 +00:00
Chris Lattner
39fae95ccb scalarrepl should not split the two elements of the vsiidx array:
int func(vFloat v0, vFloat v1) {
	int ii;
	vSInt32 vsiidx[2];
	vsiidx[0] = _mm_cvttps_epi32(v0);
	vsiidx[1] = _mm_cvttps_epi32(v1);
	ii = ((int *) vsiidx)[4];
	return ii;
}

llvm-svn: 31523
2006-11-07 22:42:29 +00:00
Evan Cheng
1607033750 New test case.
llvm-svn: 31520
2006-11-07 22:18:14 +00:00
Andrew Lenharth
46cd266ab7 Got a little ahead of myself here
llvm-svn: 31502
2006-11-07 16:40:19 +00:00
Andrew Lenharth
c4f1cebfed Fix this test
llvm-svn: 31501
2006-11-07 16:32:55 +00:00
Reid Spencer
e3c204efe1 Make some corrections to this test case.
llvm-svn: 31497
2006-11-07 07:58:02 +00:00
Reid Spencer
eb8c2a3a48 Ignore the Output dir.
llvm-svn: 31496
2006-11-07 07:34:56 +00:00
Reid Spencer
6ccf42145f Add a test case for making sure gdb can get a stack trace with our debug
information.

llvm-svn: 31495
2006-11-07 07:31:37 +00:00
Chris Lattner
57dcaa024d wrong bug #
llvm-svn: 31488
2006-11-07 04:12:03 +00:00
Chris Lattner
788bec1782 new testcase
llvm-svn: 31486
2006-11-07 04:11:14 +00:00
Chris Lattner
2e48c99000 xfail this for the 1.9 release. This is PR984.
llvm-svn: 31471
2006-11-05 23:27:36 +00:00
Reid Spencer
dcce9e0cc9 Okay, need a pattern before and after the cast pattern.
llvm-svn: 31443
2006-11-04 01:11:19 +00:00
Reid Spencer
bb2e479ee9 Allow the regular expression to be extended by a parameter.
llvm-svn: 31442
2006-11-04 00:58:39 +00:00
Reid Spencer
cc134bcc6c For PR950:
A little script to return 1 if it encounters any of the cast instructions
on the stdin.

llvm-svn: 31441
2006-11-04 00:49:52 +00:00
Andrew Lenharth
1a81dcf240 add a regression for memmove
llvm-svn: 31430
2006-11-03 22:45:09 +00:00
Chris Lattner
d8275c91a5 this started failing due to Reid's changes in the bc format. insulate it
from future changes.

llvm-svn: 31428
2006-11-03 22:01:15 +00:00
Chris Lattner
87d4149351 new testcase
llvm-svn: 31426
2006-11-03 21:58:14 +00:00
Reid Spencer
6e927f953d Add some documentation about the arguments.
llvm-svn: 31372
2006-11-02 03:37:39 +00:00
Andrew Lenharth
565f838bdb a regression :(
llvm-svn: 31370
2006-11-02 03:04:37 +00:00
Chris Lattner
a5dc2c5908 new testcase
llvm-svn: 31368
2006-11-02 01:45:28 +00:00
Devang Patel
d80e7deee2 Testcase from http://llvm.org/bugs/show_bug.cgi?id=979
llvm-svn: 31357
2006-11-01 22:25:48 +00:00
Chris Lattner
7def2775bd extra pass is required now
llvm-svn: 31353
2006-11-01 18:30:25 +00:00
Chris Lattner
a15b1d2d3a new testcase that crashes global opt, reduced from chomp
llvm-svn: 31351
2006-11-01 18:02:53 +00:00
Chris Lattner
01a3d12bda remove a testcase for a marginal feature
llvm-svn: 31345
2006-11-01 07:15:44 +00:00
Chris Lattner
1f47e3da50 This test should compile down to one comparison, not two.
llvm-svn: 31329
2006-10-31 23:05:16 +00:00
Chris Lattner
f02f038d84 new testcase for PR882
llvm-svn: 31324
2006-10-31 20:11:14 +00:00
Andrew Lenharth
4ffd67f8cf make one giant add and sub tester
llvm-svn: 31321
2006-10-31 19:50:55 +00:00
Chris Lattner
04f01db216 another testcase for PR977
llvm-svn: 31316
2006-10-31 18:56:24 +00:00
Chris Lattner
0e320bc90e testcase for PR977
llvm-svn: 31314
2006-10-31 17:51:36 +00:00
Rafael Espindola
ba8771a3db add support for calling functions when the caller has variable sized objects
llvm-svn: 31312
2006-10-31 13:03:26 +00:00
Chris Lattner
7e89842228 add a note
llvm-svn: 31309
2006-10-31 06:26:10 +00:00
Chris Lattner
eeb4570a0b new testcase
llvm-svn: 31308
2006-10-31 06:25:13 +00:00
Chris Lattner
333ac98bad new testcase
llvm-svn: 31307
2006-10-31 06:15:14 +00:00
Chris Lattner
b8b8e96359 fix this regtest
llvm-svn: 31291
2006-10-30 05:24:03 +00:00
Chris Lattner
c93a6e8020 new testcase
llvm-svn: 31283
2006-10-29 21:20:56 +00:00
Chris Lattner
f10b5aae56 new testcase
llvm-svn: 31280
2006-10-29 21:00:55 +00:00
Chris Lattner
aab4910db2 new testcase
llvm-svn: 31259
2006-10-28 17:04:16 +00:00
Nick Lewycky
559cf6f755 Emitting raw bytecode is awfully rude. Add -disable-output.
Clarify the test.

llvm-svn: 31251
2006-10-28 02:34:41 +00:00
Chris Lattner
95eb901e23 new testcase
llvm-svn: 31241
2006-10-27 23:47:34 +00:00
Chris Lattner
2c97968c1c new testcase
llvm-svn: 31231
2006-10-27 21:52:39 +00:00
Chris Lattner
38e3f37f1c new testcase
llvm-svn: 31229
2006-10-27 21:32:10 +00:00
Evan Cheng
8861459dfc Add a new vextract test case.
llvm-svn: 31227
2006-10-27 21:05:18 +00:00
Reid Spencer
f8a163421d Improve cvs ignoring of test results.
llvm-svn: 31217
2006-10-27 16:43:34 +00:00
Reid Spencer
18fcfbb563 Add a run line to this test.
llvm-svn: 31211
2006-10-27 05:30:23 +00:00
Chris Lattner
8377ebcec3 new testcase, should not reassoc fp vector
llvm-svn: 31199
2006-10-26 18:26:53 +00:00
Rafael Espindola
99322ef58c initial support for frame pointers
llvm-svn: 31197
2006-10-26 13:31:26 +00:00
Reid Spencer
6833ffe8b8 For PR950:
Make necessary changes to support DIV -> [SUF]Div. This changes llvm to
have three division instructions: signed, unsigned, floating point. The
bytecode and assembler are bacwards compatible, however.

llvm-svn: 31195
2006-10-26 06:15:43 +00:00
Nick Lewycky
312b457350 Handling of setlt/le/gt/ge is broken at the moment; predsimplify removes
the call the pass2.

llvm-svn: 31192
2006-10-26 02:33:51 +00:00
Nick Lewycky
5076440f74 This testcase was logically wrong! Fixing, and including the test for the
mistake that I made in the file too.

llvm-svn: 31190
2006-10-26 00:51:58 +00:00
Evan Cheng
ac5b12519b New shuffle test case.
llvm-svn: 31187
2006-10-25 21:59:00 +00:00
Chris Lattner
064d24f6a8 Allow this to pass on ppc
llvm-svn: 31178
2006-10-25 16:37:47 +00:00
Chris Lattner
4c3dd54300 Modernize the testcase, allow it to pass on ppc
llvm-svn: 31177
2006-10-25 16:35:10 +00:00
Rafael Espindola
a962656c07 expand ISD::VACOPY
llvm-svn: 31170
2006-10-24 20:15:21 +00:00
Chris Lattner
3b42d11f6e new testcase
llvm-svn: 31163
2006-10-24 17:09:20 +00:00
Chris Lattner
bca9b5f4bc New testcase that crashes scalarrepl
llvm-svn: 31150
2006-10-24 06:26:08 +00:00
Evan Cheng
66c0075a29 Update test case.
llvm-svn: 31139
2006-10-23 21:47:11 +00:00
Rafael Espindola
70f01d5cc0 implement STRB and STRH
llvm-svn: 31138
2006-10-23 20:34:27 +00:00
Andrew Lenharth
daafe61834 restore these tests
llvm-svn: 31133
2006-10-23 19:52:27 +00:00
Chris Lattner
f207a5475b new testcase
llvm-svn: 31131
2006-10-23 18:54:35 +00:00
Evan Cheng
1d4f5b942b Fix test case.
llvm-svn: 31127
2006-10-23 05:11:09 +00:00
Nick Lewycky
b81c926e06 Handle "if ((x|y) != 0)" for ints like we do for bools. Fixes missed
optimization opportunity pointed out by Chris Lattner.

llvm-svn: 31118
2006-10-22 21:36:41 +00:00
Chris Lattner
696ed4adae new testcase for PR964
llvm-svn: 31117
2006-10-22 21:36:06 +00:00
Nick Lewycky
c680dabd94 AllocaInst can't return a null pointer. Fixes missed optimization
opportunity pointed out by Andrew Lewycky.

llvm-svn: 31115
2006-10-22 19:53:27 +00:00
Bill Wendling
da5290e752 Changed the pattern matching so that it will hopefully work on Linux.
llvm-svn: 31069
2006-10-20 18:15:24 +00:00
Devang Patel
90e5f0400c Test case for
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20061016/038780.html

llvm-svn: 31068
2006-10-20 18:06:37 +00:00
Chris Lattner
74b2337a26 new testcase for PR957
llvm-svn: 31060
2006-10-20 00:41:31 +00:00
Bill Wendling
14b1a3c31b Testcase for P926
llvm-svn: 31058
2006-10-19 23:21:59 +00:00
Devang Patel
880a9d823f It is OK to remove extra cast if operation is EQ/NE even though source
and destination sign may not match but other conditions are met.

llvm-svn: 31056
2006-10-19 20:59:13 +00:00
Devang Patel
d9ade71cc7 Fix bug in PR454 resolution. Added new test case.
This fixes llvmAsmParser.cpp miscompile by llvm on PowerPC Darwin.

llvm-svn: 31053
2006-10-19 18:54:08 +00:00
Rafael Espindola
f7a41f3ddd print common symbols
llvm-svn: 31048
2006-10-19 13:30:40 +00:00
Rafael Espindola
1220d18e11 add blx
llvm-svn: 31037
2006-10-18 16:21:43 +00:00
Rafael Espindola
80c7461ada implement CallingConv::Fast as CallingConv::C
llvm-svn: 31034
2006-10-18 12:03:07 +00:00
Chris Lattner
a4e5ea95d4 new testcase
llvm-svn: 31029
2006-10-18 01:21:35 +00:00
Chris Lattner
997ef7b8a3 new testcase, miscompilation of llvm with itself.
llvm-svn: 31018
2006-10-17 21:23:20 +00:00
Rafael Espindola
58233f9db2 expand ISD::SDIV, ISD::UDIV, ISD::SREM and ISD::UREM
llvm-svn: 31014
2006-10-17 21:05:33 +00:00
Rafael Espindola
fe0a9a6fe2 add FABSS and FABSD
llvm-svn: 31012
2006-10-17 20:33:13 +00:00
Rafael Espindola
a8f8a3ef26 cleanup some tests
llvm-svn: 31010
2006-10-17 20:20:07 +00:00
Rafael Espindola
64f93033bc remove extra [] in stores
llvm-svn: 31008
2006-10-17 18:29:14 +00:00
Chris Lattner
d5554a07c0 new testcase
llvm-svn: 31005
2006-10-17 18:14:39 +00:00
Rafael Espindola
47970f96ac initial implementation of addressing mode 5
llvm-svn: 31002
2006-10-17 18:04:53 +00:00
Rafael Espindola
d5a6eaec14 add the immediate to the Offset in eliminateFrameIndex
llvm-svn: 30998
2006-10-17 14:34:02 +00:00
Rafael Espindola
31f59f5b94 add FSTD and FSTS
llvm-svn: 30996
2006-10-17 13:36:07 +00:00
Rafael Espindola
a156538e34 add fdivs e fdivd
llvm-svn: 30988
2006-10-16 21:50:04 +00:00
Rafael Espindola
4f61431679 expand ISD::SHL_PARTS, ISD::SRA_PARTS and ISD::SRL_PARTS
llvm-svn: 30987
2006-10-16 21:10:32 +00:00
Rafael Espindola
d255bfb09b implement LDRB, LDRSB, LDRH and LDRSH
llvm-svn: 30976
2006-10-16 17:17:22 +00:00
Rafael Espindola
93359fa883 implement smull and umull
llvm-svn: 30975
2006-10-16 16:33:29 +00:00
Chris Lattner
a5383a5b2d testcase that causes the asmparser to assert
llvm-svn: 30969
2006-10-15 23:26:28 +00:00