Reid Spencer [Fri, 26 Jan 2007 17:13:53 +0000 (17:13 +0000)]
Remove the SignedType class and other dead code. Improve comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33538
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Laskey [Fri, 26 Jan 2007 14:34:52 +0000 (14:34 +0000)]
Make LABEL a builtin opcode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33537
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Laskey [Fri, 26 Jan 2007 14:19:17 +0000 (14:19 +0000)]
Clarify some constants.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33536
91177308-0d34-0410-b5e6-
96231b3b80d8
Andrew Lenharth [Fri, 26 Jan 2007 13:34:50 +0000 (13:34 +0000)]
Work around broken binutils on alpha
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33535
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 26 Jan 2007 08:44:14 +0000 (08:44 +0000)]
For PR1122:
Test the upgradability of nested type definitions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33534
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 26 Jan 2007 08:25:06 +0000 (08:25 +0000)]
For PR761:
Remove "target endian/pointersize" or add "target datalayout" to make
the test parse properly or set the datalayout because defaults changes.
For PR645:
Make global names use the @ prefix.
For llvm-upgrade changes:
Fix test cases or completely remove use of llvm-upgrade for test cases
that cannot survive the new renaming or upgrade capabilities.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33533
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 26 Jan 2007 08:19:09 +0000 (08:19 +0000)]
Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33532
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 26 Jan 2007 08:18:34 +0000 (08:18 +0000)]
For All These Bugs:
PR645
PR761
PR1082
PR1122
Completely rewrite llvm-upgrade. This should be its final design. Any future
changes will use this same design. The changes involve the following:
1. Make this work very much like the 1.9 AsmParser
2. Retain old upgrades dating back to release 1.2 time frame.
3. Merge in some of the upgrades between 1.9 and 2.0 (e.g. icmp/fcmp).
4. Attach a Signedness value (Signless, Unsigned, Signed) to every type,
Value, Constant, Instruction, and list of those things in the Parser.
Use these to make signedness decisions for instruction upgrades.
5. Implement unique name upgrade for function values and global values.
6. Identify rename cases that might cause problems and warn about them.
For example: renaming a global variable with external linkage.
7. Generate a 2.0 IR using VMCore. This is necessary for numerous
reasons and has the advantage that it never goes out of date.
8. Use the AsmPrinter to make the output nice.
9. Clean up error and warning messages from 1.9 form.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33531
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 26 Jan 2007 08:11:39 +0000 (08:11 +0000)]
For PR761:
The Module::setEndianness and Module::setPointerSize methods have been
removed. Instead you can get/set the DataLayout. Adjust thise accordingly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33530
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 26 Jan 2007 08:10:24 +0000 (08:10 +0000)]
For PR761:
Remove the Endianness and PointerSize fields from the ModuleHeader and
replace it with the DataLayout field.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33529
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 26 Jan 2007 08:09:01 +0000 (08:09 +0000)]
For PR761:
BCReader no longer has a header that contains the endinanness and
pointer size. It's been replaced by datalayout field.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33528
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 26 Jan 2007 08:07:57 +0000 (08:07 +0000)]
For PR761:
Remove the setEndianess and setPointerSize methods. These are now
handled via the setDataLayout method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33527
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 26 Jan 2007 08:07:01 +0000 (08:07 +0000)]
For PR761:
Remove the setEndiannes and setPointerSize methods. These are now set
through the setDataLayout method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33526
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 26 Jan 2007 08:05:27 +0000 (08:05 +0000)]
Regenerate for PR645 and PR761
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33525
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 26 Jan 2007 08:04:51 +0000 (08:04 +0000)]
For PR645:
Implement separation of local and global symbols. Local symbols and types
now use % prefix. Global variables and functions now use @ prefix.
For PR761:
Replace:
target endian =
target pointersize =
With:
target datalayout =
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33524
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 26 Jan 2007 08:02:52 +0000 (08:02 +0000)]
For PR645:
Implement new syntax for local and global symbols. Types and local
symbols use the % prefix. Global variables and functions use the @ prefix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33523
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 26 Jan 2007 08:01:30 +0000 (08:01 +0000)]
For PR645:
Remove the Function::renameLocalSymbols function as it is no longer
needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33522
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 26 Jan 2007 07:51:36 +0000 (07:51 +0000)]
IntegerType is a sized DerivedType too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33521
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 26 Jan 2007 07:37:34 +0000 (07:37 +0000)]
Clean up comments and assert messages that still refer to the old type names.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33520
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 26 Jan 2007 06:30:34 +0000 (06:30 +0000)]
Fix an assertion message.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33519
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 26 Jan 2007 02:02:39 +0000 (02:02 +0000)]
SplitBlockBeforeInstr() insert a unconditional branch to the next BB. This
is unnecessary when we are fixing up a conditional branch since we will be
adding a unconditional branch to the destination of the original branch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33517
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Fri, 26 Jan 2007 01:08:18 +0000 (01:08 +0000)]
Remove dead code.
CallGraphSCCPass does not need to implement runOnModule().
It supports runOnSCC().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33516
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 26 Jan 2007 01:04:44 +0000 (01:04 +0000)]
Need to scan the function for branches even if there aren't any constants.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33515
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Fri, 26 Jan 2007 00:47:38 +0000 (00:47 +0000)]
Inherit CallGraphSCCPass directly from Pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33514
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Fri, 26 Jan 2007 00:23:00 +0000 (00:23 +0000)]
Inherit FunctionPass directly from Pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33513
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 25 Jan 2007 23:31:04 +0000 (23:31 +0000)]
Forgot to update this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33512
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Thu, 25 Jan 2007 23:23:25 +0000 (23:23 +0000)]
Inherit BasicBlockPass directly from Pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33511
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 25 Jan 2007 23:18:59 +0000 (23:18 +0000)]
Add comment, fix typo, reduce memory usage, etc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33510
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 25 Jan 2007 23:18:16 +0000 (23:18 +0000)]
I am an idiot.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33509
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 25 Jan 2007 22:48:25 +0000 (22:48 +0000)]
Fix comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33508
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 25 Jan 2007 22:28:32 +0000 (22:28 +0000)]
Fix test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33507
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Thu, 25 Jan 2007 22:27:00 +0000 (22:27 +0000)]
Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33506
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 25 Jan 2007 22:25:04 +0000 (22:25 +0000)]
- Tell PEI that PPC will handle stack frame rounding itself.
- Do not round up to max. alignment of stack object if it is > stack alignment.
It will have to be handled with dynamic aligning code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33505
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 25 Jan 2007 22:12:41 +0000 (22:12 +0000)]
Added a MRegisterInfo hook that tells PEI the target is responsible for
rounding the stack frame to a multiple of stack alignment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33504
91177308-0d34-0410-b5e6-
96231b3b80d8
Lauro Ramos Venancio [Thu, 25 Jan 2007 22:11:02 +0000 (22:11 +0000)]
fix fcopysign test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33503
91177308-0d34-0410-b5e6-
96231b3b80d8
Lauro Ramos Venancio [Thu, 25 Jan 2007 20:11:04 +0000 (20:11 +0000)]
Fix elf object definition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33502
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 25 Jan 2007 19:43:52 +0000 (19:43 +0000)]
Doh. Skip JT branches.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33501
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 25 Jan 2007 17:38:26 +0000 (17:38 +0000)]
Make llvm-extract preserve the callingconv of prototypes in the extracted
code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33500
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Laskey [Thu, 25 Jan 2007 15:45:58 +0000 (15:45 +0000)]
1. Remove dwarf-verbose option (now asm-verbose.)
2. Clean up end of lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33499
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Laskey [Thu, 25 Jan 2007 15:12:02 +0000 (15:12 +0000)]
Migrate print routines to asm to be shared by exception handling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33498
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 25 Jan 2007 03:12:46 +0000 (03:12 +0000)]
Added (preliminary) branch shortening capability to constantpool island pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33497
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 25 Jan 2007 03:07:27 +0000 (03:07 +0000)]
Getting rid uses of evil std::set<>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33496
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 25 Jan 2007 02:53:24 +0000 (02:53 +0000)]
Fix test/CFrontend/2007-01-24-InlineAsmCModifier.c on X86. The %c modifier
says that no $ prefix should be emitted on X86.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33495
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 25 Jan 2007 02:52:50 +0000 (02:52 +0000)]
Fix test/CFrontend/2007-01-24-InlineAsmCModifier.c on PPC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33494
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 25 Jan 2007 02:52:33 +0000 (02:52 +0000)]
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33493
91177308-0d34-0410-b5e6-
96231b3b80d8
Andrew Lenharth [Wed, 24 Jan 2007 21:09:16 +0000 (21:09 +0000)]
FTOIT and ITOFT are bit converts, and if we drop 21264s, are always available
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33492
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Laskey [Wed, 24 Jan 2007 19:15:24 +0000 (19:15 +0000)]
Call frames for intel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33490
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Laskey [Wed, 24 Jan 2007 18:50:57 +0000 (18:50 +0000)]
80 columns
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33489
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Laskey [Wed, 24 Jan 2007 18:45:13 +0000 (18:45 +0000)]
Repair debug frames as a prelude to eh_frames. Switched to using MachineMoves
by value so that clean up is less confusing (these vectors tend to be small.)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33488
91177308-0d34-0410-b5e6-
96231b3b80d8
Andrew Lenharth [Wed, 24 Jan 2007 18:43:14 +0000 (18:43 +0000)]
Fix unordered fp on alpha
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33487
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 24 Jan 2007 18:31:00 +0000 (18:31 +0000)]
Fix a misencoding of CBW and CWD. This fixes PR1030.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33486
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Laskey [Wed, 24 Jan 2007 13:12:32 +0000 (13:12 +0000)]
Use asm printer to emit alignment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33485
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Wed, 24 Jan 2007 08:53:17 +0000 (08:53 +0000)]
Use PC relative ldr to load from a constantpool in Thumb mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33484
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Wed, 24 Jan 2007 07:13:56 +0000 (07:13 +0000)]
Make ivars private and use getters. Have the MachOWriter return "Mach-O
Writer" for the pass name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33483
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Wed, 24 Jan 2007 07:03:39 +0000 (07:03 +0000)]
Renamed getTypeAlignmentShift() to getPreferredTypeAlignmentShift().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33482
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Wed, 24 Jan 2007 03:42:03 +0000 (03:42 +0000)]
Added new files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33481
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Wed, 24 Jan 2007 03:41:36 +0000 (03:41 +0000)]
Add a field for and construction of the PPCMachOWriterInfo object.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33480
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Wed, 24 Jan 2007 03:40:33 +0000 (03:40 +0000)]
Move the getJTRelocation method out of here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33479
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Wed, 24 Jan 2007 03:38:47 +0000 (03:38 +0000)]
Use the TargetMachOWriterInfo class to get this information.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33478
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Wed, 24 Jan 2007 03:38:14 +0000 (03:38 +0000)]
A virtual method to return the TargetMachOWriterInfo object. This returns
a real value in derived classes, of course.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33477
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Wed, 24 Jan 2007 03:37:18 +0000 (03:37 +0000)]
Moved target-specific information to the TargetMachOWriterInfo obj.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33476
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Wed, 24 Jan 2007 03:36:05 +0000 (03:36 +0000)]
New "TargetMachOWriterInfo" class. It holds target-specific information
that the MachOWriter needs in order to do its writing stuff 'n things.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33475
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Wed, 24 Jan 2007 02:45:25 +0000 (02:45 +0000)]
Allow [ fi#c, imm ] as ARM load / store addresses.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33474
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Wed, 24 Jan 2007 02:27:03 +0000 (02:27 +0000)]
Added some load from stack frames test cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33473
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Wed, 24 Jan 2007 02:21:22 +0000 (02:21 +0000)]
Various Thumb mode load / store isel bug fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33472
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 23 Jan 2007 23:28:50 +0000 (23:28 +0000)]
Thumb test cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33471
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 23 Jan 2007 22:59:13 +0000 (22:59 +0000)]
- Reorg Thumb load / store instructions. Combine each rr and ri pair of
instructions into one (e.g. tLDRrr, tLDRri -> tLDR).
- Thumb ldrsb and ldrsh only have the [reg, reg] address format. If the
address is not an add, materialize a 0 immediate into a register and use
it as the offset field.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33470
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Tue, 23 Jan 2007 22:56:28 +0000 (22:56 +0000)]
Fix cut-n-pasto.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33469
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 23 Jan 2007 22:47:58 +0000 (22:47 +0000)]
Thumb test cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33468
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Tue, 23 Jan 2007 21:55:17 +0000 (21:55 +0000)]
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33467
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Tue, 23 Jan 2007 21:52:35 +0000 (21:52 +0000)]
Add CallGraphSCCPass::assignPassManager().
This enables CalLGraphPassManager.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33466
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 23 Jan 2007 19:06:03 +0000 (19:06 +0000)]
Darwin HiddenDirective is .private_extern.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33465
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 23 Jan 2007 17:49:33 +0000 (17:49 +0000)]
Fix test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33464
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Tue, 23 Jan 2007 12:43:53 +0000 (12:43 +0000)]
One more small fix to documentation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33463
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Tue, 23 Jan 2007 12:35:46 +0000 (12:35 +0000)]
Updating documentation:
- Document visibility stuff
- Fix gcc' supported attributes list
- Document udis86 configure option
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33462
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Tue, 23 Jan 2007 10:26:08 +0000 (10:26 +0000)]
Moved disassembler to libSystem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33461
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 23 Jan 2007 09:38:11 +0000 (09:38 +0000)]
PEI is now responsible for adding MaxCallFrameSize to frame size and align the stack. Each target can further adjust the frame size if necessary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33460
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 23 Jan 2007 04:59:58 +0000 (04:59 +0000)]
fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33459
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 23 Jan 2007 01:16:19 +0000 (01:16 +0000)]
make the SmallSet interface more std::set-like
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33458
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 23 Jan 2007 00:59:48 +0000 (00:59 +0000)]
Switch this to use SmallSet to avoid mallocs in the common case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33457
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 23 Jan 2007 00:59:15 +0000 (00:59 +0000)]
add a trivial SmallSet class, which operates on a similar principle to
SmallVector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33456
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 23 Jan 2007 00:57:47 +0000 (00:57 +0000)]
hasFP() is now a virtual method of MRegisterInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33455
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 23 Jan 2007 00:36:17 +0000 (00:36 +0000)]
Fix a bunch of inline asm failures
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33454
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 22 Jan 2007 23:18:10 +0000 (23:18 +0000)]
Make it work for both Linux and Mac OS.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33451
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 22 Jan 2007 23:14:52 +0000 (23:14 +0000)]
Update comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33450
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 22 Jan 2007 23:13:55 +0000 (23:13 +0000)]
Remove the DoubleTy special case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33449
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 22 Jan 2007 23:13:01 +0000 (23:13 +0000)]
ARM AAPCS abi (Linux, etc.) requires 8-byte double / long alignment; Mac
requires 4-bytes alignment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33448
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 22 Jan 2007 23:11:06 +0000 (23:11 +0000)]
Double and long preferred alignment set to 8 bytes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33447
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 22 Jan 2007 23:09:50 +0000 (23:09 +0000)]
Double and long preferred alignment is 8 byte.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33446
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 22 Jan 2007 23:08:19 +0000 (23:08 +0000)]
- getTypeAlignmentShift() should be returning preferred alignment, not ABI
alignment.
- getPreferredAlignmentLog(): remove Double special case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33445
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 22 Jan 2007 23:01:22 +0000 (23:01 +0000)]
Pasto
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33444
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 22 Jan 2007 21:34:25 +0000 (21:34 +0000)]
Linux GOT indirect reference is only necessary in PIC mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33441
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 22 Jan 2007 21:24:13 +0000 (21:24 +0000)]
Double and Long preferred alignment is 4 for Darwin, 8 for Linux.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33440
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 22 Jan 2007 19:40:10 +0000 (19:40 +0000)]
Use bl to call Thumb fuctions directly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33433
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 22 Jan 2007 18:57:39 +0000 (18:57 +0000)]
Fix test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33432
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Laskey [Mon, 22 Jan 2007 14:13:45 +0000 (14:13 +0000)]
Bring up to date.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33428
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 22 Jan 2007 05:51:25 +0000 (05:51 +0000)]
Cleanup checks in the load and store of casted pointer transforms. Two
changes: (1) don't special case for i1 any more, (2) use the new
TargetData::getTypeSizeInBits method to ensure source and dest are the
same bit width.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33427
91177308-0d34-0410-b5e6-
96231b3b80d8
Jeff Cohen [Sun, 21 Jan 2007 19:30:52 +0000 (19:30 +0000)]
Fix a bunch of missing semicolon parse errors from bison.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33426
91177308-0d34-0410-b5e6-
96231b3b80d8
Jeff Cohen [Sun, 21 Jan 2007 19:19:31 +0000 (19:19 +0000)]
Fix this error:
llvm[2]: Compiling llvmAsmParser.cpp for Debug build
/usr/home/jeffc/llvm/lib/AsmParser/llvmAsmParser.y: In function 'int llvmAsmparse()':
/usr/home/jeffc/llvm/lib/AsmParser/llvmAsmParser.y:1846: error: expected `;' before '}' token
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33425
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 21 Jan 2007 15:53:18 +0000 (15:53 +0000)]
Run GenLibDeps.pl with the configured PERL path to handle different install
locations for Perl on different systems.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33424
91177308-0d34-0410-b5e6-
96231b3b80d8