Evan Cheng
4990b257dd
- Somehow I forgot about one / une.
...
- Renumber fcmp predicates to match their icmp counterparts.
- Try swapping operands to expose more optimization opportunities.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57513 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-14 18:13:38 +00:00
Evan Cheng
552e3be775
Fix indentation.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57508 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-14 17:15:39 +00:00
Evan Cheng
8db90725cb
Optimize anding of two fcmp into a single fcmp if the operands are the same. e.g. uno && ueq -> ueq
...
ord && olt -> olt
ord && ueq -> oeq
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57507 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-14 17:15:11 +00:00
Dan Gohman
9aeea5bd6a
Mention a few methods in ConstantSDNode that were renamed.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57505 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-14 17:06:44 +00:00
Dan Gohman
364a39fc1c
HTML syntax fixes.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57503 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-14 17:00:38 +00:00
Dan Gohman
0e451ceee3
Fix missing end tags and invalid HTML entity syntax.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57500 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-14 16:51:45 +00:00
Dan Gohman
01ac10142e
Add a missing close-tag.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57497 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-14 16:32:04 +00:00
Dan Gohman
44aa9214bf
Fix a few close tags.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57496 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-14 16:23:02 +00:00
Dan Gohman
1bbddce4d6
Fix a typo.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57495 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-14 16:13:59 +00:00
Dan Gohman
bd9f9af676
Add a brief mention of the new free-list management code.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57490 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-14 15:14:55 +00:00
Gabor Greif
a8b8490b2b
minor corrections, improved formatting
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57486 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-14 11:31:14 +00:00
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