Chris Lattner
|
f49c27c65c
|
Squelch optimized warning.
llvm-svn: 19475
|
2005-01-11 17:46:49 +00:00 |
Chris Lattner
|
85d70c6fd5
|
Teach legalize to lower MEMSET/MEMCPY/MEMMOVE operations if the target
does not support them.
llvm-svn: 19465
|
2005-01-11 05:57:22 +00:00 |
Chris Lattner
|
be02d430a9
|
Lower to the correct functions. This fixes FreeBench/fourinarow
llvm-svn: 19436
|
2005-01-10 21:02:37 +00:00 |
Chris Lattner
|
9242c504da
|
Fix a bug legalizing call instructions (make sure to remember all result
values), and eliminate some switch statements.
llvm-svn: 19417
|
2005-01-09 19:43:23 +00:00 |
Chris Lattner
|
02f5ce2077
|
Fix a minor bug legalizing dynamic_stackalloc. This allows us to compile
std::__pad<wchar_t, std::char_traits<wchar_t> >::_S_pad(std::ios_base&, wchar_t, wchar_t*, wchar_t const*, int, int, bool)
from libstdc++
llvm-svn: 19416
|
2005-01-09 19:07:54 +00:00 |
Chris Lattner
|
ec26b48d61
|
Teach legalize to deal with DYNAMIC_STACKALLOC (aka a dynamic llvm alloca)
llvm-svn: 19415
|
2005-01-09 19:03:49 +00:00 |
Chris Lattner
|
c0f31c5e96
|
Tighten up assertions.
llvm-svn: 19397
|
2005-01-08 20:35:13 +00:00 |
Chris Lattner
|
d006195517
|
Silence VS warnings.
llvm-svn: 19384
|
2005-01-08 19:52:31 +00:00 |
Chris Lattner
|
7e6eeba6c5
|
Implement handling of most long operators through libcalls.
Fix a bug legalizing "ret (Val,Val)"
llvm-svn: 19375
|
2005-01-08 19:27:05 +00:00 |
Chris Lattner
|
2a6db3c351
|
Add support for FP->INT conversions and back.
llvm-svn: 19369
|
2005-01-08 08:08:56 +00:00 |
Chris Lattner
|
e69daaf71d
|
Implement the 'store FPIMM, Ptr' -> 'store INTIMM, Ptr' optimization for
all targets.
llvm-svn: 19366
|
2005-01-08 06:25:56 +00:00 |
Chris Lattner
|
a65a2f0c36
|
Add support for truncating integer casts from long.
llvm-svn: 19358
|
2005-01-07 22:37:48 +00:00 |
Chris Lattner
|
ea4ca94cae
|
Fix a bug in load expansion legalization and ret legalization. This fixes
CodeGen/Generic/select.ll:castconst.
llvm-svn: 19357
|
2005-01-07 22:28:47 +00:00 |
Chris Lattner
|
68a12140c0
|
Legalize unconditional branches too
llvm-svn: 19356
|
2005-01-07 22:12:08 +00:00 |
Chris Lattner
|
19a83990e1
|
Implement support for long GEP indices on 32-bit archs and support for
int GEP indices on 64-bit archs.
llvm-svn: 19354
|
2005-01-07 21:56:57 +00:00 |
Chris Lattner
|
32f20bfa93
|
implement legalization of a bunch more operators.
llvm-svn: 19352
|
2005-01-07 21:45:56 +00:00 |
Chris Lattner
|
fa854eb012
|
Fix another bug legalizing calls!
llvm-svn: 19350
|
2005-01-07 21:35:32 +00:00 |
Chris Lattner
|
f025d6788c
|
Fix a bug legalizing calls
llvm-svn: 19348
|
2005-01-07 21:34:13 +00:00 |
Chris Lattner
|
473825ccec
|
After legalizing a DAG, delete dead nodes to save space.
llvm-svn: 19346
|
2005-01-07 21:09:37 +00:00 |
Chris Lattner
|
ec3fe7c4a8
|
Teach legalize how to handle condbranches
llvm-svn: 19339
|
2005-01-07 08:19:42 +00:00 |
Chris Lattner
|
dc75059005
|
Initial implementation of the DAG legalization. This still has a long way
to go, but it does work for some non-trivial cases now.
llvm-svn: 19329
|
2005-01-07 07:47:09 +00:00 |