Commit Graph

48635 Commits

Author SHA1 Message Date
Daniel Dunbar cbdf409c2c Add serialization support in several missing places.
llvm-svn: 57502
2008-10-14 16:57:09 +00:00
Daniel Dunbar d5420e3bef Move Type::EmitImpl into header, add FIXME to make abstract.
llvm-svn: 57501
2008-10-14 16:55:17 +00:00
Dan Gohman ef9462f67c Fix missing end tags and invalid HTML entity syntax.
llvm-svn: 57500
2008-10-14 16:51:45 +00:00
Daniel Dunbar eee51d125f Fix typo in testcase.
llvm-svn: 57499
2008-10-14 16:46:03 +00:00
Dan Gohman 93bf60d4cb Add a missing close-tag.
llvm-svn: 57497
2008-10-14 16:32:04 +00:00
Dan Gohman ad888911c0 Fix a few close tags.
llvm-svn: 57496
2008-10-14 16:23:02 +00:00
Dan Gohman f4a169f201 Fix a typo.
llvm-svn: 57495
2008-10-14 16:13:59 +00:00
Dan Gohman 765edbc4e4 Add a brief mention of the new free-list management code.
llvm-svn: 57490
2008-10-14 15:14:55 +00:00
Gabor Greif 20564a05b9 minor corrections, improved formatting
llvm-svn: 57486
2008-10-14 11:31:14 +00:00
Gabor Greif 355f81cd16 typo and formatting tweaks
llvm-svn: 57485
2008-10-14 11:00:32 +00:00
Nuno Lopes a67f06b9c7 little optimization: reuse getPointerToGlobalIfAvailable(CGV) value in emitGlobals()
llvm-svn: 57484
2008-10-14 10:04:52 +00:00
Duncan Sands 6e9c3cbe30 Mention the different constant folders that IRBuilder
can use.

llvm-svn: 57483
2008-10-14 07:06:37 +00:00
Chris Lattner acc2eb484b new testcase for PR2797
llvm-svn: 57481
2008-10-14 06:56:04 +00:00
Chris Lattner 6f21daaec1 add some upgrading notes from Pekka.
llvm-svn: 57480
2008-10-14 06:37:11 +00:00
Chris Lattner 3211159cab add a testcase.
llvm-svn: 57479
2008-10-14 06:32:07 +00:00
Chris Lattner 0597229d3e add LSR and frameaddress info.
llvm-svn: 57478
2008-10-14 06:02:29 +00:00
Daniel Dunbar 1be9f88a2f Fix test suite regression, getFloatTypeSemantics shouldn't be called
on non-float types.

llvm-svn: 57477
2008-10-14 05:41:12 +00:00
Daniel Dunbar 5460374cd9 Add Sema implementation of #pragma pack stack.
- Follows the MSVC (original) implementation, including support of
   pack(show) (useful for testing).
 - Implements support for named pack records which gcc seems to
   ignore (or implements incorrectly).
 - Not currently wired to anything, only functionality change is the
   type checking of the pragma.

llvm-svn: 57476
2008-10-14 05:35:18 +00:00
Ted Kremenek 3db01846db Add static analyzer notes.
llvm-svn: 57475
2008-10-14 05:14:21 +00:00
Daniel Dunbar 654976ff1e Remove stale src, core directories.
llvm-svn: 57473
2008-10-14 03:56:55 +00:00
Chris Lattner bcffa5af89 more minor updates
llvm-svn: 57472
2008-10-14 00:52:49 +00:00
Chris Lattner 934e2d4939 more changes.
llvm-svn: 57470
2008-10-13 22:06:31 +00:00
Chris Lattner 25879d7d82 optimizer and codegen
llvm-svn: 57468
2008-10-13 21:50:36 +00:00
Ted Kremenek d323ccd29c Use 'realpath' to resolve the absolute path to clang and ccc-analyzer.
Add "-analyze-headers" option to scan-build that passes the option -analyzer-opt-analyze-headers to clang.

llvm-svn: 57467
2008-10-13 21:46:42 +00:00
Chris Lattner 0327f0bc91 more updates.
llvm-svn: 57466
2008-10-13 20:59:32 +00:00
Dan Gohman 56b6885104 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 591ef273e3 describe major new features and llvm-gcc features.
llvm-svn: 57463
2008-10-13 20:47:20 +00:00
Duncan Sands 1db4fbdfbe 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 da9b752883 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 8547c2d56f MarkModRef -> AddReadAttrs.
llvm-svn: 57459
2008-10-13 18:42:43 +00:00
Evan Cheng 4c499c4fa6 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 b34d5906b8 Add some llvm-gcc changes that may be worth
detailing.

llvm-svn: 57457
2008-10-13 18:33:28 +00:00
Evan Cheng 762f0f53ec Add a test case for _Complex passed as a FCA.
llvm-svn: 57456
2008-10-13 18:13:07 +00:00
Chris Lattner 44c09cd164 give the static analyzer its own section.
llvm-svn: 57455
2008-10-13 18:11:54 +00:00
Chris Lattner f5cd98683e more rearranging.
llvm-svn: 57453
2008-10-13 18:01:01 +00:00
Chris Lattner 1e4d5bc071 move major changes down.
llvm-svn: 57452
2008-10-13 17:57:36 +00:00
Duncan Sands 719f778de5 Fix typo. Add note on trampoline support.
llvm-svn: 57450
2008-10-13 17:32:15 +00:00
Evan Cheng be688ffced Clarify meaning of copyRegToReg's return value.
llvm-svn: 57449
2008-10-13 17:30:56 +00:00
Duncan Sands aef747fc53 Update the Ada part.
llvm-svn: 57447
2008-10-13 17:27:23 +00:00
Chris Lattner 3fc6e59083 final note.
llvm-svn: 57446
2008-10-13 17:12:51 +00:00
Daniel Dunbar d9eff3d4e4 Lift out ABIInfo abstract base class.
- Currently still lives in CGCall.cpp but is intended to be the
   target specific place for hooking ABI information.
 - Select ABIInfo to use based on Target's prefix and pointer width.

llvm-svn: 57445
2008-10-13 17:02:26 +00:00
Chris Lattner 0ae020952b fix some crazily long lines.
llvm-svn: 57444
2008-10-13 16:55:18 +00:00
Matthijs Kooijman f7d3cb5435 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 0e2682781c 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 43686a6665 * 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 c8d7988da8 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 35e1387ac6 fix typo's
llvm-svn: 57435
2008-10-13 10:28:12 +00:00
Gabor Greif da83472fa6 remove a deprecated internal interface
llvm-svn: 57434
2008-10-13 10:25:27 +00:00
Gabor Greif cf1d1b7fbc do not use deprecated interfaces
llvm-svn: 57433
2008-10-13 10:21:17 +00:00
Gabor Greif dae874ced9 ignore the standard output dirs
llvm-svn: 57432
2008-10-13 09:38:08 +00:00