Nuno Lopes
08a1a82acc
little optimization: reuse getPointerToGlobalIfAvailable(CGV) value in emitGlobals()
...
llvm-svn: 57484
2008-10-14 10:04:52 +00:00
Duncan Sands
8fe4eac94c
Mention the different constant folders that IRBuilder
...
can use.
llvm-svn: 57483
2008-10-14 07:06:37 +00:00
Chris Lattner
5d6b61c4c8
new testcase for PR2797
...
llvm-svn: 57481
2008-10-14 06:56:04 +00:00
Chris Lattner
62d852d53a
add some upgrading notes from Pekka.
...
llvm-svn: 57480
2008-10-14 06:37:11 +00:00
Chris Lattner
9e1db7e761
add LSR and frameaddress info.
...
llvm-svn: 57478
2008-10-14 06:02:29 +00:00
Ted Kremenek
158e2c546d
Add static analyzer notes.
...
llvm-svn: 57475
2008-10-14 05:14:21 +00:00
Chris Lattner
222e130ee3
more minor updates
...
llvm-svn: 57472
2008-10-14 00:52:49 +00:00
Chris Lattner
f7e94f363f
more changes.
...
llvm-svn: 57470
2008-10-13 22:06:31 +00:00
Chris Lattner
27789db2ca
optimizer and codegen
...
llvm-svn: 57468
2008-10-13 21:50:36 +00:00
Chris Lattner
5aa4dedd28
more updates.
...
llvm-svn: 57466
2008-10-13 20:59:32 +00:00
Dan Gohman
e08e0dcfcc
When doing the very-late shift-and address-mode optimization,
...
create a new DAG node to represent the new shift to keep the
DAG consistent, even though it'll almost always be folded into
the address.
If a user of the resulting address has multiple uses, the
nodes may get revisited by a later MatchAddress call, in which
case DAG inconsistencies do matter.
This fixes PR2849.
llvm-svn: 57465
2008-10-13 20:52:04 +00:00
Chris Lattner
ba8f9fff79
describe major new features and llvm-gcc features.
...
llvm-svn: 57463
2008-10-13 20:47:20 +00:00
Duncan Sands
a119167d74
Don't barf on 32 bit platforms if llvm-gcc is
...
not built with 64 bit support. Since this test
passes without -m64 on x86-32-linux, just remove
the -m64.
llvm-svn: 57462
2008-10-13 19:56:36 +00:00
Evan Cheng
de99d94c58
FIX PR2794. Make sure SIGN_EXTEND_INREG nodes introduced by LegalizeSetCCOperands are leglized. Patch by Richard Pennington.
...
llvm-svn: 57460
2008-10-13 18:46:18 +00:00
Duncan Sands
3040939c64
MarkModRef -> AddReadAttrs.
...
llvm-svn: 57459
2008-10-13 18:42:43 +00:00
Evan Cheng
731f400eac
Also update sub-register intervals after a trivial computation is rematt'ed for a copy instruction. PR2775.
...
llvm-svn: 57458
2008-10-13 18:35:52 +00:00
Duncan Sands
4229c0774f
Add some llvm-gcc changes that may be worth
...
detailing.
llvm-svn: 57457
2008-10-13 18:33:28 +00:00
Evan Cheng
023b124109
Add a test case for _Complex passed as a FCA.
...
llvm-svn: 57456
2008-10-13 18:13:07 +00:00
Chris Lattner
16dcbb1369
give the static analyzer its own section.
...
llvm-svn: 57455
2008-10-13 18:11:54 +00:00
Chris Lattner
c842574c62
more rearranging.
...
llvm-svn: 57453
2008-10-13 18:01:01 +00:00
Chris Lattner
8b69de4186
move major changes down.
...
llvm-svn: 57452
2008-10-13 17:57:36 +00:00
Duncan Sands
b2532b4e00
Fix typo. Add note on trampoline support.
...
llvm-svn: 57450
2008-10-13 17:32:15 +00:00
Evan Cheng
a056deb8b1
Clarify meaning of copyRegToReg's return value.
...
llvm-svn: 57449
2008-10-13 17:30:56 +00:00
Duncan Sands
13eb8e7bcd
Update the Ada part.
...
llvm-svn: 57447
2008-10-13 17:27:23 +00:00
Chris Lattner
bfa49da29b
final note.
...
llvm-svn: 57446
2008-10-13 17:12:51 +00:00
Chris Lattner
5dffd42d1b
fix some crazily long lines.
...
llvm-svn: 57444
2008-10-13 16:55:18 +00:00
Matthijs Kooijman
b86d48c717
Make InstructionCombining::getBitCastOperand() recognize GEP instructions and
...
constant expression with all zero indices as being the same as a bitcast.
llvm-svn: 57442
2008-10-13 15:17:01 +00:00
Matthijs Kooijman
5d8f1a58b3
Improve the description on the getelementptr instruction. It should now better
...
define what the instruction does. This also makes it clear that getelementptr
can index into a vector type.
llvm-svn: 57440
2008-10-13 13:44:15 +00:00
Matthijs Kooijman
1ea1008e1f
* Make TargetLowering not crash when TargetMachine::getTargetAsmInfo() returns
...
null. This assumes that any target that does not have AsmInfo, does not
support "LocAndDot".
llvm-svn: 57438
2008-10-13 12:41:46 +00:00
Matthijs Kooijman
28ae70be64
Make MachineFunction not crash when TargetMachine::getRegisterInfo() returns
...
NULL, but just hide some debug output then.
llvm-svn: 57437
2008-10-13 12:37:16 +00:00
Gabor Greif
86742bf679
fix typo's
...
llvm-svn: 57435
2008-10-13 10:28:12 +00:00
Gabor Greif
d9cedf70c7
remove a deprecated internal interface
...
llvm-svn: 57434
2008-10-13 10:25:27 +00:00
Gabor Greif
5f75f1372e
do not use deprecated interfaces
...
llvm-svn: 57433
2008-10-13 10:21:17 +00:00
Nick Lewycky
ed4cd79ffc
Disallow the construction of SCEVs with could-not-compute operands. Catch CNCs
...
returned by BinomialCoefficient and don't try to operate with them. This
replaces the previous fix for PR2857.
llvm-svn: 57431
2008-10-13 03:58:02 +00:00
Mikhail Glushenkov
368e89a378
Add whitespace before a parenthesis.
...
llvm-svn: 57430
2008-10-13 02:46:01 +00:00
Mikhail Glushenkov
2f42d3fe46
Add a note on llvmc2 plugins + remove some trailing whitespace (my Emacs does this automatically).
...
llvm-svn: 57429
2008-10-13 02:08:34 +00:00
Chris Lattner
16c0109fd4
calls can be supported.
...
llvm-svn: 57428
2008-10-13 01:59:13 +00:00
Chris Lattner
6fb7bbb4a7
more notes
...
llvm-svn: 57427
2008-10-12 22:57:58 +00:00
Dale Johannesen
7fbfe2a371
Change TAG_ names to DW_TAG for gcc (testsuite) compatibility.
...
llvm-svn: 57425
2008-10-12 21:23:01 +00:00
Owen Anderson
dbb4904467
Fix a bug in live-in detection that caused lost-copy problems to show up.
...
llvm-svn: 57424
2008-10-12 20:39:30 +00:00
Chris Lattner
2e4842efdd
add some more notes
...
llvm-svn: 57423
2008-10-12 19:47:48 +00:00
Chris Lattner
7e58510a50
this was to be removed after 2.4 branched.
...
llvm-svn: 57422
2008-10-12 18:57:09 +00:00
Dale Johannesen
123ca42f2c
Remove "long" variants so these will pass on a 64-bit host.
...
llvm-svn: 57418
2008-10-12 18:40:49 +00:00
Chris Lattner
f5f57888f4
add some notes
...
llvm-svn: 57416
2008-10-12 18:30:33 +00:00
Anton Korobeynikov
6204f4ac43
Update size of inst correctly with segment override.
...
llvm-svn: 57414
2008-10-12 10:30:11 +00:00
Owen Anderson
fe70fff286
Add special-case code to allow null-guards on calls to malloc.
...
llvm-svn: 57413
2008-10-12 08:10:46 +00:00
Owen Anderson
86d9a902dc
Make Escape Analysis work for any pointer.
...
llvm-svn: 57412
2008-10-12 07:33:29 +00:00
Owen Anderson
ec151a1875
Add EscapeAnalysis.
...
llvm-svn: 57411
2008-10-12 06:49:21 +00:00
Dale Johannesen
2d23786266
Change Dwarf comments starting with AT_ to DW_AT_ to
...
match gcc. Helps with the testsuite.
llvm-svn: 57410
2008-10-12 06:20:47 +00:00
Owen Anderson
9b86d152be
Fix crashes and infinite loops.
...
llvm-svn: 57408
2008-10-12 06:03:38 +00:00