Reid Spencer
ffa19b617d
Fix incorrect test cases for srem. The definition of srem is a remainder so
...
that the sign of the result follows the sign of the divisor.
llvm-svn: 35301
2007-03-24 21:55:26 +00:00
Reid Spencer
a450c790e7
Add more test cases for APIntified InstCombine.
...
llvm-svn: 35288
2007-03-23 21:57:47 +00:00
Reid Spencer
eebf90ce0b
Add test case for testing InstCombine with arbitrary precision integer
...
types. These tests mimic the integer test cases in the normal InstCombine
test suite but use "strange" integer bit widths.
Most tests written by Zhou Sheng, a few by me.
llvm-svn: 35284
2007-03-23 20:48:34 +00:00
Duncan Sands
bce4648a05
Test handling of switches with wide case ranges.
...
llvm-svn: 35279
2007-03-23 07:17:52 +00:00
Reid Spencer
91c2777f40
Make this test actually match the generated code.
...
llvm-svn: 35263
2007-03-22 02:53:05 +00:00
Reid Spencer
648d9f53ca
Add tests for nounwind and noreturn function attributes.
...
llvm-svn: 35261
2007-03-22 02:15:17 +00:00
Evan Cheng
9992bbc5a0
Another test case.
...
llvm-svn: 35255
2007-03-22 01:55:16 +00:00
Evan Cheng
1a651088b1
Test case for PR1257
...
llvm-svn: 35253
2007-03-22 01:52:57 +00:00
Reid Spencer
8862d80d67
Test case for PR1248
...
llvm-svn: 35251
2007-03-22 00:49:40 +00:00
Evan Cheng
ecfd152e0d
New test case.
...
llvm-svn: 35240
2007-03-21 20:14:56 +00:00
Lauro Ramos Venancio
11d7d3fcaf
bugfix: When the source register of CALL_NOLINK was LR, the following code was emitted:
...
mov lr, pc
bx lr
So, the function was not called.
llvm-svn: 35218
2007-03-20 17:57:23 +00:00
Chris Lattner
797cae1109
llvm-gcc now requires -fnested-functions to enable them in C.
...
llvm-svn: 35217
2007-03-20 17:34:31 +00:00
Reid Spencer
3e9e08791f
Break up huge line so that this file is almost readable.
...
llvm-svn: 35216
2007-03-20 17:27:19 +00:00
Duncan Sands
1f0efa2270
Test handling of structs with multiple variable-sized fields.
...
llvm-svn: 35212
2007-03-20 14:13:20 +00:00
Duncan Sands
cdf52c92a9
Ada testcase for structs with multiple variable sized fields.
...
llvm-svn: 35210
2007-03-20 09:54:02 +00:00
Duncan Sands
0ea571dda0
Test that ARRAY_RANGE_REF returns an array not an element.
...
llvm-svn: 35209
2007-03-20 09:50:42 +00:00
Chris Lattner
10311baf63
These functions should use shll, not lea.
...
llvm-svn: 35203
2007-03-20 06:01:41 +00:00
Reid Spencer
923f6b31d4
Make this test a little simpler/faster.
...
llvm-svn: 35193
2007-03-19 23:36:19 +00:00
Reid Spencer
86f1c2f59d
Add test case for PR1261, currently XFAILed.
...
llvm-svn: 35192
2007-03-19 23:28:16 +00:00
Reid Spencer
42136f760d
Test case noticed by Sheng that fails because negative values that are
...
greater than 64-bits don't have the sign bits extended on construction of
the APInt.
llvm-svn: 35178
2007-03-19 20:35:26 +00:00
Duncan Sands
12e31a7121
Test handling of ARRAY_REF when the component type is of unknown size.
...
llvm-svn: 35176
2007-03-19 19:56:18 +00:00
Reid Spencer
35ebf3dffc
For PR1258:
...
Test that invalid numbered value references get an error message.
llvm-svn: 35175
2007-03-19 18:41:37 +00:00
Reid Spencer
c124adcc12
For PR1258:
...
Revise numeric value references to accommodate collapsed type planes.
llvm-svn: 35170
2007-03-19 18:27:35 +00:00
Reid Spencer
b552bbd876
Use opt instead of gccas.
...
llvm-svn: 35168
2007-03-19 18:25:55 +00:00
Chris Lattner
e13d458bd7
add a testcase the resent patches fail on.
...
llvm-svn: 35167
2007-03-19 18:25:48 +00:00
Reid Spencer
0782164cf7
Don't upgrade these.
...
llvm-svn: 35166
2007-03-19 18:08:42 +00:00
Chris Lattner
9623388b12
add PR#
...
llvm-svn: 35151
2007-03-19 00:17:19 +00:00
Chris Lattner
bafeb87ca6
add pr#
...
llvm-svn: 35149
2007-03-19 00:15:43 +00:00
Chris Lattner
a068bd03cf
new testcase
...
llvm-svn: 35148
2007-03-19 00:11:30 +00:00
Chris Lattner
6e0b0d4a3a
testcase for SROA with memset etc
...
llvm-svn: 35147
2007-03-19 00:09:00 +00:00
Chris Lattner
6d1afd847e
new testcase
...
llvm-svn: 35144
2007-03-18 22:50:57 +00:00
Nick Lewycky
41f13d431a
Propagate ValueRanges across equality.
...
Add some more micro-optimizations: x * 0 = 0, a - x = a --> x = 0.
llvm-svn: 35138
2007-03-18 01:09:32 +00:00
Evan Cheng
283468b827
GEP index sink test case.
...
llvm-svn: 35131
2007-03-17 03:18:32 +00:00
Devang Patel
f215bd701b
Test case for X86 inline asm constraint 'I'
...
llvm-svn: 35130
2007-03-17 00:14:52 +00:00
Bill Wendling
8ced23ee5a
And now support for MMX logical operations.
...
llvm-svn: 35125
2007-03-16 09:44:46 +00:00
Bill Wendling
feaff80149
Multiplication support for MMX.
...
llvm-svn: 35118
2007-03-15 21:24:36 +00:00
Evan Cheng
1464c63d5d
ARM isel should match ldr x +/- x * (2^n) to ldr [x, +/- x, lsl #log2(n)].
...
llvm-svn: 35114
2007-03-14 23:26:40 +00:00
Reid Spencer
a8d6ff8dc9
Test case for PR1256.
...
llvm-svn: 35110
2007-03-14 23:07:24 +00:00
Duncan Sands
b3cbeb6a4a
Test that the size of a view converted object is determined by the target
...
type, not the source type.
llvm-svn: 35106
2007-03-14 20:24:53 +00:00
Evan Cheng
0fe7224a46
New test.
...
llvm-svn: 35091
2007-03-13 23:31:47 +00:00
Evan Cheng
64f09e6241
This got better.
...
llvm-svn: 35090
2007-03-13 23:26:41 +00:00
Duncan Sands
c56601a219
Test support for arrays with non-zero first index.
...
llvm-svn: 35084
2007-03-13 15:12:35 +00:00
Chris Lattner
0f75a6cc7f
testcase for PR1244
...
llvm-svn: 35081
2007-03-13 14:25:35 +00:00
Anton Korobeynikov
0c2d312725
Use range tests in LowerSwitch, where possible
...
llvm-svn: 35057
2007-03-10 16:46:28 +00:00
Bill Wendling
236cfc4344
Adding more arithmetic operators to MMX. This is an almost exact copy of
...
the addition. Please let me know if you have suggestions.
llvm-svn: 35055
2007-03-10 09:57:05 +00:00
Evan Cheng
8685e7d770
Test inline asm modifier 'c'.
...
llvm-svn: 35036
2007-03-08 22:45:31 +00:00
Chris Lattner
cec3666863
upgrade this testcase, add test for fp immediate to memory operand.
...
llvm-svn: 35034
2007-03-08 22:33:06 +00:00
Bill Wendling
4fbc327c54
Add MMX arithmetic testcase.
...
llvm-svn: 35032
2007-03-08 22:14:51 +00:00
Evan Cheng
511c8f6a24
Fix test case.
...
llvm-svn: 35029
2007-03-08 19:27:32 +00:00
Evan Cheng
5196ecbf5c
New test case.
...
llvm-svn: 35006
2007-03-07 08:12:39 +00:00
Reid Spencer
9558369d33
Fix the pattern.
...
llvm-svn: 34994
2007-03-07 00:39:11 +00:00
Reid Spencer
61cd993904
Make this test more reliable across platforms.
...
llvm-svn: 34993
2007-03-07 00:32:12 +00:00
Evan Cheng
7dccc59e5b
New test case.
...
llvm-svn: 34991
2007-03-07 00:13:48 +00:00
Reid Spencer
bfe9246bfc
Don't run lli in llvm-test. Instead just check that the datalayout string
...
is the right length.
llvm-svn: 34973
2007-03-06 17:48:25 +00:00
Reid Spencer
9dd9f5295b
Fix this to put its output in the output directory.
...
llvm-svn: 34971
2007-03-06 17:44:43 +00:00
Reid Spencer
d881b35e18
Test to ensure that data layout is generated correctly for host platform.
...
This is for PR1242.
llvm-svn: 34944
2007-03-06 03:00:17 +00:00
Bill Wendling
c52174dee3
Add the emms intrinsic for MMX support.
...
llvm-svn: 34938
2007-03-05 23:09:45 +00:00
Reid Spencer
649c1d51a2
Add a test case for a particular udiv/select transform.
...
llvm-svn: 34935
2007-03-05 22:51:08 +00:00
Lauro Ramos Venancio
3f855f6a54
Use init_array/fini_array sections for static contructors/destructors when the ABI is AAPCS.
...
Fix SingleSource/Regression/C/ConstructorDestructorAttributes test on arm-linux-gnueabi.
llvm-svn: 34931
2007-03-05 17:59:58 +00:00
Duncan Sands
5498a32001
Testcase for handling of static constant declarations in EmitBIND_EXPR.
...
llvm-svn: 34927
2007-03-05 08:39:58 +00:00
Duncan Sands
8aee7f8a56
Testcase causing the Ada front-end to create bogus constructor fields.
...
llvm-svn: 34926
2007-03-05 08:34:35 +00:00
Duncan Sands
964b80ff60
New directory for Ada testcases. Test handling of NON_LVALUE_EXPR.
...
llvm-svn: 34925
2007-03-05 08:20:48 +00:00
Chris Lattner
f05abaca7c
new testcase
...
llvm-svn: 34918
2007-03-05 00:01:38 +00:00
Chris Lattner
fc3b6903e3
new testcase, corresponds to:
...
long long test(long long A, unsigned B) {
return (A + ((long long)B << 32));
}
llvm-svn: 34911
2007-03-04 20:39:47 +00:00
Chris Lattner
f5eeb38be5
New testcases for PR1179/PR1232.
...
llvm-svn: 34895
2007-03-04 00:54:06 +00:00
Chris Lattner
e6d3ae4f2c
New testcase for PR1239
...
llvm-svn: 34892
2007-03-03 23:42:50 +00:00
Chris Lattner
e1179e62fb
new testcase: instcombine should remove all the casts.
...
llvm-svn: 34869
2007-03-03 05:24:06 +00:00
Chris Lattner
a167e8f27b
instcombine doesn't do CSE, simplify unrelated detail
...
llvm-svn: 34867
2007-03-03 02:27:02 +00:00
Evan Cheng
ce6c3c3004
Add a new test case.
...
llvm-svn: 34842
2007-03-02 10:37:19 +00:00
Chris Lattner
afea22c955
testcase for PR1233
...
llvm-svn: 34840
2007-03-02 07:29:59 +00:00
Anton Korobeynikov
eaf27d276a
Ensure that fastcall'ed function is correctly mangled & stack is
...
properly aligned
llvm-svn: 34788
2007-03-01 16:29:22 +00:00
Chris Lattner
9d7106a01c
Eliminate enable-x86-fastcc
...
llvm-svn: 34753
2007-02-28 18:38:58 +00:00
Chris Lattner
1fa940fc5f
fastcc -> fastcall
...
llvm-svn: 34749
2007-02-28 18:35:36 +00:00
Chris Lattner
310a8f7f8f
fastcc -> fastcall
...
llvm-svn: 34747
2007-02-28 18:21:50 +00:00
Chris Lattner
07db51943e
fastcc -> fastcall
...
llvm-svn: 34746
2007-02-28 17:42:50 +00:00
Evan Cheng
f9a8f61e1b
Fix test case.
...
llvm-svn: 34710
2007-02-28 00:36:33 +00:00
Reid Spencer
3a22b776c7
This test passes on x86/Linux now.
...
llvm-svn: 34686
2007-02-27 20:46:44 +00:00
Reid Spencer
76197d85b6
Update for constant folding now generating undef and overflow correctly.
...
llvm-svn: 34676
2007-02-27 19:26:40 +00:00
Reid Spencer
e7fb34b1de
Shifting by the bit width now produces undef, not 0.
...
llvm-svn: 34675
2007-02-27 19:22:36 +00:00
Reid Spencer
794a68fbbe
XFAIL this on x86-Linux until its fixed.
...
llvm-svn: 34651
2007-02-27 02:45:12 +00:00
Reid Spencer
6a19ea730d
Remove test cases that produce undefined results.
...
llvm-svn: 34650
2007-02-27 02:34:02 +00:00
Chris Lattner
0a14efc457
new testcase
...
llvm-svn: 34622
2007-02-26 03:16:20 +00:00
Chris Lattner
5c1d3eff0a
new testcase
...
llvm-svn: 34614
2007-02-25 23:08:29 +00:00
Chris Lattner
4d419b02ec
new testcase
...
llvm-svn: 34612
2007-02-25 22:23:15 +00:00
Chris Lattner
51ee558f56
new testcase
...
llvm-svn: 34611
2007-02-25 22:02:01 +00:00
Jim Laskey
1c9a412982
Test for PR1224.
...
llvm-svn: 34609
2007-02-25 21:43:21 +00:00
Chris Lattner
1f16d0f345
new testcase. @foo should be marked fastcc by globalopt
...
llvm-svn: 34607
2007-02-25 21:04:39 +00:00
Chris Lattner
200d389a17
verify that double is returned in XMM0 if the function is fastcc.
...
llvm-svn: 34591
2007-02-25 09:30:03 +00:00
Chris Lattner
b71ec8d1cf
new testcase
...
llvm-svn: 34583
2007-02-25 08:23:01 +00:00
Chris Lattner
a38cc935a9
verify i128 return on x86-64 continues to codegen optimally.
...
llvm-svn: 34575
2007-02-25 06:06:49 +00:00
Chris Lattner
e7afa2a6d9
testcase for PR1219
...
llvm-svn: 34550
2007-02-24 02:08:00 +00:00
Chris Lattner
63ddace902
testcase for pr1215
...
llvm-svn: 34547
2007-02-24 01:16:39 +00:00
Chris Lattner
f222a6e498
testcase for pr1217
...
llvm-svn: 34545
2007-02-24 01:03:11 +00:00
Bill Wendling
ecddfdcff7
Make the testcase correct.
...
llvm-svn: 34543
2007-02-23 23:23:41 +00:00
Bill Wendling
ea0c8f06ca
Testcase for PR1164
...
llvm-svn: 34542
2007-02-23 23:19:32 +00:00
Bill Wendling
2c5f64532b
PR1164:
...
Generate local names with a "llvm_cbe_" prefix using the actual name of the
variable instead of a temporary name.
llvm-svn: 34540
2007-02-23 22:45:08 +00:00
Jim Laskey
2a5840bc73
New test - practically wrote itself.
...
llvm-svn: 34538
2007-02-23 22:12:08 +00:00
Lauro Ramos Venancio
19040a3f0d
bugfix: SP wasn't updated for varargs when frame pointer was eliminated.
...
llvm-svn: 34537
2007-02-23 21:53:48 +00:00
Lauro Ramos Venancio
7c2f17b629
Fix stack alignment in functions with varargs.
...
llvm-svn: 34532
2007-02-23 20:32:57 +00:00
Chris Lattner
1d2922dbb4
fix this testcase
...
llvm-svn: 34530
2007-02-23 19:39:24 +00:00
Evan Cheng
5d49a6be02
-march=arm -enable-thumb => -march=thumb
...
llvm-svn: 34522
2007-02-23 03:15:39 +00:00
Andrew Lenharth
72869dad9c
missed cast elimination
...
llvm-svn: 34490
2007-02-22 15:17:45 +00:00
Evan Cheng
aa8e491a2f
Added test case for PR1207.
...
llvm-svn: 34429
2007-02-19 21:53:59 +00:00
Evan Cheng
9482b32217
Fix test case.
...
llvm-svn: 34427
2007-02-19 21:47:02 +00:00
Chris Lattner
429de9a4ad
this passes now
...
llvm-svn: 34426
2007-02-19 20:20:04 +00:00
Chris Lattner
382462d0b6
new test
...
llvm-svn: 34372
2007-02-17 06:57:11 +00:00
Chris Lattner
95f531844a
Test that large absolute addresses are properly folded into addr modes on
...
both ppc32 and ppc64.
llvm-svn: 34370
2007-02-17 06:41:57 +00:00
Chris Lattner
956bbc1712
new testcase that crashes llc
...
llvm-svn: 34367
2007-02-17 05:59:01 +00:00
Chris Lattner
ba911e0e15
testcase for PR1170
...
llvm-svn: 34366
2007-02-17 05:44:57 +00:00
Chris Lattner
16a95f81df
new testcase for -fwritable-strings
...
llvm-svn: 34365
2007-02-17 05:07:40 +00:00
Chris Lattner
faeaff6b73
new testcase
...
llvm-svn: 34361
2007-02-17 01:44:21 +00:00
Dale Johannesen
e864bf486f
adding PR 1200 comment by request
...
llvm-svn: 34360
2007-02-17 01:12:15 +00:00
Dale Johannesen
960bd79f88
Fixes PR 1200
...
llvm-svn: 34359
2007-02-17 00:44:34 +00:00
Chris Lattner
fa6985a1d0
testcase for recent targetdata regression
...
llvm-svn: 34355
2007-02-16 23:11:43 +00:00
Reid Spencer
7d8001c1bd
Update this test to compile properly and check against the correct
...
string generated by the CBE. This is no longer an XFAIL.
llvm-svn: 34327
2007-02-15 21:01:58 +00:00
Reid Spencer
55e4e98a2a
For PR1195:
...
Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and
PackedTyID -> VectorTyID. No functional changes.
llvm-svn: 34293
2007-02-15 02:26:10 +00:00
Chris Lattner
1abc8d2f00
update to new t-d strings.
...
llvm-svn: 34290
2007-02-15 00:54:16 +00:00
Chris Lattner
b72af5df9b
sanity check for *basic* i128 arithmetic on all hosts.
...
llvm-svn: 34259
2007-02-13 23:59:21 +00:00
Chris Lattner
e85be004b9
new testcase, by Dan Gohman
...
llvm-svn: 34255
2007-02-13 23:41:24 +00:00
Lauro Ramos Venancio
ff9f78e230
Add ABI information to ARM subtarget.
...
llvm-svn: 34245
2007-02-13 19:52:28 +00:00
Lauro Ramos Venancio
02ba8f20e3
According to ARM EABI, 8-bytes function arguments must be 8-bytes aligned.
...
llvm-svn: 34241
2007-02-13 14:07:13 +00:00
Chris Lattner
95c32f113a
new testcase for PR1197
...
llvm-svn: 34215
2007-02-13 01:05:10 +00:00
Reid Spencer
49f69b79db
For PR1196:
...
Prevent infinite loops and memory bombs by setting a ulimit on time and
space for running the dejagnu tests.
llvm-svn: 34184
2007-02-11 20:18:32 +00:00
Reid Spencer
17f04ee89a
Eliminate the use of gccas in the test suite.
...
llvm-svn: 34088
2007-02-09 15:15:21 +00:00
Chris Lattner
ef0dd1c647
Add ppc-specific test for better i64 compare codegen.
...
llvm-svn: 34082
2007-02-09 04:49:46 +00:00
Evan Cheng
4b13f9f031
i64 setcc tests.
...
llvm-svn: 34067
2007-02-08 22:27:55 +00:00
Reid Spencer
e1224638a2
New test cases for PR1187
...
llvm-svn: 34052
2007-02-08 09:10:22 +00:00
Reid Spencer
1ca320bf4d
Make this legal input.
...
llvm-svn: 34051
2007-02-08 09:09:36 +00:00
Reid Spencer
b22ff5a5b8
Add some more interesting cases to this test.
...
llvm-svn: 34042
2007-02-08 08:03:46 +00:00
Reid Spencer
cc0209e555
For PR1187:
...
Add some interesting CSRETCC upgrade cases.
llvm-svn: 34041
2007-02-08 06:45:02 +00:00
Chris Lattner
89bd4c47e1
New testcase for PR947
...
llvm-svn: 34038
2007-02-08 04:34:03 +00:00
Chris Lattner
a7edf259e5
llvm-gcc3 is gone
...
llvm-svn: 34037
2007-02-08 04:31:15 +00:00
Reid Spencer
dfdeabe65b
For PR1187:
...
Add a test to ensure that i1, i8, i16, i32 and i64 are recognized by the
lexer and vars using them will be renamed appropriately.
llvm-svn: 34019
2007-02-07 23:45:51 +00:00
Reid Spencer
0fb1efdece
For PR1187:
...
Add a test case to test rename of internal linkage functions with the same
name, without an error or warning.
llvm-svn: 34018
2007-02-07 23:41:10 +00:00
Chris Lattner
cc1239500e
new testcase for nested functions
...
llvm-svn: 34017
2007-02-07 23:28:08 +00:00
Andrew Lenharth
9e5f0274d8
This really only affects pointers in high memory, and only llvm 1.9, but make a regression for it anyway
...
llvm-svn: 34014
2007-02-07 22:23:47 +00:00
Chris Lattner
1c153a1e17
Testcase for a bug responsible for GCC bootstrap failure, fallout from PR411.
...
llvm-svn: 34004
2007-02-07 19:28:52 +00:00
Evan Cheng
5f5823c641
New test case.
...
llvm-svn: 34001
2007-02-07 09:24:03 +00:00
Evan Cheng
2bdfbce9ea
Add a DYNAMIC_STACKALLOC test case.
...
llvm-svn: 33959
2007-02-06 07:18:27 +00:00
Chris Lattner
9263720b2b
testcase for pr1181
...
llvm-svn: 33956
2007-02-06 06:07:34 +00:00
Chris Lattner
a4cd209aa1
Testcase for miscompilation
...
llvm-svn: 33947
2007-02-06 02:22:37 +00:00
Reid Spencer
0e2414dbbe
For PR411:
...
This test is not particularly useful without type planes.
llvm-svn: 33919
2007-02-05 20:59:45 +00:00
Reid Spencer
6af21b3029
For PR411:
...
This patch replaces the SymbolTable class with ValueSymbolTable which does
not support types planes. This means that all symbol names in LLVM must now
be unique. The patch addresses the necessary changes to deal with this and
removes code no longer needed as a result. This completes the bulk of the
changes for this PR. Some cleanup patches will follow.
llvm-svn: 33918
2007-02-05 20:47:22 +00:00
Devang Patel
cfae673742
Test case for PR1158
...
llvm-svn: 33914
2007-02-05 19:33:20 +00:00
Lauro Ramos Venancio
45504fb6b4
Fix unord test.
...
llvm-svn: 33910
2007-02-05 16:33:56 +00:00
Reid Spencer
9ddf69cdd6
Assembler no longer prints ! at the end of its error messages.
...
llvm-svn: 33908
2007-02-05 10:17:51 +00:00
Reid Spencer
c7525207b8
Make the RUN: line readable.
...
llvm-svn: 33906
2007-02-05 10:09:41 +00:00
Reid Spencer
b33f883a96
For PR411:
...
Don't re-use var names.
llvm-svn: 33899
2007-02-05 04:00:04 +00:00
Chris Lattner
c8c3e824e4
new testcase for 1174, currently xfailed
...
llvm-svn: 33898
2007-02-05 03:56:59 +00:00
Anton Korobeynikov
6af279f20d
Test for PR1173
...
llvm-svn: 33895
2007-02-05 02:28:56 +00:00
Chris Lattner
bcd1454361
fix bug number
...
llvm-svn: 33894
2007-02-05 02:26:07 +00:00
Chris Lattner
c61d845960
test for pr1173
...
llvm-svn: 33893
2007-02-05 02:19:09 +00:00
Chris Lattner
6384117218
testcase for PR1175
...
llvm-svn: 33891
2007-02-04 23:55:04 +00:00
Chris Lattner
4223274f91
new testcase for x86 backend miscompilation
...
llvm-svn: 33883
2007-02-04 20:15:15 +00:00
Reid Spencer
1b85bb46ae
Prepare for PR411
...
llvm-svn: 33865
2007-02-04 02:11:13 +00:00
Reid Spencer
45d9d72ac0
For PR1072:
...
Removing -raise has neglible positive or negative side effects so we are
opting to remove it. See the PR for comparison details.
llvm-svn: 33844
2007-02-03 23:15:56 +00:00
Evan Cheng
8001366326
Add a test case.
...
llvm-svn: 33833
2007-02-03 09:14:10 +00:00
Evan Cheng
accef1b6a3
__builtin_isunordered test case.
...
llvm-svn: 33808
2007-02-03 00:50:45 +00:00
Lauro Ramos Venancio
64b7f3e640
Improves alloca test. Verifies SP restoration.
...
llvm-svn: 33802
2007-02-03 00:16:21 +00:00
Reid Spencer
591bfa1e0b
Changes to support making the shift instructions be true BinaryOperators.
...
This feature is needed in order to support shifts of more than 255 bits
on large integer types. This changes the syntax for llvm assembly to
make shl, ashr and lshr instructions look like a binary operator:
shl i32 %X, 1
instead of
shl i32 %X, i8 1
Additionally, this should help a few passes perform additional optimizations.
llvm-svn: 33776
2007-02-02 02:16:23 +00:00
Chris Lattner
49d3308f43
new testcase for serious code pessimization
...
llvm-svn: 33770
2007-02-01 22:29:26 +00:00
Reid Spencer
1f769ed900
My mistake, my environment wasn't up to date. This passes now.
...
llvm-svn: 33769
2007-02-01 22:26:42 +00:00
Reid Spencer
b47ac467a6
XFAIL this on x86 linux as it continues to fail.
...
llvm-svn: 33768
2007-02-01 22:10:46 +00:00
Reid Spencer
1f2f4ae151
Make sure the value passed to test function is initialized.
...
llvm-svn: 33764
2007-02-01 21:58:46 +00:00
Evan Cheng
a5c5daf15d
Add a test case.
...
llvm-svn: 33742
2007-02-01 02:27:24 +00:00
Evan Cheng
e9701dce51
Added a thumb vararg test.
...
llvm-svn: 33740
2007-02-01 01:56:43 +00:00
Chris Lattner
c0baa88c14
new testcase
...
llvm-svn: 33731
2007-02-01 00:38:56 +00:00
Evan Cheng
b689aef6e2
Fix test case.
...
llvm-svn: 33730
2007-01-31 23:51:35 +00:00
Evan Cheng
5b168e6bc2
Fix test cases.
...
llvm-svn: 33725
2007-01-31 22:27:07 +00:00
Lauro Ramos Venancio
e22bc8635e
ARM fix: Miscompilation when frame pointer can't be eliminated. Uninitialized frame pointer register is used.
...
llvm-svn: 33703
2007-01-31 13:12:46 +00:00
Evan Cheng
b671880197
Combine two tests.
...
llvm-svn: 33668
2007-01-30 23:06:22 +00:00
Reid Spencer
82293f34de
For PR411:
...
Update these tests to not use the same name even though the type of the
value differs. After PR411 hits, type planes will be gone and it will be
illegal for a name to be used twice, regardless of type.
llvm-svn: 33660
2007-01-30 16:16:01 +00:00
Reid Spencer
26e829dec4
Add a gxxcmd variable for the g++ command line used to build llvm.
...
llvm-svn: 33659
2007-01-30 16:06:55 +00:00
Reid Spencer
5be7fde6dd
Make the input legal.
...
llvm-svn: 33655
2007-01-30 06:32:25 +00:00
Evan Cheng
228c786e28
Add / merge tests.
...
llvm-svn: 33654
2007-01-30 03:06:19 +00:00
Chris Lattner
1800f109f8
test that the 'ir' constraint works.
...
llvm-svn: 33646
2007-01-29 23:55:20 +00:00
Chris Lattner
31daf51489
new testcase
...
llvm-svn: 33642
2007-01-29 23:45:03 +00:00
Reid Spencer
faf5654798
Update this test case to look for sret parameter attribute not csret cc.
...
llvm-svn: 33613
2007-01-29 05:40:02 +00:00
Reid Spencer
1fb87aef6d
Test case for PR1137. This makes sure that we don't get erroneous
...
"redefinition" errors that cause the upgrade to fail.
llvm-svn: 33593
2007-01-28 00:45:28 +00:00
Chris Lattner
1c1eaa542d
Testcase for an instcombine miscompilation reduced by Anton.
...
llvm-svn: 33590
2007-01-27 23:07:12 +00:00
Reid Spencer
1d622f85b8
Use -f option so test is repeatable.
...
llvm-svn: 33589
2007-01-27 21:10:35 +00:00
Reid Spencer
db3c0b3978
Add a test case for PR411.
...
llvm-svn: 33588
2007-01-27 21:09:03 +00:00
Reid Spencer
5750f413d4
Make this really do nothing.
...
llvm-svn: 33587
2007-01-27 21:08:29 +00:00
Chris Lattner
afae6b52c2
add an explanatory comment.
...
llvm-svn: 33565
2007-01-27 00:23:45 +00:00
Reid Spencer
7f0c1cc237
Apparently the last commit is wrong. Reverted.
...
llvm-svn: 33564
2007-01-27 00:21:01 +00:00
Reid Spencer
7574237166
Remove a double negative.
...
llvm-svn: 33563
2007-01-27 00:16:07 +00:00
Evan Cheng
bd325bdcd2
Thumb tests.
...
llvm-svn: 33561
2007-01-27 00:05:14 +00:00
Evan Cheng
ffed2abf43
Merge tests.
...
llvm-svn: 33560
2007-01-27 00:04:57 +00:00
Reid Spencer
fb6b9b1efa
For PR1122:
...
Test the upgradability of nested type definitions.
llvm-svn: 33534
2007-01-26 08:44:14 +00:00
Reid Spencer
6a31ec1259
For PR761:
...
Remove "target endian/pointersize" or add "target datalayout" to make
the test parse properly or set the datalayout because defaults changes.
For PR645:
Make global names use the @ prefix.
For llvm-upgrade changes:
Fix test cases or completely remove use of llvm-upgrade for test cases
that cannot survive the new renaming or upgrade capabilities.
llvm-svn: 33533
2007-01-26 08:25:06 +00:00
Evan Cheng
a644323f02
Fix test case.
...
llvm-svn: 33507
2007-01-25 22:28:32 +00:00
Lauro Ramos Venancio
696a1c1143
fix fcopysign test
...
llvm-svn: 33503
2007-01-25 22:11:02 +00:00
Chris Lattner
bac9cae375
new testcase
...
llvm-svn: 33493
2007-01-25 02:52:33 +00:00
Evan Cheng
2c3d4a0cd3
Added some load from stack frames test cases.
...
llvm-svn: 33473
2007-01-24 02:27:03 +00:00
Evan Cheng
242a527390
Thumb test cases.
...
llvm-svn: 33471
2007-01-23 23:28:50 +00:00
Evan Cheng
536af6b123
Thumb test cases.
...
llvm-svn: 33468
2007-01-23 22:47:58 +00:00
Evan Cheng
355e088da3
Fix test case.
...
llvm-svn: 33464
2007-01-23 17:49:33 +00:00
Evan Cheng
9dc8803378
Make it work for both Linux and Mac OS.
...
llvm-svn: 33451
2007-01-22 23:18:10 +00:00
Evan Cheng
464315647f
Pasto
...
llvm-svn: 33444
2007-01-22 23:01:22 +00:00
Evan Cheng
fd911b3b10
Fix test case.
...
llvm-svn: 33432
2007-01-22 18:57:39 +00:00
Chris Lattner
b033444071
new testcase
...
llvm-svn: 33416
2007-01-21 00:56:42 +00:00
Reid Spencer
e15bb1503e
Try a negative number with ashr.
...
llvm-svn: 33404
2007-01-20 20:30:13 +00:00
Owen Anderson
b7af8461fe
Fix incorrect run line.
...
llvm-svn: 33395
2007-01-20 08:48:05 +00:00
Reid Spencer
dec5830ddf
Add a test case for sext bug that Leo found.
...
llvm-svn: 33393
2007-01-20 08:31:45 +00:00
Evan Cheng
bf113a03b7
Add test case extracted from lencod. Spiller was infinite looping in GetRegForReload().
...
llvm-svn: 33383
2007-01-19 22:43:14 +00:00
Reid Spencer
8302672156
Make this test actually test what its supposed to test.
...
llvm-svn: 33369
2007-01-19 21:06:38 +00:00
Zhou Sheng
bb82bc11ae
Cover non-byte-width BATs situation.
...
llvm-svn: 33356
2007-01-19 14:30:59 +00:00
Zhou Sheng
0b7ea20f4a
Cover more arithmetics for arbitrary bitwidth integers.
...
llvm-svn: 33355
2007-01-19 14:26:57 +00:00
Evan Cheng
1897bbd2cf
ARM test cases contributed by Apple.
...
llvm-svn: 33354
2007-01-19 09:20:23 +00:00
Zhou Sheng
4cada26096
Add one test case for Arbitrary BitWidth Integers.
...
llvm-svn: 33348
2007-01-19 01:35:08 +00:00
Chris Lattner
b59923f5b1
remove an execution test from llvm/test
...
llvm-svn: 33344
2007-01-18 22:24:04 +00:00
Chris Lattner
f457b999c7
new testcase that causes instcombine to infinitely loop
...
llvm-svn: 33342
2007-01-18 22:16:03 +00:00
Reid Spencer
145fef9445
For PR1028:
...
Ensure the CBE generates calls to GCC builtins for stack_save and
stack_restore when it encounters the corresponding intrinsics.
Patch by Gordon Henriksen.
llvm-svn: 33312
2007-01-17 23:20:43 +00:00
Anton Korobeynikov
2509765bef
* Fix one more bug in PIC codegen: extra load is needed for *all*
...
non-statics.
* Introduce new option to output zero-initialized data to .bss section.
This can reduce size of binaries. Enable it by default for ELF &
Cygwin/Mingw targets. Probably, Darwin should be also added.
llvm-svn: 33299
2007-01-17 10:33:08 +00:00
Reid Spencer
16b77dade5
The Regression directory is now gone.
...
llvm-svn: 33297
2007-01-17 08:01:13 +00:00
Reid Spencer
4572ce85b0
Regression is gone, don't try to find it on clean target.
...
llvm-svn: 33296
2007-01-17 07:59:14 +00:00
Reid Spencer
4d13f6a1b6
Test cases for PR1117.
...
llvm-svn: 33281
2007-01-17 02:45:19 +00:00
Reid Spencer
bf05aa9690
Ignore the output directory.
...
llvm-svn: 33275
2007-01-17 01:48:42 +00:00
Reid Spencer
c275f4b0d5
Fix test cases. Patch by Guoling Han.
...
llvm-svn: 33272
2007-01-16 22:31:46 +00:00
Reid Spencer
6b42ad671d
Remove this test case. LLVM doesn't currently support comparison of packed.
...
llvm-svn: 33271
2007-01-16 21:58:58 +00:00
Reid Spencer
52170cb5e8
Add a test case for bit accurate integer types in llvm-gcc. This is
...
XFAILed for now until llvm-gcc changes are committed.
llvm-svn: 33261
2007-01-16 18:40:08 +00:00
Reid Spencer
90a70475df
New test cases for bit accurate integers developed by Guoling Han.
...
llvm-svn: 33259
2007-01-16 18:08:22 +00:00
Chris Lattner
a1adc3b364
testcase for PR918
...
llvm-svn: 33253
2007-01-16 07:21:28 +00:00
Chris Lattner
951687dbef
new testcase for PR1114
...
llvm-svn: 33250
2007-01-16 05:58:50 +00:00
Bill Wendling
661f651728
Added a -mtriple flag to force darwin backend.
...
llvm-svn: 33248
2007-01-16 04:15:20 +00:00
Bill Wendling
cfdd717db5
Fix for PR1095:
...
LLVM would miscompile ASM dialects when compiling for PPC. Added dialects for
the X86 and PPC backends. It defaults to "0", the first variant of a compound
inline asm expression.
llvm-svn: 33246
2007-01-16 03:42:04 +00:00
Chris Lattner
c9024c6200
test darwin too! :)
...
llvm-svn: 33241
2007-01-15 18:32:24 +00:00
Chris Lattner
1140c5c398
new testcase
...
llvm-svn: 33233
2007-01-15 07:29:29 +00:00
Chris Lattner
4b84530d59
add a simple case where instcombine can detect and remove a dead alloca
...
llvm-svn: 33230
2007-01-15 06:51:25 +00:00
Chris Lattner
01b3134b12
ensure these don't xpass if opt crashes
...
llvm-svn: 33215
2007-01-15 01:04:21 +00:00
Chris Lattner
de35355e62
new testcase
...
llvm-svn: 33206
2007-01-14 19:40:48 +00:00
Chris Lattner
fd98d4e56d
verify that hidden visibility support never goes away
...
llvm-svn: 33205
2007-01-14 18:57:37 +00:00
Chris Lattner
4d1a38e365
testcase for pr1110
...
llvm-svn: 33203
2007-01-14 18:33:11 +00:00
Chris Lattner
41d8435bfb
testcase for pr1109
...
llvm-svn: 33194
2007-01-14 05:56:45 +00:00
Chris Lattner
5a9059aed5
new testcase for pr1101
...
llvm-svn: 33192
2007-01-14 01:23:43 +00:00
Chris Lattner
940127de2e
new testcase for pr1103
...
llvm-svn: 33188
2007-01-14 00:12:50 +00:00
Chris Lattner
95da417f02
testcase reduced from pr1107
...
llvm-svn: 33186
2007-01-13 23:11:45 +00:00
Reid Spencer
034ec91984
For PR1043:
...
Bye, Bye Booly. Remove the use of the bool type from non-upgraded test
cases and from grep expressions. The parser doesn't accept it and the
asm writer doesn't produce it any more.
llvm-svn: 33183
2007-01-13 05:06:52 +00:00
Reid Spencer
a69ca9a468
Can't grep for bool any more.
...
llvm-svn: 33178
2007-01-13 04:36:22 +00:00
Chris Lattner
b21dae75a6
Remove this obsolete test. The CBE will never be able to handle zero argument
...
vararg functions.
llvm-svn: 33174
2007-01-13 00:40:40 +00:00
Reid Spencer
5c8b29cbb6
Whoops. Give this test some input. Doubly important since its XFAIL.
...
llvm-svn: 33173
2007-01-13 00:28:36 +00:00
Reid Spencer
e275721847
This is not an upgrade candidate any more.
...
llvm-svn: 33170
2007-01-13 00:19:13 +00:00
Reid Spencer
333d3d069d
Test case for PR1093 for llvm.va_* intrinsics upgrade.
...
llvm-svn: 33162
2007-01-13 00:00:43 +00:00
Chris Lattner
f475e26e95
update this to work with recent asmprinter change
...
llvm-svn: 33143
2007-01-12 21:16:56 +00:00
Lauro Ramos Venancio
14cf9f2c03
Don't add or sub zero to sp.
...
llvm-svn: 33142
2007-01-12 20:52:27 +00:00
Lauro Ramos Venancio
97e120a71c
Build constants using instructions mov/orr or mvn/eor.
...
llvm-svn: 33141
2007-01-12 20:35:49 +00:00
Anton Korobeynikov
548b9af9c2
* PIC codegen for X86/Linux has been implemented
...
* PIC-aware internal structures in X86 Codegen have been refactored
* Visibility (default/weak) has been added
* Docs fixes (external weak linkage, visibility, formatting)
llvm-svn: 33136
2007-01-12 19:20:47 +00:00
Nick Lewycky
7fb0a6d2ab
New predicate simplifier!
...
Please do not enable, there is still some known miscompile problem.
llvm-svn: 33066
2007-01-11 02:32:38 +00:00
Reid Spencer
73806b01c8
Test case for PR1099.
...
llvm-svn: 33033
2007-01-09 06:25:15 +00:00
Chris Lattner
893a8f3dfb
Add PR number for future reference
...
llvm-svn: 33031
2007-01-09 00:31:52 +00:00