Chris Lattner
e9c430c5d8
the xform is done by scalarrepl not the code generator.
...
llvm-svn: 32425
2006-12-11 01:03:32 +00:00
Chris Lattner
ac57792106
new testcase
...
llvm-svn: 32421
2006-12-11 00:34:27 +00:00
Chris Lattner
a571d211ae
testcase for a regression introduced by the recent cast patch
...
llvm-svn: 32419
2006-12-11 00:12:07 +00:00
Chris Lattner
a4121981ce
new testcase
...
llvm-svn: 32417
2006-12-10 23:52:28 +00:00
Rafael Espindola
b8ada08b26
.align is in bits
...
.comm is in bytes
:-(
llvm-svn: 32408
2006-12-10 02:53:14 +00:00
Rafael Espindola
b313efb0cd
fix test/Regression/CodeGen/X86/weak.ll
...
if a variable has no initialization, I->getInitializer() will fail
llvm-svn: 32407
2006-12-09 23:14:08 +00:00
Rafael Espindola
839bcb4af2
use a . instead of a % in the grep expression
...
llvm-svn: 32406
2006-12-09 21:21:06 +00:00
Reid Spencer
2fee8a99e2
Fix the run line and make this test more specific.
...
llvm-svn: 32403
2006-12-09 19:39:56 +00:00
Reid Spencer
1d3dbd34b7
Add a check to catch an incorrect upgrade.
...
llvm-svn: 32402
2006-12-09 19:35:43 +00:00
Reid Spencer
b558b57e75
Too soon to commit, revert.
...
llvm-svn: 32397
2006-12-09 05:13:50 +00:00
Reid Spencer
0606d15530
New test cases for regressions in the SetCC -> ICmp patch.
...
llvm-svn: 32396
2006-12-09 05:13:01 +00:00
Rafael Espindola
d12d2250a7
%progbits not @progbits
...
llvm-svn: 32376
2006-12-08 22:06:02 +00:00
Rafael Espindola
735a27246c
add missing &&
...
llvm-svn: 32374
2006-12-08 21:43:02 +00:00
Rafael Espindola
94f29f129d
add \"aw\",@progbits" to ctors and dtors
...
llvm-svn: 32373
2006-12-08 21:24:58 +00:00
Andrew Lenharth
60be4775ff
test packed struct codegen on x86
...
llvm-svn: 32367
2006-12-08 18:54:15 +00:00
Andrew Lenharth
ae5733ba6a
packed initializers too in the test
...
llvm-svn: 32365
2006-12-08 18:45:38 +00:00
Andrew Lenharth
23469cca1a
feature test for packed structs
...
llvm-svn: 32363
2006-12-08 18:36:24 +00:00
Reid Spencer
3c63db7138
This test needs to be upgraded.
...
llvm-svn: 32359
2006-12-08 17:39:49 +00:00
Reid Spencer
ed644771ea
For PR950:
...
Add a test for a regression in combining of ICmp instructions.
llvm-svn: 32358
2006-12-08 17:38:55 +00:00
Rafael Espindola
265fa68bd8
fix alignment
...
llvm-svn: 32337
2006-12-07 22:38:06 +00:00
Chris Lattner
f843356150
new testcase
...
llvm-svn: 32335
2006-12-07 22:36:14 +00:00
Chris Lattner
0cd35b2884
new testcase
...
llvm-svn: 32330
2006-12-07 22:15:20 +00:00
Rafael Espindola
219a796475
make sure that we don't use a common symbol if a section was specified
...
llvm-svn: 32310
2006-12-07 18:33:58 +00:00
Andrew Lenharth
2997019c62
Copy ARM's weak symbol test
...
llvm-svn: 32307
2006-12-07 17:37:54 +00:00
Reid Spencer
581a07a34d
This now passes on Linux/x86
...
llvm-svn: 32306
2006-12-07 16:28:32 +00:00
Reid Spencer
bee1306634
Manually convert this to new assembly.
...
llvm-svn: 32301
2006-12-07 04:20:23 +00:00
Jim Laskey
7fb08347ea
Failing linux.
...
llvm-svn: 32292
2006-12-06 21:36:07 +00:00
Rafael Espindola
776abee608
print weak references
...
llvm-svn: 32276
2006-12-06 13:35:10 +00:00
Chris Lattner
bbbb1c5e78
this is a subset of Codegen/X86/bitcast.ll, remove it.
...
llvm-svn: 32248
2006-12-06 00:46:14 +00:00
Chris Lattner
83830075f6
Instcombine shouldn't fold these casts.
...
llvm-svn: 32243
2006-12-05 23:43:20 +00:00
Chris Lattner
b6e14a0e10
new testcase
...
llvm-svn: 32227
2006-12-05 18:21:52 +00:00
Rafael Espindola
b5dee63958
expand memmove and memcpy
...
llvm-svn: 32226
2006-12-05 17:57:23 +00:00
Rafael Espindola
96fd6447c7
add support for the "r" asm constraint
...
patch by Lauro Ramos Venancio
llvm-svn: 32224
2006-12-05 17:37:31 +00:00
Rafael Espindola
2369a024d7
add support for weak linkage
...
llvm-svn: 32222
2006-12-05 17:00:17 +00:00
Reid Spencer
300aae721e
Ignore the Output directory.
...
llvm-svn: 32221
2006-12-05 16:10:16 +00:00
Chris Lattner
c92921f939
new testcase
...
llvm-svn: 32210
2006-12-05 01:29:01 +00:00
Devang Patel
21efc73161
SCCP does not handle Packed Type properly. Disable Packed Type handling
...
for now.
llvm-svn: 32208
2006-12-04 23:54:59 +00:00
Chris Lattner
9a5a838c98
Testcase for PR1029, patch by Rafael vila de EspÃndola
...
llvm-svn: 32205
2006-12-04 22:37:48 +00:00
Reid Spencer
a6cfd60a8c
These pass on Linux now.
...
llvm-svn: 32195
2006-12-04 20:46:05 +00:00
Reid Spencer
332109374a
Fix the intrinsic debug call to make this match current definition.
...
llvm-svn: 32190
2006-12-04 20:13:49 +00:00
Reid Spencer
d5d0529259
Make this test succeed on both Darwin and Linux
...
llvm-svn: 32189
2006-12-04 20:09:02 +00:00
Reid Spencer
d82ba83a63
XFAIL until PR1033 is fixed.
...
llvm-svn: 32187
2006-12-04 18:39:14 +00:00
Reid Spencer
a4d2d788ad
Test case for PR1033, x86-64 code gen fails on bitcast.
...
llvm-svn: 32185
2006-12-04 18:24:56 +00:00
Evan Cheng
a6b4c4b4f8
Fix test.
...
llvm-svn: 32183
2006-12-04 18:06:24 +00:00
Jim Laskey
c963b6ffae
Purpose of test is lost in upgrade.
...
llvm-svn: 32182
2006-12-04 17:54:29 +00:00
Jim Laskey
d0d464950e
Remove debug info.
...
llvm-svn: 32181
2006-12-04 17:06:15 +00:00
Jim Laskey
3082ed5364
Fixed to use current debug info.
...
llvm-svn: 32177
2006-12-04 12:23:17 +00:00
Jim Laskey
486c0adacd
Moving to DebugInfo.
...
llvm-svn: 32176
2006-12-04 12:21:23 +00:00
Jim Laskey
0faad3925c
Duplicate of Regression/Debugger/funccall.ll.
...
llvm-svn: 32175
2006-12-04 10:50:32 +00:00
Reid Spencer
fb6ce95002
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
0f1725e68c
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
6ad23bdf9d
Upgrade to version 7 bytecode format.
...
llvm-svn: 32143
2006-12-03 04:40:09 +00:00
Reid Spencer
39bfeeeceb
Make sure this file gets upgraded with llvm-upgrade
...
llvm-svn: 32138
2006-12-02 20:42:32 +00:00
Reid Spencer
e812408695
Upgrade intrinsic function calls manually.
...
llvm-svn: 32137
2006-12-02 20:41:53 +00:00
Reid Spencer
6faf0cbf13
These files need llvm-upgrade.
...
llvm-svn: 32136
2006-12-02 20:40:30 +00:00
Reid Spencer
4ee2f08386
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
19738b0b5a
Upgrade intrinsic function calls
...
llvm-svn: 32134
2006-12-02 20:38:37 +00:00
Reid Spencer
ed3471a8cc
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
fc0618e2db
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
c58764b57b
Upgrade old intrinsic function calls manually.
...
llvm-svn: 32131
2006-12-02 20:34:57 +00:00
Reid Spencer
107b4b79c4
Use llvm-upgrade these tests as they all use old assembly.
...
llvm-svn: 32130
2006-12-02 20:34:08 +00:00
Reid Spencer
7d4eb03ceb
Remove old intrinsic declarations and usage.
...
llvm-svn: 32129
2006-12-02 20:30:20 +00:00
Reid Spencer
9d91281573
Remove a redundant RUN: line.
...
llvm-svn: 32126
2006-12-02 17:49:38 +00:00
Reid Spencer
8100d27982
Prevent a GEP from getting upgraded to avoid resulting test failure.
...
llvm-svn: 32123
2006-12-02 16:25:20 +00:00
Reid Spencer
8b0cb8cf03
Update this test to use llvm-update.
...
llvm-svn: 32117
2006-12-02 05:02:46 +00:00
Reid Spencer
d0e30dc5be
Use the llvm-upgrade program to upgrade llvm assembly.
...
llvm-svn: 32115
2006-12-02 04:23:10 +00:00
Chris Lattner
72239930e0
new testcase
...
llvm-svn: 32111
2006-12-02 00:12:32 +00:00
Chris Lattner
3a279ecc65
fix incorrectly translated testcase
...
llvm-svn: 32093
2006-12-01 21:38:02 +00:00
Chris Lattner
6dde72735e
test1 is miscompiled
...
llvm-svn: 32086
2006-12-01 19:50:04 +00:00
Jim Laskey
b0862be332
wrong spot
...
llvm-svn: 32084
2006-12-01 19:39:32 +00:00
Jim Laskey
ba0f15c676
Test for float varargs.
...
llvm-svn: 32083
2006-12-01 19:29:20 +00:00
Chris Lattner
635ed246d7
new 'cast' miscompilation, reduced from perlbmk by Evan
...
llvm-svn: 32079
2006-12-01 19:02:56 +00:00
Chris Lattner
e6b2c29c27
enable this now that codegen support is in place
...
llvm-svn: 32076
2006-12-01 18:04:08 +00:00
Evan Cheng
80361a9297
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
3fe5331483
Add a extern weak test case.
...
llvm-svn: 32070
2006-12-01 09:18:20 +00:00
Chris Lattner
8bbf5e20cc
new testcase to verify external weak continues to work
...
llvm-svn: 32064
2006-12-01 07:14:26 +00:00
Chris Lattner
18f6fe36ce
new testcase for PR1027
...
llvm-svn: 32063
2006-12-01 06:34:56 +00:00
Chris Lattner
5145977cd8
new testcase
...
llvm-svn: 32061
2006-12-01 05:54:48 +00:00
Reid Spencer
6c0676d4e6
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
6104a1aa9e
Add X86-64 load / store codegen tests.
...
llvm-svn: 32047
2006-11-30 22:07:00 +00:00
Jim Laskey
b12ab5fadb
Add compile unit size test
...
llvm-svn: 32040
2006-11-30 15:36:44 +00:00
Jim Laskey
e6f6890438
Correct comment
...
llvm-svn: 32039
2006-11-30 15:31:49 +00:00
Jim Laskey
030b840234
Pubnames test
...
llvm-svn: 32038
2006-11-30 15:25:59 +00:00
Evan Cheng
983ac81fb0
New LSR test case.
...
llvm-svn: 32029
2006-11-29 23:48:37 +00:00
Chris Lattner
c386b40714
new testcase
...
llvm-svn: 32023
2006-11-29 19:57:55 +00:00
Evan Cheng
e2e0a33e6c
Add x86-64 llvm.readcyclecounter test.
...
llvm-svn: 32018
2006-11-29 08:29:59 +00:00
Evan Cheng
c24ce795a3
Fix test.
...
llvm-svn: 32015
2006-11-29 08:22:59 +00:00
Chris Lattner
aeddf5f077
new bswap idiom
...
llvm-svn: 32012
2006-11-29 07:21:08 +00:00
Chris Lattner
19d72c9f4f
new testcase
...
llvm-svn: 32010
2006-11-29 07:17:32 +00:00
Chris Lattner
544dfa013c
new testcase
...
llvm-svn: 32008
2006-11-29 07:03:00 +00:00
Chris Lattner
7b34c1391a
This fails on mainline.
...
llvm-svn: 32007
2006-11-29 05:19:32 +00:00
Chris Lattner
e7f83dcf4b
new testcase, bswaps should be eliminated.
...
llvm-svn: 32005
2006-11-29 05:00:14 +00:00
Evan Cheng
79ca238966
Add test cases for PR1022, 1023.
...
llvm-svn: 32002
2006-11-29 01:57:06 +00:00
Reid Spencer
21052cd48f
Fix a typo.
...
llvm-svn: 31959
2006-11-28 06:14:06 +00:00
Chris Lattner
e88ff3a961
testcase for pr1016
...
llvm-svn: 31951
2006-11-28 01:26:37 +00:00
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
Chris Lattner
8511bd95f5
new testcases for PR992/993
...
llvm-svn: 31609
2006-11-09 23:35:01 +00:00
Chris Lattner
92fc0c0651
new testcases
...
llvm-svn: 31585
2006-11-09 05:11:23 +00:00
Tanya Lattner
01167a7eff
Should be xfailed for llvmgcc3
...
llvm-svn: 31578
2006-11-08 23:26:16 +00:00
Tanya Lattner
8a01d7a820
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
eacb043c0a
Ensure we don't regress on reading version 6 bytecode.
...
llvm-svn: 31574
2006-11-08 21:28:30 +00:00