Chris Lattner
421ac38bd6
new testcase
...
llvm-svn: 35317
2007-03-25 01:44:40 +00:00
Reid Spencer
e3d00119e6
Remove the last vestiges of this directory.
...
llvm-svn: 35309
2007-03-24 23:07:49 +00:00
Reid Spencer
c10869bb57
Flip the srem tests around. Previous commit was to correct an apparent
...
bug in the srem implementation. Turns out it was a documentation bug
instead.
llvm-svn: 35304
2007-03-24 22:34:10 +00:00
Reid Spencer
71a6ef7f0e
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
562b715dd1
Add more test cases for APIntified InstCombine.
...
llvm-svn: 35288
2007-03-23 21:57:47 +00:00
Reid Spencer
ea8b07ee6b
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
96719d1667
Test handling of switches with wide case ranges.
...
llvm-svn: 35279
2007-03-23 07:17:52 +00:00
Reid Spencer
02b0b57101
Make this test actually match the generated code.
...
llvm-svn: 35263
2007-03-22 02:53:05 +00:00
Reid Spencer
8f0bcc6b89
Add tests for nounwind and noreturn function attributes.
...
llvm-svn: 35261
2007-03-22 02:15:17 +00:00
Evan Cheng
9a95c6e7db
Another test case.
...
llvm-svn: 35255
2007-03-22 01:55:16 +00:00
Evan Cheng
51ace3b1f6
Test case for PR1257
...
llvm-svn: 35253
2007-03-22 01:52:57 +00:00
Reid Spencer
fa9925e263
Test case for PR1248
...
llvm-svn: 35251
2007-03-22 00:49:40 +00:00
Evan Cheng
a7f81f29ce
New test case.
...
llvm-svn: 35240
2007-03-21 20:14:56 +00:00
Lauro Ramos Venancio
a88c4a74f3
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
cdf6823e10
llvm-gcc now requires -fnested-functions to enable them in C.
...
llvm-svn: 35217
2007-03-20 17:34:31 +00:00
Reid Spencer
98f0709618
Break up huge line so that this file is almost readable.
...
llvm-svn: 35216
2007-03-20 17:27:19 +00:00
Duncan Sands
76e4fdf879
Test handling of structs with multiple variable-sized fields.
...
llvm-svn: 35212
2007-03-20 14:13:20 +00:00
Duncan Sands
dd066c34a9
Ada testcase for structs with multiple variable sized fields.
...
llvm-svn: 35210
2007-03-20 09:54:02 +00:00
Duncan Sands
2fd6a4bef5
Test that ARRAY_RANGE_REF returns an array not an element.
...
llvm-svn: 35209
2007-03-20 09:50:42 +00:00
Chris Lattner
d95d748a4d
These functions should use shll, not lea.
...
llvm-svn: 35203
2007-03-20 06:01:41 +00:00
Reid Spencer
09f4eb1098
Make this test a little simpler/faster.
...
llvm-svn: 35193
2007-03-19 23:36:19 +00:00
Reid Spencer
eb0a221186
Add test case for PR1261, currently XFAILed.
...
llvm-svn: 35192
2007-03-19 23:28:16 +00:00
Reid Spencer
732f0a838e
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
cbf49a803c
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
37f629a953
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
7953b683fc
For PR1258:
...
Revise numeric value references to accommodate collapsed type planes.
llvm-svn: 35170
2007-03-19 18:27:35 +00:00
Reid Spencer
175296cd1b
Use opt instead of gccas.
...
llvm-svn: 35168
2007-03-19 18:25:55 +00:00
Chris Lattner
50fce05a21
add a testcase the resent patches fail on.
...
llvm-svn: 35167
2007-03-19 18:25:48 +00:00
Reid Spencer
104b47041a
Don't upgrade these.
...
llvm-svn: 35166
2007-03-19 18:08:42 +00:00
Chris Lattner
23dd31a3af
add PR#
...
llvm-svn: 35151
2007-03-19 00:17:19 +00:00
Chris Lattner
dcd44dbbb0
add pr#
...
llvm-svn: 35149
2007-03-19 00:15:43 +00:00
Chris Lattner
ee3c5d1b78
new testcase
...
llvm-svn: 35148
2007-03-19 00:11:30 +00:00
Chris Lattner
2c0f36bc39
testcase for SROA with memset etc
...
llvm-svn: 35147
2007-03-19 00:09:00 +00:00
Chris Lattner
1ada0693ab
new testcase
...
llvm-svn: 35144
2007-03-18 22:50:57 +00:00
Nick Lewycky
17d20fd41e
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
bbe11722e2
GEP index sink test case.
...
llvm-svn: 35131
2007-03-17 03:18:32 +00:00
Devang Patel
ac1f488548
Test case for X86 inline asm constraint 'I'
...
llvm-svn: 35130
2007-03-17 00:14:52 +00:00
Bill Wendling
144b8bbf17
And now support for MMX logical operations.
...
llvm-svn: 35125
2007-03-16 09:44:46 +00:00
Bill Wendling
e31034125c
Multiplication support for MMX.
...
llvm-svn: 35118
2007-03-15 21:24:36 +00:00
Evan Cheng
70e16d5e17
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
dca9687de6
Test case for PR1256.
...
llvm-svn: 35110
2007-03-14 23:07:24 +00:00
Duncan Sands
a413e0825f
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
b59d60da40
New test.
...
llvm-svn: 35091
2007-03-13 23:31:47 +00:00
Evan Cheng
ca6fab953f
This got better.
...
llvm-svn: 35090
2007-03-13 23:26:41 +00:00
Duncan Sands
3240cdb339
Test support for arrays with non-zero first index.
...
llvm-svn: 35084
2007-03-13 15:12:35 +00:00
Chris Lattner
091e75bbde
testcase for PR1244
...
llvm-svn: 35081
2007-03-13 14:25:35 +00:00
Anton Korobeynikov
8a6dc102d3
Use range tests in LowerSwitch, where possible
...
llvm-svn: 35057
2007-03-10 16:46:28 +00:00
Bill Wendling
e9b81f5366
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
fe7b8a7c68
Test inline asm modifier 'c'.
...
llvm-svn: 35036
2007-03-08 22:45:31 +00:00
Chris Lattner
577e8b4ed8
upgrade this testcase, add test for fp immediate to memory operand.
...
llvm-svn: 35034
2007-03-08 22:33:06 +00:00
Bill Wendling
c8eb6b1b15
Add MMX arithmetic testcase.
...
llvm-svn: 35032
2007-03-08 22:14:51 +00:00
Evan Cheng
f4d1ee7ff2
Fix test case.
...
llvm-svn: 35029
2007-03-08 19:27:32 +00:00
Evan Cheng
a5c7f5d622
New test case.
...
llvm-svn: 35006
2007-03-07 08:12:39 +00:00
Reid Spencer
4e9a0b7976
Fix the pattern.
...
llvm-svn: 34994
2007-03-07 00:39:11 +00:00
Reid Spencer
6dfc9da3b3
Make this test more reliable across platforms.
...
llvm-svn: 34993
2007-03-07 00:32:12 +00:00
Evan Cheng
bd88f2ebde
New test case.
...
llvm-svn: 34991
2007-03-07 00:13:48 +00:00
Reid Spencer
87052bc86f
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
1bb655d1b9
Fix this to put its output in the output directory.
...
llvm-svn: 34971
2007-03-06 17:44:43 +00:00
Reid Spencer
3f634774aa
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
b1c86b49ea
Add the emms intrinsic for MMX support.
...
llvm-svn: 34938
2007-03-05 23:09:45 +00:00
Reid Spencer
509acc186e
Add a test case for a particular udiv/select transform.
...
llvm-svn: 34935
2007-03-05 22:51:08 +00:00
Lauro Ramos Venancio
f10769dda7
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
0af659640e
Testcase for handling of static constant declarations in EmitBIND_EXPR.
...
llvm-svn: 34927
2007-03-05 08:39:58 +00:00
Duncan Sands
49f6938169
Testcase causing the Ada front-end to create bogus constructor fields.
...
llvm-svn: 34926
2007-03-05 08:34:35 +00:00
Duncan Sands
14b7061a60
New directory for Ada testcases. Test handling of NON_LVALUE_EXPR.
...
llvm-svn: 34925
2007-03-05 08:20:48 +00:00
Chris Lattner
3a8b0c7607
new testcase
...
llvm-svn: 34918
2007-03-05 00:01:38 +00:00
Chris Lattner
4bdd578f8a
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
dd3f9f8c3b
New testcases for PR1179/PR1232.
...
llvm-svn: 34895
2007-03-04 00:54:06 +00:00
Chris Lattner
6053ad4252
New testcase for PR1239
...
llvm-svn: 34892
2007-03-03 23:42:50 +00:00
Chris Lattner
05e93d7f05
new testcase: instcombine should remove all the casts.
...
llvm-svn: 34869
2007-03-03 05:24:06 +00:00
Chris Lattner
c1991789c5
instcombine doesn't do CSE, simplify unrelated detail
...
llvm-svn: 34867
2007-03-03 02:27:02 +00:00
Evan Cheng
b7bef1bc74
Add a new test case.
...
llvm-svn: 34842
2007-03-02 10:37:19 +00:00
Chris Lattner
870055ef79
testcase for PR1233
...
llvm-svn: 34840
2007-03-02 07:29:59 +00:00
Anton Korobeynikov
af8be4458f
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
debe91c78a
Eliminate enable-x86-fastcc
...
llvm-svn: 34753
2007-02-28 18:38:58 +00:00
Chris Lattner
cbb545158b
fastcc -> fastcall
...
llvm-svn: 34749
2007-02-28 18:35:36 +00:00
Chris Lattner
559b60da64
fastcc -> fastcall
...
llvm-svn: 34747
2007-02-28 18:21:50 +00:00
Chris Lattner
6fa4086649
fastcc -> fastcall
...
llvm-svn: 34746
2007-02-28 17:42:50 +00:00
Evan Cheng
add648e3e5
Fix test case.
...
llvm-svn: 34710
2007-02-28 00:36:33 +00:00
Reid Spencer
ca8c58f8b7
This test passes on x86/Linux now.
...
llvm-svn: 34686
2007-02-27 20:46:44 +00:00
Reid Spencer
e4f65e1983
Update for constant folding now generating undef and overflow correctly.
...
llvm-svn: 34676
2007-02-27 19:26:40 +00:00
Reid Spencer
9193cc348e
Shifting by the bit width now produces undef, not 0.
...
llvm-svn: 34675
2007-02-27 19:22:36 +00:00
Reid Spencer
8cd69de23e
XFAIL this on x86-Linux until its fixed.
...
llvm-svn: 34651
2007-02-27 02:45:12 +00:00
Reid Spencer
5c41e96631
Remove test cases that produce undefined results.
...
llvm-svn: 34650
2007-02-27 02:34:02 +00:00
Chris Lattner
900b4f62be
new testcase
...
llvm-svn: 34622
2007-02-26 03:16:20 +00:00
Chris Lattner
c864f6a786
new testcase
...
llvm-svn: 34614
2007-02-25 23:08:29 +00:00
Chris Lattner
39a72143cb
new testcase
...
llvm-svn: 34612
2007-02-25 22:23:15 +00:00
Chris Lattner
eef0a351b1
new testcase
...
llvm-svn: 34611
2007-02-25 22:02:01 +00:00
Jim Laskey
619d4bddc7
Test for PR1224.
...
llvm-svn: 34609
2007-02-25 21:43:21 +00:00
Chris Lattner
49c505c6e6
new testcase. @foo should be marked fastcc by globalopt
...
llvm-svn: 34607
2007-02-25 21:04:39 +00:00
Chris Lattner
2b8b520e53
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
26ef86b6fe
new testcase
...
llvm-svn: 34583
2007-02-25 08:23:01 +00:00
Chris Lattner
64b8352586
verify i128 return on x86-64 continues to codegen optimally.
...
llvm-svn: 34575
2007-02-25 06:06:49 +00:00
Chris Lattner
5af36e7e7c
testcase for PR1219
...
llvm-svn: 34550
2007-02-24 02:08:00 +00:00
Chris Lattner
3b7c905437
testcase for pr1215
...
llvm-svn: 34547
2007-02-24 01:16:39 +00:00
Chris Lattner
3fec2056a4
testcase for pr1217
...
llvm-svn: 34545
2007-02-24 01:03:11 +00:00
Bill Wendling
a33fd51520
Make the testcase correct.
...
llvm-svn: 34543
2007-02-23 23:23:41 +00:00
Bill Wendling
9d9e5e2b34
Testcase for PR1164
...
llvm-svn: 34542
2007-02-23 23:19:32 +00:00
Bill Wendling
77a345f000
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
4938bb7268
New test - practically wrote itself.
...
llvm-svn: 34538
2007-02-23 22:12:08 +00:00
Lauro Ramos Venancio
0eb70ebbe5
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
3e906c48d3
Fix stack alignment in functions with varargs.
...
llvm-svn: 34532
2007-02-23 20:32:57 +00:00
Chris Lattner
83908e664f
fix this testcase
...
llvm-svn: 34530
2007-02-23 19:39:24 +00:00
Evan Cheng
fa6532a3b9
-march=arm -enable-thumb => -march=thumb
...
llvm-svn: 34522
2007-02-23 03:15:39 +00:00
Andrew Lenharth
f7a5332b53
missed cast elimination
...
llvm-svn: 34490
2007-02-22 15:17:45 +00:00
Evan Cheng
0c99b096c5
Added test case for PR1207.
...
llvm-svn: 34429
2007-02-19 21:53:59 +00:00
Evan Cheng
d5cfe7d004
Fix test case.
...
llvm-svn: 34427
2007-02-19 21:47:02 +00:00
Chris Lattner
8982e3b063
this passes now
...
llvm-svn: 34426
2007-02-19 20:20:04 +00:00
Chris Lattner
3723c90455
new test
...
llvm-svn: 34372
2007-02-17 06:57:11 +00:00
Chris Lattner
2be2ab59d5
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
bc9111e290
new testcase that crashes llc
...
llvm-svn: 34367
2007-02-17 05:59:01 +00:00
Chris Lattner
6d6d70ba18
testcase for PR1170
...
llvm-svn: 34366
2007-02-17 05:44:57 +00:00
Chris Lattner
f37f0479b8
new testcase for -fwritable-strings
...
llvm-svn: 34365
2007-02-17 05:07:40 +00:00
Chris Lattner
3ae936ce69
new testcase
...
llvm-svn: 34361
2007-02-17 01:44:21 +00:00
Dale Johannesen
0552e3b580
adding PR 1200 comment by request
...
llvm-svn: 34360
2007-02-17 01:12:15 +00:00
Dale Johannesen
12920dda9e
Fixes PR 1200
...
llvm-svn: 34359
2007-02-17 00:44:34 +00:00
Chris Lattner
e19f84cf28
testcase for recent targetdata regression
...
llvm-svn: 34355
2007-02-16 23:11:43 +00:00
Reid Spencer
9a3e3222e9
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
d84d35ba70
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
682918f99b
update to new t-d strings.
...
llvm-svn: 34290
2007-02-15 00:54:16 +00:00
Chris Lattner
20abdffa00
sanity check for *basic* i128 arithmetic on all hosts.
...
llvm-svn: 34259
2007-02-13 23:59:21 +00:00
Chris Lattner
9b600ab5a6
new testcase, by Dan Gohman
...
llvm-svn: 34255
2007-02-13 23:41:24 +00:00
Lauro Ramos Venancio
048e16ff8f
Add ABI information to ARM subtarget.
...
llvm-svn: 34245
2007-02-13 19:52:28 +00:00
Lauro Ramos Venancio
603f201cba
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
72df49f506
new testcase for PR1197
...
llvm-svn: 34215
2007-02-13 01:05:10 +00:00
Reid Spencer
6ef8c5844d
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
a83a1dc3dd
Eliminate the use of gccas in the test suite.
...
llvm-svn: 34088
2007-02-09 15:15:21 +00:00
Chris Lattner
133ae0b2a6
Add ppc-specific test for better i64 compare codegen.
...
llvm-svn: 34082
2007-02-09 04:49:46 +00:00
Evan Cheng
815c25d191
i64 setcc tests.
...
llvm-svn: 34067
2007-02-08 22:27:55 +00:00
Reid Spencer
d958a2b2d8
New test cases for PR1187
...
llvm-svn: 34052
2007-02-08 09:10:22 +00:00
Reid Spencer
6dde337628
Make this legal input.
...
llvm-svn: 34051
2007-02-08 09:09:36 +00:00
Reid Spencer
19c3dea36f
Add some more interesting cases to this test.
...
llvm-svn: 34042
2007-02-08 08:03:46 +00:00
Reid Spencer
530d2e3051
For PR1187:
...
Add some interesting CSRETCC upgrade cases.
llvm-svn: 34041
2007-02-08 06:45:02 +00:00
Chris Lattner
0591d43ea1
New testcase for PR947
...
llvm-svn: 34038
2007-02-08 04:34:03 +00:00
Chris Lattner
9ffe03c24e
llvm-gcc3 is gone
...
llvm-svn: 34037
2007-02-08 04:31:15 +00:00
Reid Spencer
8ff9a0691c
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
ba6d6fab20
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
1ef3bb8be6
new testcase for nested functions
...
llvm-svn: 34017
2007-02-07 23:28:08 +00:00
Andrew Lenharth
15a3af28d7
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
dd602bcd08
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
08dfee58d9
New test case.
...
llvm-svn: 34001
2007-02-07 09:24:03 +00:00
Evan Cheng
5a165de53c
Add a DYNAMIC_STACKALLOC test case.
...
llvm-svn: 33959
2007-02-06 07:18:27 +00:00
Chris Lattner
07e13789e5
testcase for pr1181
...
llvm-svn: 33956
2007-02-06 06:07:34 +00:00
Chris Lattner
ecb38495af
Testcase for miscompilation
...
llvm-svn: 33947
2007-02-06 02:22:37 +00:00
Reid Spencer
8100dcfa5e
For PR411:
...
This test is not particularly useful without type planes.
llvm-svn: 33919
2007-02-05 20:59:45 +00:00
Reid Spencer
3aaaa0b2bd
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
f21214c091
Test case for PR1158
...
llvm-svn: 33914
2007-02-05 19:33:20 +00:00
Lauro Ramos Venancio
809cbf527f
Fix unord test.
...
llvm-svn: 33910
2007-02-05 16:33:56 +00:00
Reid Spencer
22507b4fbf
Assembler no longer prints ! at the end of its error messages.
...
llvm-svn: 33908
2007-02-05 10:17:51 +00:00
Reid Spencer
61ae7b7869
Make the RUN: line readable.
...
llvm-svn: 33906
2007-02-05 10:09:41 +00:00
Reid Spencer
4e76c3a482
For PR411:
...
Don't re-use var names.
llvm-svn: 33899
2007-02-05 04:00:04 +00:00
Chris Lattner
0132cdda10
new testcase for 1174, currently xfailed
...
llvm-svn: 33898
2007-02-05 03:56:59 +00:00
Anton Korobeynikov
d282d49e78
Test for PR1173
...
llvm-svn: 33895
2007-02-05 02:28:56 +00:00
Chris Lattner
044e099765
fix bug number
...
llvm-svn: 33894
2007-02-05 02:26:07 +00:00
Chris Lattner
7936b6585c
test for pr1173
...
llvm-svn: 33893
2007-02-05 02:19:09 +00:00
Chris Lattner
c5fd530aaf
testcase for PR1175
...
llvm-svn: 33891
2007-02-04 23:55:04 +00:00
Chris Lattner
03503b5e31
new testcase for x86 backend miscompilation
...
llvm-svn: 33883
2007-02-04 20:15:15 +00:00
Reid Spencer
cb4d3f2902
Prepare for PR411
...
llvm-svn: 33865
2007-02-04 02:11:13 +00:00
Reid Spencer
8de97bba5a
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
9d851fca1e
Add a test case.
...
llvm-svn: 33833
2007-02-03 09:14:10 +00:00
Evan Cheng
bcc6db26e1
__builtin_isunordered test case.
...
llvm-svn: 33808
2007-02-03 00:50:45 +00:00
Lauro Ramos Venancio
1a0ae50528
Improves alloca test. Verifies SP restoration.
...
llvm-svn: 33802
2007-02-03 00:16:21 +00:00
Reid Spencer
2341c22ec7
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
9a677c585c
new testcase for serious code pessimization
...
llvm-svn: 33770
2007-02-01 22:29:26 +00:00
Reid Spencer
26cc265311
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
a5dc052682
XFAIL this on x86 linux as it continues to fail.
...
llvm-svn: 33768
2007-02-01 22:10:46 +00:00
Reid Spencer
a8ee496f9e
Make sure the value passed to test function is initialized.
...
llvm-svn: 33764
2007-02-01 21:58:46 +00:00
Evan Cheng
210cbc43a8
Add a test case.
...
llvm-svn: 33742
2007-02-01 02:27:24 +00:00
Evan Cheng
c79b96b00d
Added a thumb vararg test.
...
llvm-svn: 33740
2007-02-01 01:56:43 +00:00
Chris Lattner
667ff4832e
new testcase
...
llvm-svn: 33731
2007-02-01 00:38:56 +00:00
Evan Cheng
b7a08adae6
Fix test case.
...
llvm-svn: 33730
2007-01-31 23:51:35 +00:00
Evan Cheng
53ac41cd54
Fix test cases.
...
llvm-svn: 33725
2007-01-31 22:27:07 +00:00
Lauro Ramos Venancio
7ae4f5599e
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
421fdb2a7e
Combine two tests.
...
llvm-svn: 33668
2007-01-30 23:06:22 +00:00
Reid Spencer
af6a408117
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
6f880918d0
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
6ebc06f702
Make the input legal.
...
llvm-svn: 33655
2007-01-30 06:32:25 +00:00
Evan Cheng
fcb9b8b0b7
Add / merge tests.
...
llvm-svn: 33654
2007-01-30 03:06:19 +00:00
Chris Lattner
6acab41ede
test that the 'ir' constraint works.
...
llvm-svn: 33646
2007-01-29 23:55:20 +00:00
Chris Lattner
9699e54088
new testcase
...
llvm-svn: 33642
2007-01-29 23:45:03 +00:00
Reid Spencer
ccef5a35bf
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
4be2853bfb
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
d50698107e
Testcase for an instcombine miscompilation reduced by Anton.
...
llvm-svn: 33590
2007-01-27 23:07:12 +00:00
Reid Spencer
f422607990
Use -f option so test is repeatable.
...
llvm-svn: 33589
2007-01-27 21:10:35 +00:00
Reid Spencer
5dd5d4b09e
Add a test case for PR411.
...
llvm-svn: 33588
2007-01-27 21:09:03 +00:00
Reid Spencer
e1e8a58cd3
Make this really do nothing.
...
llvm-svn: 33587
2007-01-27 21:08:29 +00:00
Chris Lattner
a8026568b5
add an explanatory comment.
...
llvm-svn: 33565
2007-01-27 00:23:45 +00:00
Reid Spencer
514399daf1
Apparently the last commit is wrong. Reverted.
...
llvm-svn: 33564
2007-01-27 00:21:01 +00:00
Reid Spencer
5274612e1a
Remove a double negative.
...
llvm-svn: 33563
2007-01-27 00:16:07 +00:00
Evan Cheng
9f82ccb01f
Thumb tests.
...
llvm-svn: 33561
2007-01-27 00:05:14 +00:00
Evan Cheng
df446c6f72
Merge tests.
...
llvm-svn: 33560
2007-01-27 00:04:57 +00:00
Reid Spencer
23f1272d37
For PR1122:
...
Test the upgradability of nested type definitions.
llvm-svn: 33534
2007-01-26 08:44:14 +00:00
Reid Spencer
ce380568b5
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
b03e9118be
Fix test case.
...
llvm-svn: 33507
2007-01-25 22:28:32 +00:00
Lauro Ramos Venancio
b5c595c568
fix fcopysign test
...
llvm-svn: 33503
2007-01-25 22:11:02 +00:00
Chris Lattner
789ba302cc
new testcase
...
llvm-svn: 33493
2007-01-25 02:52:33 +00:00
Evan Cheng
dda311a784
Added some load from stack frames test cases.
...
llvm-svn: 33473
2007-01-24 02:27:03 +00:00
Evan Cheng
029a72b9fa
Thumb test cases.
...
llvm-svn: 33471
2007-01-23 23:28:50 +00:00
Evan Cheng
36b74471c8
Thumb test cases.
...
llvm-svn: 33468
2007-01-23 22:47:58 +00:00
Evan Cheng
c42dd6a5e4
Fix test case.
...
llvm-svn: 33464
2007-01-23 17:49:33 +00:00