Evan Cheng
|
7f90017389
|
Test case for fp logical instructions.
llvm-svn: 56474
|
2008-09-22 22:19:34 +00:00 |
|
Owen Anderson
|
67df9bc5b8
|
Significant improvements to the logic for merging live intervals. This code can't
just use LI::MergeValueAsValue, as its behavior in the presence of overlapping ranges
isn't what StrongPHIElimination wants.
llvm-svn: 56472
|
2008-09-22 21:58:58 +00:00 |
|
Dale Johannesen
|
3722f4c14c
|
Make log, log2, log10, exp, exp2 use Expand by
default.
llvm-svn: 56471
|
2008-09-22 21:57:32 +00:00 |
|
Evan Cheng
|
3bcf0cdd72
|
Mark several codegen passes as preserving all analysis.
llvm-svn: 56469
|
2008-09-22 20:58:04 +00:00 |
|
Dale Johannesen
|
375ba5ee63
|
More refactoring. Yawn.
llvm-svn: 56468
|
2008-09-22 20:51:30 +00:00 |
|
Mikhail Glushenkov
|
b34f7a3c40
|
Convert llvmc2 plugins to use llvm/Support/Registry.h machinery.
llvm-svn: 56467
|
2008-09-22 20:51:19 +00:00 |
|
Mikhail Glushenkov
|
cf04ed88af
|
Move llvmc2 header files under include/llvm/CompilerDriver
llvm-svn: 56466
|
2008-09-22 20:50:40 +00:00 |
|
Mikhail Glushenkov
|
3895eee874
|
Plugin support for llvmc2 (a-la opt).
llvm-svn: 56465
|
2008-09-22 20:49:34 +00:00 |
|
Mikhail Glushenkov
|
9526cb9083
|
Add a 'Debugging' section to the documentation.
llvm-svn: 56464
|
2008-09-22 20:48:48 +00:00 |
|
Mikhail Glushenkov
|
e412a69526
|
Make comments a little bit more clear.
llvm-svn: 56463
|
2008-09-22 20:48:22 +00:00 |
|
Mikhail Glushenkov
|
72e4c4e976
|
Get rid of GlobalLanguageMap. Global state is evil.
llvm-svn: 56462
|
2008-09-22 20:47:46 +00:00 |
|
Mikhail Glushenkov
|
0bc434886d
|
Rename our version of ccc to ccc2
llvm-svn: 56461
|
2008-09-22 20:47:09 +00:00 |
|
Mikhail Glushenkov
|
efc58306e4
|
Fix some comments
llvm-svn: 56460
|
2008-09-22 20:46:44 +00:00 |
|
Mikhail Glushenkov
|
7afbd753b7
|
Add a (forward_as) option property
llvm-svn: 56459
|
2008-09-22 20:46:19 +00:00 |
|
Mikhail Glushenkov
|
54297e6546
|
Delete the file llvmc2/doc/LLVMC-Enhancements.rst + some minor language/spelling fixes.
llvm-svn: 56458
|
2008-09-22 20:45:17 +00:00 |
|
Dale Johannesen
|
a28dd108a4
|
Refactor FP intrinisic setup. Per review feedback.
llvm-svn: 56456
|
2008-09-22 19:51:58 +00:00 |
|
Oscar Fuentes
|
e51d9c0c3a
|
CMake build system: support for parallel builds.
llvm-svn: 56453
|
2008-09-22 18:21:51 +00:00 |
|
Evan Cheng
|
638ae1be58
|
Per review feedback: Only perform
(srl x, (trunc (and y, c))) -> (srl x, (and (trunc y), c))
etc. when both "trunc" and "and" have single uses.
llvm-svn: 56452
|
2008-09-22 18:19:24 +00:00 |
|
Arnold Schwaighofer
|
49f49e2086
|
Change the calling convention used when tail call optimization is enabled from CC_X86_32_TailCall to CC_X86_32_FastCC.
llvm-svn: 56436
|
2008-09-22 14:50:07 +00:00 |
|
Rafael Espindola
|
efe64e5f1e
|
Add bound checks in SmallVector
llvm-svn: 56432
|
2008-09-22 10:06:26 +00:00 |
|
Oscar Fuentes
|
d1fdff199f
|
add_partially_linked_object: Replaced nonexistent MESSAGE option in
add_custom_command with COMMENT. It was forcing unconditional command
execution.
llvm-svn: 56425
|
2008-09-22 02:33:43 +00:00 |
|
Oscar Fuentes
|
0f25988689
|
Initial support for the CMake build system.
llvm-svn: 56419
|
2008-09-22 01:08:49 +00:00 |
|
Bill Wendling
|
3ee08ff81e
|
Add helper function to get a 32-bit floating point constant. No functionality change.
llvm-svn: 56418
|
2008-09-22 00:44:35 +00:00 |
|
Chris Lattner
|
2e3521d5e6
|
explain what earlyclobber actually is.
llvm-svn: 56415
|
2008-09-21 23:30:17 +00:00 |
|
Chris Lattner
|
6e5b4c609c
|
Fold immediates into X86 shifts with fast isel. This generates:
sarl $3, %ecx
instead of:
movl $3, %ecx
sarl %cl, %edx
This shrinks fast isel 176.gcc by about 2000 instructions (.3%)
llvm-svn: 56413
|
2008-09-21 21:44:29 +00:00 |
|
Dan Gohman
|
98a22f8a8f
|
Factor out code into HandleVirtRegDef, for consistency with
Handle{Virt,Phys}Reg{Def,Use}. Remove a redundant check
for register zero, and redundant checks for isPhysicalRegister.
llvm-svn: 56412
|
2008-09-21 21:11:41 +00:00 |
|
Dan Gohman
|
c8477ceabe
|
Instead of building a list and sorting it just to find a maximum element,
compute the maximum element directly.
llvm-svn: 56411
|
2008-09-21 21:01:49 +00:00 |
|
Owen Anderson
|
981113c401
|
Fetch the starting index of the block when assigning intervals. This gets live-in indices
correct in the presence of things like EH labels.
llvm-svn: 56410
|
2008-09-21 20:43:24 +00:00 |
|
Chris Lattner
|
01cab96cba
|
don't print GlobalAddressSDNode's with an offset of zero as "foo0".
llvm-svn: 56399
|
2008-09-21 18:38:31 +00:00 |
|
Chris Lattner
|
c018045520
|
add a note
llvm-svn: 56391
|
2008-09-20 19:17:53 +00:00 |
|
Cedric Venet
|
68f5000738
|
Update VS projects.
Change some class to struct for coherency.
llvm-svn: 56389
|
2008-09-20 18:02:18 +00:00 |
|
Dale Johannesen
|
baa4420dc2
|
Shorten and rearrange data fields to save a word of memory.
Per review feedback.
llvm-svn: 56388
|
2008-09-20 17:45:21 +00:00 |
|
Duncan Sands
|
38b44d2a40
|
Implement review feedback from Devang: make use
of mayReadFromMemory and mayWriteToMemory.
llvm-svn: 56387
|
2008-09-20 16:45:58 +00:00 |
|
Dale Johannesen
|
4a0054dc9a
|
Teach coalescer about earlyclobber bits.
Check bits for preferred register.
llvm-svn: 56384
|
2008-09-20 02:03:04 +00:00 |
|
Evan Cheng
|
270178bdda
|
Fix PR2808. When regalloc runs out of register, it spill a physical register around the live interval being allocated. Do not continue to try to spill another register, just grab the physical register and move on.
llvm-svn: 56381
|
2008-09-20 01:28:05 +00:00 |
|
Evan Cheng
|
c01e6c2f59
|
Clean up the test.
llvm-svn: 56380
|
2008-09-20 01:26:27 +00:00 |
|
Evan Cheng
|
6a86ec1ef0
|
No need to print function stubs for Mac OS X 10.5 and up. Linker will handle it.
llvm-svn: 56378
|
2008-09-20 00:13:45 +00:00 |
|
Evan Cheng
|
7bcd8409b7
|
80 column violation.
llvm-svn: 56377
|
2008-09-20 00:13:08 +00:00 |
|
Dan Gohman
|
af1eeb6421
|
Fix a FastISel GlobalVariable CSE bug.
llvm-svn: 56376
|
2008-09-19 23:42:04 +00:00 |
|
Evan Cheng
|
23e36297d6
|
Continue after removing the current MI.
llvm-svn: 56372
|
2008-09-19 22:49:39 +00:00 |
|
Dan Gohman
|
f66b3277d3
|
Refactor X86SelectConstAddr, folding it into X86SelectAddress. This
results in better code for globals. Also, unbreak the local CSE for
GlobalValue stub loads.
llvm-svn: 56371
|
2008-09-19 22:16:54 +00:00 |
|
Dale Johannesen
|
312df3aa6d
|
Make earlyclobber stuff work when virtual regs
have previously been assigned conflicting physreg.
llvm-svn: 56364
|
2008-09-19 18:52:31 +00:00 |
|
Bill Wendling
|
505ec388e2
|
Prevent warning about conversion from 64-bit to 32-bit by (yuck) casting...
llvm-svn: 56359
|
2008-09-19 18:34:40 +00:00 |
|
Dan Gohman
|
192b12c522
|
Now that ConstantSDNode doesn't hold an APInt,
use ARG_FLAGSSDNode as the most aligned node type,
as it contains an int64_t, which is 8-byte
aligned on mingw.
llvm-svn: 56358
|
2008-09-19 18:09:19 +00:00 |
|
Ted Kremenek
|
543bdab683
|
Added static methods to APSInt: getMinValue and getMaxValue.
llvm-svn: 56355
|
2008-09-19 18:01:14 +00:00 |
|
Evan Cheng
|
14493ffe78
|
Re-materalized definition instructions may be dead. Whack them.
llvm-svn: 56352
|
2008-09-19 17:38:47 +00:00 |
|
Gabor Greif
|
984ba5a313
|
backing out my last commit, it was not intended to go on the trunk
llvm-svn: 56349
|
2008-09-19 15:13:20 +00:00 |
|
Gabor Greif
|
67fa076542
|
first shot at removing Use::Val
untested, Use::swap() is definitely not done yet
llvm-svn: 56348
|
2008-09-19 15:03:57 +00:00 |
|
Duncan Sands
|
317cef874d
|
Turn on the AddReadAttrs pass.
llvm-svn: 56345
|
2008-09-19 14:34:36 +00:00 |
|
Duncan Sands
|
df9829409c
|
Add test for improvement of readonly to readnone,
and non-demotion of readnone to readonly.
llvm-svn: 56344
|
2008-09-19 09:20:05 +00:00 |
|