Lauro Ramos Venancio
8284722e41
Add test for constructor and destructor sections.
...
llvm-svn: 32873
2007-01-04 14:41:33 +00:00
Lauro Ramos Venancio
86c825514f
Add extload(i1) test.
...
llvm-svn: 32872
2007-01-04 14:27:21 +00:00
Lauro Ramos Venancio
c7f5caf1e7
Add test for FCOPYSIGN.
...
llvm-svn: 32871
2007-01-04 14:24:32 +00:00
Lauro Ramos Venancio
078b85bdaa
Expand SELECT (f32/f64) and FCOPYSIGN (f32/f64).
...
llvm-svn: 32870
2007-01-04 14:01:38 +00:00
Bill Wendling
6568e0fb01
Removed reference to "cnull" because typical users shouldn't need to use
...
it.
llvm-svn: 32869
2007-01-04 08:38:04 +00:00
Chris Lattner
7355282e63
ding dong llvm-gcc3 is dead
...
llvm-svn: 32868
2007-01-04 07:08:27 +00:00
Chris Lattner
1fc9298de2
gcc 4.1.1 on amd64 is broken
...
llvm-svn: 32867
2007-01-04 07:06:05 +00:00
Reid Spencer
dd9d393e32
Death to useless bitcast instructions!
...
llvm-svn: 32866
2007-01-04 05:23:51 +00:00
Reid Spencer
4b18100144
Do not allow packed types for icmp and fcmp instructions.
...
llvm-svn: 32865
2007-01-04 05:22:18 +00:00
Reid Spencer
9c23bd6133
icmp and fcmp do not take packed type operands.
...
llvm-svn: 32864
2007-01-04 05:19:58 +00:00
Reid Spencer
18bed85d6f
XFAIL this test until such time that code gen can handle a comparison of
...
packed types.
llvm-svn: 32863
2007-01-04 03:06:23 +00:00
Reid Spencer
d74df01f8b
Regenerate.
...
llvm-svn: 32862
2007-01-04 02:57:52 +00:00
Reid Spencer
6d0c49f6bd
Disallow packed types in icmp/fcmp instructions. The code generator is
...
not prepared to handle them yet.
llvm-svn: 32861
2007-01-04 02:57:22 +00:00
Chris Lattner
29a821859e
Now that setcondinst has been eliminated, we can mark Value::SubclassID
...
const and remove the ugly mutator methods.
llvm-svn: 32860
2007-01-04 02:15:37 +00:00
Chris Lattner
5eca81644b
fix typo
...
llvm-svn: 32859
2007-01-04 02:13:20 +00:00
Chris Lattner
06b8d30502
Enable a couple xforms for packed vectors (undef | v) -> -1 for packed.
...
llvm-svn: 32858
2007-01-04 02:12:40 +00:00
Chris Lattner
793a771c59
fix some bugs handling vectors, avoid host-specific handling of undefined shift results.
...
llvm-svn: 32857
2007-01-04 01:56:39 +00:00
Chris Lattner
d9342d1db3
Add a new ConstantPacked::getAllOnesValue method
...
llvm-svn: 32856
2007-01-04 01:49:26 +00:00
Devang Patel
6612240497
Enable new pass manager, which was accidentally disabled.
...
llvm-svn: 32855
2007-01-04 01:27:03 +00:00
Reid Spencer
cfbf29b510
Add a test to ensure that we can assembly comparisons of packed values.
...
llvm-svn: 32854
2007-01-04 00:29:09 +00:00
Reid Spencer
878c466bf4
Regenerate.
...
llvm-svn: 32853
2007-01-04 00:06:14 +00:00
Reid Spencer
bde43a8222
Permit icmp and fcmp to have packed operands.
...
Make an error message a little more useful.
llvm-svn: 32852
2007-01-04 00:05:48 +00:00
Reid Spencer
3dda148afd
Test @zext and @sext fully as well as testing the "short" call syntax.
...
llvm-svn: 32851
2007-01-04 00:03:37 +00:00
Reid Spencer
8bd5614a39
Add a test case to test parameter attributes feature.
...
llvm-svn: 32850
2007-01-03 23:54:02 +00:00
Reid Spencer
a7c5e8f679
Update test cases that grepped for register names that have now changed
...
as a result of llvm-upgrade handling collapsed type planes better.
llvm-svn: 32849
2007-01-03 23:47:29 +00:00
Reid Spencer
016eed41fd
Regenerate.
...
llvm-svn: 32848
2007-01-03 23:45:42 +00:00
Reid Spencer
05b5eea728
Implement many new type features including upreferences, proper retention
...
of structure contents, counts of packed and array types, etc.
llvm-svn: 32847
2007-01-03 23:45:17 +00:00
Reid Spencer
82042de44e
Finish implementation of variable renaming to handle collapsed type planes
...
by correctly handling up references and enumerated types. Previously there
was some confusion of these two. Thanks to Chris Lattner for demistifying
llvm up references.
llvm-svn: 32846
2007-01-03 23:43:55 +00:00
Bill Wendling
05f7a367a2
The previous implementation of LLVM Streams wasn't removing symbols. This
...
one should.
llvm-svn: 32845
2007-01-03 22:37:27 +00:00
Reid Spencer
ff102f19c4
Fix a configure warning noticed by Duncan Sands.
...
llvm-svn: 32844
2007-01-03 20:59:52 +00:00
Reid Spencer
f83a0f9a60
Remove the find_rule label from the output of flex. This will break any
...
use of the REJECT macro but we don't use it. This just hushes up a warning
in the presence of -Wno-unused.
llvm-svn: 32843
2007-01-03 19:56:14 +00:00
Chris Lattner
aaafc3d16b
fix testcase. It's not safe to strictly evaluate a load that should be lazy.
...
llvm-svn: 32842
2007-01-03 19:12:31 +00:00
Chris Lattner
a3f7277e2e
Private labels start with .L on linux, not just .
...
llvm-svn: 32841
2007-01-03 18:16:48 +00:00
Reid Spencer
c2da5d3d97
Fix a comment that referred to the now defunct ubyte type.
...
llvm-svn: 32840
2007-01-03 17:24:59 +00:00
Reid Spencer
741b64d1ca
Remove two useless bit casts.
...
llvm-svn: 32839
2007-01-03 17:24:11 +00:00
Reid Spencer
69d4925e03
It is no longer permissible to have undefined types in function parameters.
...
Just fix it by defining the type as opaque.
llvm-svn: 32838
2007-01-03 17:03:48 +00:00
Reid Spencer
68e3839a5c
Fix this test case. It is no longer permissible to have undefined types
...
in function parameters. Fix by just defining the type as opaque.
llvm-svn: 32837
2007-01-03 17:01:18 +00:00
Reid Spencer
20d9040d17
Legalizer doesn't do an ANY_EXTEND if we don't ask for one so make sure
...
that we default to an ANY_EXTEND if no parameter attribute is set on the
result value of a function.
llvm-svn: 32836
2007-01-03 16:49:33 +00:00
Jim Laskey
4308b27af2
NULL names should pass validation.
...
llvm-svn: 32835
2007-01-03 13:46:20 +00:00
Jim Laskey
c0dfc41747
Silence warning.
...
llvm-svn: 32834
2007-01-03 13:36:40 +00:00
Anton Korobeynikov
2b39939053
Really big cleanup.
...
- New target type "mingw" was introduced
- Same things for both mingw & cygwin are marked as "cygming" (as in
gcc)
- .lcomm is supported here, so allow LLVM to use it
- Correctly use underscored versions of setjmp & _longjmp for both mingw
& cygwin
llvm-svn: 32833
2007-01-03 11:43:14 +00:00
Evan Cheng
bc534764ad
A bit more debugging printf's.
...
llvm-svn: 32832
2007-01-03 07:44:30 +00:00
Reid Spencer
87c68ceb32
Restore previous behavior of defaulting to ZEXT. This works around two
...
things: (1) preventing PR1071 and (2) working around missing parameter
attributes for bool type. (2) will be fixed shortly. When PR1071 is fixed,
this patch should be undone.
llvm-svn: 32831
2007-01-03 05:03:05 +00:00
Reid Spencer
92c52fe025
Two changes:
...
1. Switch expression and cases are compared signed and are sign extended.
2. For function results needing extended, do SIGN_EXTEND if the SExtAttribute
is set and ZERO_EXTEND if the ZExtAttribute is set, otherwise just let
the Legalizer do ANY_EXTEND.
This fixes the recent regression in kimwitu++ and probably the llvm-gcc
bootstrap issue we had today.
llvm-svn: 32830
2007-01-03 04:25:33 +00:00
Reid Spencer
206bcb64c1
Clean up from recent changes. Comment the new parameter to ExpandLibCall.
...
Consolidate some lines of code and remove duplication.
llvm-svn: 32829
2007-01-03 04:22:32 +00:00
Reid Spencer
90a468a362
Fix this test cases to use parameter attributes for its parameter and
...
result types. These tests are checking for sext behavior and it won't
happen unless requested with the parameter attribute.
llvm-svn: 32828
2007-01-03 04:20:23 +00:00
Jim Laskey
06f1a4227e
Vectors are not supported by ConstantInt::getAllOnesValue.
...
llvm-svn: 32827
2007-01-03 00:11:03 +00:00
Reid Spencer
b7a2ab6c21
This test case previously passed the assembler without error even though
...
it used an undefined type name as a parameter argument. This bug in the
assembler has been fixed and it is now necessary to define the type.
llvm-svn: 32826
2007-01-02 21:56:26 +00:00
Reid Spencer
dac232ab56
Regenerate.
...
llvm-svn: 32825
2007-01-02 21:54:12 +00:00
Reid Spencer
e2e6789b50
Implement checking for unresolved types in the argument types and result
...
type of function definitions.
This fixes test/Regression/Assember/2007-01-02-Undefined-Arg-Type.ll
llvm-svn: 32824
2007-01-02 21:53:43 +00:00