Chris Lattner [Wed, 15 Oct 2008 05:07:36 +0000 (05:07 +0000)]
Some minor cleanups:
1. Compute action in X86SelectSelect based on MVT instead of type.
2. Use TLI.getValueType(..) instead of MVT::getVT(..) because the former
handles pointers and the later doesn't.
3. Don't pass TLI into isTypeLegal, since it already has access to it as
an ivar.
#2 gives fast isel some minor new functionality: handling load/stores of
pointers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57552
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 15 Oct 2008 04:32:45 +0000 (04:32 +0000)]
Use switch on VT instead of Type* comparisons.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57551
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 15 Oct 2008 04:29:23 +0000 (04:29 +0000)]
Use X86FastEmitCompare for FCMP_OEQ and FCMP_UNE: it doesn't
change the generated code, but makes the code simpler.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57550
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 15 Oct 2008 04:26:38 +0000 (04:26 +0000)]
refactor compare emission out into a new X86FastEmitCompare method,
which makes it easy to share the compare/imm folding logic with 'setcc'.
This shaves a bunch of instructions off the common select case, which
happens a lot in llvm-gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57549
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 15 Oct 2008 04:13:29 +0000 (04:13 +0000)]
Fold immediates into compares when possible, producing "cmp $4, %eax" instead of
loading 4 into a register and then doing the compare.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57548
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 15 Oct 2008 04:02:26 +0000 (04:02 +0000)]
more minor refactoring of X86SelectBranch, no functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57547
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 15 Oct 2008 03:58:05 +0000 (03:58 +0000)]
factor buildmi calls in X86SelectBranch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57546
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 15 Oct 2008 03:52:54 +0000 (03:52 +0000)]
factor some more BuildMI's in X86SelectCmp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57545
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 15 Oct 2008 03:47:17 +0000 (03:47 +0000)]
factor some BuildMI calls, no functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57544
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Wed, 15 Oct 2008 02:57:38 +0000 (02:57 +0000)]
Adjust whitespace in debug messages to be more consistent
with other debug messages.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57543
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Wed, 15 Oct 2008 02:05:31 +0000 (02:05 +0000)]
- Add target lowering hooks that specify which setcc conditions are illegal,
i.e. conditions that cannot be checked with a single instruction. For example,
SETONE and SETUEQ on x86.
- Teach legalizer to implement *illegal* setcc as a and / or of a number of
legal setcc nodes. For now, only implement FP conditions. e.g. SETONE is
implemented as SETO & SETNE, SETUEQ is SETUO | SETEQ.
- Move x86 target over.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57542
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Tue, 14 Oct 2008 23:54:11 +0000 (23:54 +0000)]
FastISel support for exception-handling constructs.
- Move the EH landing-pad code and adjust it so that it works
with FastISel as well as with SDISel.
- Add FastISel support for @llvm.eh.exception and
@llvm.eh.selector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57539
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Tue, 14 Oct 2008 23:51:43 +0000 (23:51 +0000)]
Prevent assert when using '"' in names (via hexadecimal).
Update LangRef to mention \xx quoting in names.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57538
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Tue, 14 Oct 2008 23:28:09 +0000 (23:28 +0000)]
Change getLLVMName to use raw_ostream & PrintLLVMName.
- Avoids duplicated quotification code.
- Remove QuoteNameIfNeeded.
- No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57537
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Tue, 14 Oct 2008 23:26:20 +0000 (23:26 +0000)]
Add llvm::hexdigit to StringExtras (number -> hexadecimal char)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57536
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Tue, 14 Oct 2008 23:25:09 +0000 (23:25 +0000)]
Add some ReleaseNotes on clang codegen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57535
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Tue, 14 Oct 2008 23:23:59 +0000 (23:23 +0000)]
Remove Stacker.html from Xcode project.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57534
91177308-0d34-0410-b5e6-
96231b3b80d8
Dale Johannesen [Tue, 14 Oct 2008 22:06:33 +0000 (22:06 +0000)]
Accept -march=i586, because gcc does (a synonym
for pentium). Fixes
gcc.target/i386/
20000720-1.c
gcc.target/i386/pr26826.c
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57528
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 14 Oct 2008 21:26:46 +0000 (21:26 +0000)]
Rename LoadX to LoadExt.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57526
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Grosbach [Tue, 14 Oct 2008 20:36:24 +0000 (20:36 +0000)]
Update ARM Insn encoding to get endian-ness to match the documentation (31-0 left to right)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57524
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Tue, 14 Oct 2008 20:30:54 +0000 (20:30 +0000)]
Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57522
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Tue, 14 Oct 2008 20:25:08 +0000 (20:25 +0000)]
Fix command-line option printing to print two spaces where needed,
instead of requiring all "short description" strings to begin with
two spaces. This makes these strings less mysterious, and it fixes
some cases where short description strings mistakenly did not
begin with two spaces.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57521
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Tue, 14 Oct 2008 20:03:43 +0000 (20:03 +0000)]
Document attributes changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57518
91177308-0d34-0410-b5e6-
96231b3b80d8
Nicolas Geoffray [Tue, 14 Oct 2008 19:23:04 +0000 (19:23 +0000)]
Add VMKit notes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57517
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 14 Oct 2008 18:44:08 +0000 (18:44 +0000)]
Combine (fcmp cc0 x, y) | (fcmp cc1 x, y) into a single fcmp when possible.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57515
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 14 Oct 2008 18:13:38 +0000 (18:13 +0000)]
- 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
Evan Cheng [Tue, 14 Oct 2008 17:15:39 +0000 (17:15 +0000)]
Fix indentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57508
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 14 Oct 2008 17:15:11 +0000 (17:15 +0000)]
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
Dan Gohman [Tue, 14 Oct 2008 17:06:44 +0000 (17:06 +0000)]
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
Dan Gohman [Tue, 14 Oct 2008 17:00:38 +0000 (17:00 +0000)]
HTML syntax fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57503
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Tue, 14 Oct 2008 16:51:45 +0000 (16:51 +0000)]
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
Dan Gohman [Tue, 14 Oct 2008 16:32:04 +0000 (16:32 +0000)]
Add a missing close-tag.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57497
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Tue, 14 Oct 2008 16:23:02 +0000 (16:23 +0000)]
Fix a few close tags.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57496
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Tue, 14 Oct 2008 16:13:59 +0000 (16:13 +0000)]
Fix a typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57495
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Tue, 14 Oct 2008 15:14:55 +0000 (15:14 +0000)]
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
Gabor Greif [Tue, 14 Oct 2008 11:31:14 +0000 (11:31 +0000)]
minor corrections, improved formatting
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57486
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Tue, 14 Oct 2008 11:00:32 +0000 (11:00 +0000)]
typo and formatting tweaks
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57485
91177308-0d34-0410-b5e6-
96231b3b80d8
Nuno Lopes [Tue, 14 Oct 2008 10:04:52 +0000 (10:04 +0000)]
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
Duncan Sands [Tue, 14 Oct 2008 07:06:37 +0000 (07:06 +0000)]
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
Chris Lattner [Tue, 14 Oct 2008 06:56:04 +0000 (06:56 +0000)]
new testcase for PR2797
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57481
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 14 Oct 2008 06:37:11 +0000 (06:37 +0000)]
add some upgrading notes from Pekka.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57480
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 14 Oct 2008 06:02:29 +0000 (06:02 +0000)]
add LSR and frameaddress info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57478
91177308-0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Tue, 14 Oct 2008 05:14:21 +0000 (05:14 +0000)]
Add static analyzer notes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57475
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Tue, 14 Oct 2008 03:56:55 +0000 (03:56 +0000)]
Remove stale src, core directories.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57473
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 14 Oct 2008 00:52:49 +0000 (00:52 +0000)]
more minor updates
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57472
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 13 Oct 2008 22:06:31 +0000 (22:06 +0000)]
more changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57470
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 13 Oct 2008 21:50:36 +0000 (21:50 +0000)]
optimizer and codegen
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57468
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 13 Oct 2008 20:59:32 +0000 (20:59 +0000)]
more updates.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57466
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Mon, 13 Oct 2008 20:52:04 +0000 (20:52 +0000)]
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
Chris Lattner [Mon, 13 Oct 2008 20:47:20 +0000 (20:47 +0000)]
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
Duncan Sands [Mon, 13 Oct 2008 19:56:36 +0000 (19:56 +0000)]
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
Evan Cheng [Mon, 13 Oct 2008 18:46:18 +0000 (18:46 +0000)]
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
Duncan Sands [Mon, 13 Oct 2008 18:42:43 +0000 (18:42 +0000)]
MarkModRef -> AddReadAttrs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57459
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 13 Oct 2008 18:35:52 +0000 (18:35 +0000)]
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
Duncan Sands [Mon, 13 Oct 2008 18:33:28 +0000 (18:33 +0000)]
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
Evan Cheng [Mon, 13 Oct 2008 18:13:07 +0000 (18:13 +0000)]
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
Chris Lattner [Mon, 13 Oct 2008 18:11:54 +0000 (18:11 +0000)]
give the static analyzer its own section.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57455
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 13 Oct 2008 18:01:01 +0000 (18:01 +0000)]
more rearranging.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57453
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 13 Oct 2008 17:57:36 +0000 (17:57 +0000)]
move major changes down.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57452
91177308-0d34-0410-b5e6-
96231b3b80d8
Duncan Sands [Mon, 13 Oct 2008 17:32:15 +0000 (17:32 +0000)]
Fix typo. Add note on trampoline support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57450
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 13 Oct 2008 17:30:56 +0000 (17:30 +0000)]
Clarify meaning of copyRegToReg's return value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57449
91177308-0d34-0410-b5e6-
96231b3b80d8
Duncan Sands [Mon, 13 Oct 2008 17:27:23 +0000 (17:27 +0000)]
Update the Ada part.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57447
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 13 Oct 2008 17:12:51 +0000 (17:12 +0000)]
final note.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57446
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 13 Oct 2008 16:55:18 +0000 (16:55 +0000)]
fix some crazily long lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57444
91177308-0d34-0410-b5e6-
96231b3b80d8
Matthijs Kooijman [Mon, 13 Oct 2008 15:17:01 +0000 (15:17 +0000)]
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
Matthijs Kooijman [Mon, 13 Oct 2008 13:44:15 +0000 (13:44 +0000)]
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
Matthijs Kooijman [Mon, 13 Oct 2008 12:41:46 +0000 (12:41 +0000)]
* 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
Matthijs Kooijman [Mon, 13 Oct 2008 12:37:16 +0000 (12:37 +0000)]
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
Gabor Greif [Mon, 13 Oct 2008 10:28:12 +0000 (10:28 +0000)]
fix typo's
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57435
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Mon, 13 Oct 2008 10:25:27 +0000 (10:25 +0000)]
remove a deprecated internal interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57434
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Mon, 13 Oct 2008 10:21:17 +0000 (10:21 +0000)]
do not use deprecated interfaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57433
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Mon, 13 Oct 2008 09:38:08 +0000 (09:38 +0000)]
ignore the standard output dirs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57432
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Lewycky [Mon, 13 Oct 2008 03:58:02 +0000 (03:58 +0000)]
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
Mikhail Glushenkov [Mon, 13 Oct 2008 02:46:01 +0000 (02:46 +0000)]
Add whitespace before a parenthesis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57430
91177308-0d34-0410-b5e6-
96231b3b80d8
Mikhail Glushenkov [Mon, 13 Oct 2008 02:08:34 +0000 (02:08 +0000)]
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
Chris Lattner [Mon, 13 Oct 2008 01:59:13 +0000 (01:59 +0000)]
calls can be supported.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57428
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 12 Oct 2008 22:57:58 +0000 (22:57 +0000)]
more notes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57427
91177308-0d34-0410-b5e6-
96231b3b80d8
Dale Johannesen [Sun, 12 Oct 2008 21:23:01 +0000 (21:23 +0000)]
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
Owen Anderson [Sun, 12 Oct 2008 20:39:30 +0000 (20:39 +0000)]
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
Chris Lattner [Sun, 12 Oct 2008 19:47:48 +0000 (19:47 +0000)]
add some more notes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57423
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 12 Oct 2008 18:57:09 +0000 (18:57 +0000)]
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
Dale Johannesen [Sun, 12 Oct 2008 18:40:49 +0000 (18:40 +0000)]
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
Chris Lattner [Sun, 12 Oct 2008 18:30:33 +0000 (18:30 +0000)]
add some notes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57416
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Sun, 12 Oct 2008 10:30:11 +0000 (10:30 +0000)]
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
Owen Anderson [Sun, 12 Oct 2008 08:10:46 +0000 (08:10 +0000)]
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
Owen Anderson [Sun, 12 Oct 2008 07:33:29 +0000 (07:33 +0000)]
Make Escape Analysis work for any pointer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57412
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Sun, 12 Oct 2008 06:49:21 +0000 (06:49 +0000)]
Add EscapeAnalysis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57411
91177308-0d34-0410-b5e6-
96231b3b80d8
Dale Johannesen [Sun, 12 Oct 2008 06:20:47 +0000 (06:20 +0000)]
Change Dwarf comments starting with AT_ to DW_AT_ to
match gcc. Helps with the testsuite.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57410
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Sun, 12 Oct 2008 06:03:38 +0000 (06:03 +0000)]
Fix crashes and infinite loops.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57408
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Sun, 12 Oct 2008 03:59:45 +0000 (03:59 +0000)]
Duncan convinced me that it's not possible to transform control-based escapes into
data-based ones. Just be conservative when analyzing control-based escapes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57400
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 11 Oct 2008 23:59:03 +0000 (23:59 +0000)]
fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57388
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 11 Oct 2008 22:55:00 +0000 (22:55 +0000)]
Fix PR2697 by rewriting the '(X / pos) op neg' logic. This also changes
a couple other cases for clarity, but shouldn't affect correctness.
Patch by Eli Friedman!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57387
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 11 Oct 2008 22:14:59 +0000 (22:14 +0000)]
update win32 project file, patch provided by OvermindDL1 on llvmdev.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57386
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 11 Oct 2008 22:08:30 +0000 (22:08 +0000)]
Change CALLSEQ_BEGIN and CALLSEQ_END to take TargetConstant's as
parameters instead of raw Constants. This prevents the constants from
being selected by the isel pass, fixing PR2735.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57385
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 11 Oct 2008 22:07:19 +0000 (22:07 +0000)]
rearrange some code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57384
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 11 Oct 2008 22:06:50 +0000 (22:06 +0000)]
random cleanup
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57383
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Sat, 11 Oct 2008 21:26:56 +0000 (21:26 +0000)]
Add API changes which affected me to release notes:
- DbgStopPointInst
- Attributes (needs filling in)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57382
91177308-0d34-0410-b5e6-
96231b3b80d8
Duncan Sands [Sat, 11 Oct 2008 19:34:24 +0000 (19:34 +0000)]
Fix comment typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57381
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Sat, 11 Oct 2008 19:09:15 +0000 (19:09 +0000)]
Add ability to override segment (mostly for code emitter purposes).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57380
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Sat, 11 Oct 2008 18:40:33 +0000 (18:40 +0000)]
Add GCC 4.1.2 from Debian to known bad GCC list.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57379
91177308-0d34-0410-b5e6-
96231b3b80d8