Commit Graph

42094 Commits

Author SHA1 Message Date
Gabor Greif
fa933f8384 typo and formatting tweaks
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57485 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-14 11:00:32 +00:00
Nuno Lopes
c8ed902298 little optimization: reuse getPointerToGlobalIfAvailable(CGV) value in emitGlobals()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57484 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-14 10:04:52 +00:00
Duncan Sands
9ba2379906 Mention the different constant folders that IRBuilder
can use.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57483 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-14 07:06:37 +00:00
Chris Lattner
022f735c4d new testcase for PR2797
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57481 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-14 06:56:04 +00:00
Chris Lattner
f1796b6223 add some upgrading notes from Pekka.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57480 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-14 06:37:11 +00:00
Chris Lattner
c702d16f53 add LSR and frameaddress info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57478 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-14 06:02:29 +00:00
Ted Kremenek
3c3ec0c25d Add static analyzer notes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57475 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-14 05:14:21 +00:00
Daniel Dunbar
f6e920919b Remove stale src, core directories.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57473 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-14 03:56:55 +00:00
Chris Lattner
cc0426123d more minor updates
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57472 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-14 00:52:49 +00:00
Chris Lattner
eeb4da0f69 more changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57470 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 22:06:31 +00:00
Chris Lattner
f301387a36 optimizer and codegen
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57468 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 21:50:36 +00:00
Chris Lattner
7752d1ac04 more updates.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57466 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 20:59:32 +00:00
Dan Gohman
7b8e96401c 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57465 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 20:52:04 +00:00
Chris Lattner
b82eb06faf describe major new features and llvm-gcc features.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57463 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 20:47:20 +00:00
Duncan Sands
d939f4a347 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57462 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 19:56:36 +00:00
Evan Cheng
efa533957d FIX PR2794. Make sure SIGN_EXTEND_INREG nodes introduced by LegalizeSetCCOperands are leglized. Patch by Richard Pennington.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57460 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 18:46:18 +00:00
Duncan Sands
1050d7371d MarkModRef -> AddReadAttrs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57459 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 18:42:43 +00:00
Evan Cheng
195cd3a58d Also update sub-register intervals after a trivial computation is rematt'ed for a copy instruction. PR2775.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57458 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 18:35:52 +00:00
Duncan Sands
bf8c4f2c6e Add some llvm-gcc changes that may be worth
detailing.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57457 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 18:33:28 +00:00
Evan Cheng
09fd418106 Add a test case for _Complex passed as a FCA.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57456 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 18:13:07 +00:00
Chris Lattner
fb97b2dd34 give the static analyzer its own section.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57455 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 18:11:54 +00:00
Chris Lattner
96a445e3cb more rearranging.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57453 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 18:01:01 +00:00
Chris Lattner
f6662f9a82 move major changes down.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57452 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 17:57:36 +00:00
Duncan Sands
bbf379a0f3 Fix typo. Add note on trampoline support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57450 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 17:32:15 +00:00
Evan Cheng
a6548d0f29 Clarify meaning of copyRegToReg's return value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57449 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 17:30:56 +00:00
Duncan Sands
978bceebb2 Update the Ada part.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57447 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 17:27:23 +00:00
Chris Lattner
59b5ce4c63 final note.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57446 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 17:12:51 +00:00
Chris Lattner
50ad45c2fb fix some crazily long lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57444 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 16:55:18 +00:00
Matthijs Kooijman
7e6d9b96ad Make InstructionCombining::getBitCastOperand() recognize GEP instructions and
constant expression with all zero indices as being the same as a bitcast.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57442 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 15:17:01 +00:00
Matthijs Kooijman
e49d0bc946 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57440 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 13:44:15 +00:00
Matthijs Kooijman
d9d07780ff * Make TargetLowering not crash when TargetMachine::getTargetAsmInfo() returns
null. This assumes that any target that does not have AsmInfo, does not
   support "LocAndDot".


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57438 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 12:41:46 +00:00
Matthijs Kooijman
e2b997b7b5 Make MachineFunction not crash when TargetMachine::getRegisterInfo() returns
NULL, but just hide some debug output then.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57437 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 12:37:16 +00:00
Gabor Greif
63e0669b8e fix typo's
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57435 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 10:28:12 +00:00
Gabor Greif
c9f7ef7e7a remove a deprecated internal interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57434 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 10:25:27 +00:00
Gabor Greif
e9324f3605 do not use deprecated interfaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57433 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 10:21:17 +00:00
Gabor Greif
5aad9cd02e ignore the standard output dirs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57432 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 09:38:08 +00:00
Nick Lewycky
cb8f1b5b8b 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57431 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 03:58:02 +00:00
Mikhail Glushenkov
49feb455ab Add whitespace before a parenthesis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57430 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 02:46:01 +00:00
Mikhail Glushenkov
ea65d7d2a2 Add a note on llvmc2 plugins + remove some trailing whitespace (my Emacs does this automatically).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57429 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 02:08:34 +00:00
Chris Lattner
44d2a983b7 calls can be supported.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57428 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 01:59:13 +00:00
Chris Lattner
cdb0e4caff more notes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57427 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-12 22:57:58 +00:00
Dale Johannesen
51b7f8268b Change TAG_ names to DW_TAG for gcc (testsuite) compatibility.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57425 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-12 21:23:01 +00:00
Owen Anderson
d55fccde4c Fix a bug in live-in detection that caused lost-copy problems to show up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57424 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-12 20:39:30 +00:00
Chris Lattner
547a3913c5 add some more notes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57423 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-12 19:47:48 +00:00
Chris Lattner
75d53d6bd0 this was to be removed after 2.4 branched.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57422 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-12 18:57:09 +00:00
Dale Johannesen
f33ebd2631 Remove "long" variants so these will pass on a 64-bit host.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57418 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-12 18:40:49 +00:00
Chris Lattner
cce6d4b8e9 add some notes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57416 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-12 18:30:33 +00:00
Anton Korobeynikov
d21a6305ea Update size of inst correctly with segment override.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57414 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-12 10:30:11 +00:00
Owen Anderson
b5cf048fdf Add special-case code to allow null-guards on calls to malloc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57413 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-12 08:10:46 +00:00
Owen Anderson
4b089929b4 Make Escape Analysis work for any pointer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57412 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-12 07:33:29 +00:00