Chris Lattner
017dde7e2b
fix an over-reduced test.
...
llvm-svn: 60067
2008-11-26 00:12:08 +00:00
Chris Lattner
72db9f8bdd
this doesn't need EH
...
llvm-svn: 60066
2008-11-26 00:03:26 +00:00
Nuno Lopes
821f6d257e
change AnnotationManager to use 'const char*' instead of std::string. this fixes the leakage of those strings and avoids the creation of such strings in static cosntructors (should result in a little improvement of startup time)
...
llvm-svn: 60064
2008-11-26 00:00:44 +00:00
Oscar Fuentes
4588307b06
CMake: llvmc2 is now known as llvmc.
...
llvm-svn: 60052
2008-11-25 22:18:49 +00:00
Mikhail Glushenkov
f9b34b48d8
Add a man page for llvmc. Really basic for now, will be updated later.
...
llvm-svn: 60049
2008-11-25 21:38:38 +00:00
Mikhail Glushenkov
89bfeb825b
Since the old llvmc was removed, rename llvmc2 to llvmc.
...
llvm-svn: 60048
2008-11-25 21:38:12 +00:00
Mikhail Glushenkov
bcf77dcb9a
Make -fsyntax-only, -include and -emit-llvm work for C++ and Objective-C/C++.
...
llvm-svn: 60047
2008-11-25 21:35:20 +00:00
Mikhail Glushenkov
4877183f90
docs: Add author info + fix incorrect code example.
...
llvm-svn: 60046
2008-11-25 21:34:53 +00:00
Mikhail Glushenkov
a1314465ee
Small documentation update.
...
llvm-svn: 60045
2008-11-25 21:34:29 +00:00
Mikhail Glushenkov
3a0ef826d3
Document the plugin priority feature.
...
llvm-svn: 60044
2008-11-25 21:34:01 +00:00
Bill Wendling
75a3f4dc3d
A simplification for checking whether the signs of the operands and sum differ. Thanks, Duncan.
...
llvm-svn: 60043
2008-11-25 19:40:17 +00:00
Evan Cheng
c11d7e324f
convertToSignExtendedInteger should return opInvalidOp instead of asserting if sematics of float does not allow arithmetics.
...
llvm-svn: 60042
2008-11-25 19:00:29 +00:00
Dan Gohman
3b8c028a43
Suppress warnings.
...
llvm-svn: 60041
2008-11-25 18:53:54 +00:00
Chris Lattner
7c6a0d4d86
This method got renamed, thanks to Mattias Holm for pointing this out.
...
llvm-svn: 60039
2008-11-25 18:34:50 +00:00
Scott Michel
59013b297c
CellSPU:
...
(a) Remove conditionally removed code in SelectXAddr. Basically, hope for the
best that the A-form and D-form address predicates catch everything before
the code decides to emit a X-form address.
(b) Expand vector store test cases to include the usual suspects.
llvm-svn: 60034
2008-11-25 17:29:43 +00:00
Nuno Lopes
10311a70cc
add info about how to run the tests with valgrind
...
llvm-svn: 60030
2008-11-25 15:57:52 +00:00
Bill Wendling
65de5c0566
Now with the correct type for the 0.
...
llvm-svn: 60016
2008-11-25 08:19:22 +00:00
Bill Wendling
aa0e224ee4
Get rid of unused variable.
...
llvm-svn: 60015
2008-11-25 08:13:20 +00:00
Bill Wendling
f6dd065808
Hacker's Delight says, "Signed integer overflow of addition occurs if and only
...
if the operands have the same sign and the sum has sign opposite to that of the
operands."
llvm-svn: 60014
2008-11-25 08:12:19 +00:00
Chris Lattner
242f05e503
Teach MatchScaledValue to handle Scales by 1 with MatchAddr (which
...
can recursively match things) and scales by 0 by ignoring them.
This triggers once in 403.gcc, saving 1 (!!!!) instruction in the
whole huge app.
llvm-svn: 60013
2008-11-25 07:25:26 +00:00
Chris Lattner
5e0361dd74
significantly refactor all the addressing mode matching logic
...
into a new AddressingModeMatcher class. This makes it easier
to reason about and reduces passing around of stuff, but has
no functionality change.
llvm-svn: 60012
2008-11-25 07:09:13 +00:00
Chris Lattner
9ed8c8eec9
refactor all the constantexpr/instruction handling code out into a
...
new FindMaximalLegalAddressingModeForOperation helper method.
llvm-svn: 60011
2008-11-25 05:15:49 +00:00
Chris Lattner
587e7c0202
another minor tweak
...
llvm-svn: 60010
2008-11-25 04:47:41 +00:00
Chris Lattner
85da435a15
minor cleanups no functionality change.
...
llvm-svn: 60009
2008-11-25 04:42:10 +00:00
Oscar Fuentes
c87fe528d8
CMake: Documented two cmake variables.
...
llvm-svn: 60008
2008-11-25 04:23:36 +00:00
Scott Michel
cf956c87a7
CellSPU: Relax constraints on when to generate a X-form address, evidently
...
they were too tight according to bug 3126.
Fix bug 3126.
llvm-svn: 60006
2008-11-25 04:03:47 +00:00
Scott Michel
bb575152bc
CellSPU: test should use shlqby, not shlqbyi
...
llvm-svn: 60001
2008-11-25 01:30:37 +00:00
Bill Wendling
c9f3eec3f9
XFAIL this test. A recent CellSPU check-in broke it.
...
llvm-svn: 60000
2008-11-25 00:56:34 +00:00
Dan Gohman
92cedc8a95
Initial support for anti-dependence breaking. Currently this code does not
...
introduce any new spilling; it just uses unused registers.
Refactor the SUnit topological sort code out of the RRList scheduler and
make use of it to help with the post-pass scheduler.
llvm-svn: 59999
2008-11-25 00:52:40 +00:00
Scott Michel
a37c52f255
CellSPU: Fix mnemonic typo in pattern; "shlqbyi" -> "shlqby".
...
llvm-svn: 59998
2008-11-25 00:23:16 +00:00
Bill Wendling
cb92038dbd
Testcase for constant CFStrings.
...
llvm-svn: 59992
2008-11-24 23:28:09 +00:00
Chris Lattner
2f8129238b
rearrange and tidy some code, no functionality change.
...
llvm-svn: 59990
2008-11-24 22:44:16 +00:00
Chris Lattner
9b5c9d8b0b
minor cleanups to debug code, no functionality change.
...
llvm-svn: 59989
2008-11-24 22:40:05 +00:00
Chris Lattner
a07ad05059
reenable test
...
llvm-svn: 59986
2008-11-24 21:27:20 +00:00
Chris Lattner
9f34dba0e4
reenable the right part of the code.
...
llvm-svn: 59985
2008-11-24 21:26:21 +00:00
Bill Wendling
36ee715e71
Temporarily XFAIL this test. r59976 and r59972 broke it.
...
llvm-svn: 59981
2008-11-24 20:43:33 +00:00
Dan Gohman
07c5a496e4
Move the scheduler constructor functions to SchedulerRegistry.h, to
...
simplify header dependencies for front-ends that just want to choose
a scheduler and don't need all the scheduling machinery declarations.
llvm-svn: 59978
2008-11-24 19:53:21 +00:00
Dan Gohman
f084381b98
Fix an unused-parameter warning.
...
llvm-svn: 59977
2008-11-24 19:51:59 +00:00
Chris Lattner
561b0adda9
revert an accidental commit, this fixes the regression on test/CodeGen/X86/isel-sink.ll
...
llvm-svn: 59976
2008-11-24 19:40:34 +00:00
Chris Lattner
e5bf93e61f
Fix 3113: If we have a dead cyclic PHI, replace the whole thing
...
with an undef.
llvm-svn: 59972
2008-11-24 19:25:36 +00:00
Bill Wendling
0560ba7668
- Make lowering of "add with overflow" customizable by back-ends.
...
- Mark "add with overflow" as having a custom lowering for X86. Give it a null
lowering representation for now.
llvm-svn: 59971
2008-11-24 19:21:46 +00:00
Scott Michel
259a64c097
CellSPU:
...
(a) Slight rethink on i64 zero/sign/any extend code - use a shuffle to
directly zero-extend i32 to i64, but use rotates and shifts for
sign extension. Also ensure unified register consistency.
(b) Add new test harness for i64 operations: i64ops.ll
llvm-svn: 59970
2008-11-24 18:20:46 +00:00
Dan Gohman
bacca559dd
Check in the rest of this change. The isAntiDep flag needs to be passed
...
to removePred because an SUnit can both data-depend and anti-depend
on the same SUnit.
llvm-svn: 59969
2008-11-24 17:33:52 +00:00
Dan Gohman
6dcf3a7c22
Pass the isAntiDep argument.
...
llvm-svn: 59968
2008-11-24 17:24:27 +00:00
Dan Gohman
dcc6608aa6
Run post-RA scheduling after branch folding, as it tends to
...
obscure tail-merging opportunities.
llvm-svn: 59967
2008-11-24 17:22:52 +00:00
Dan Gohman
83971772a6
Fix a few HTML tidiness issues.
...
llvm-svn: 59966
2008-11-24 17:18:39 +00:00
Scott Michel
c3965308a4
CellSPU:
...
(a) Improve the extract element code: there's no need to do gymnastics with
rotates into the preferred slot if a shuffle will do the same thing.
(b) Rename a couple of SPUISD pseudo-instructions for readability and better
semantic correspondence.
(c) Fix i64 sign/any/zero extension lowering.
llvm-svn: 59965
2008-11-24 17:11:17 +00:00
Dan Gohman
66dc0a5cbe
Delete some spurious characters.
...
llvm-svn: 59964
2008-11-24 16:45:15 +00:00
Dan Gohman
386810ca94
Fix some "</p>"s.
...
llvm-svn: 59963
2008-11-24 16:35:31 +00:00
Dan Gohman
d7f821e645
Some documentation for LegalizeTypes.
...
llvm-svn: 59962
2008-11-24 16:27:17 +00:00