Chris Lattner [Sat, 27 Jan 2007 08:20:15 +0000 (08:20 +0000)]
Make SmallSet<whatever*, N> faster by transparently implementing it with
SmallPtrSet. Some clients will need to use SmallPtrSet directly though if
they need to iterate over the set.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33584
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 27 Jan 2007 08:19:03 +0000 (08:19 +0000)]
add some missing API
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33583
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 27 Jan 2007 08:14:53 +0000 (08:14 +0000)]
Give SmallSet a reasonable fallback if it gets large: use an std::set.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33582
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 27 Jan 2007 07:59:10 +0000 (07:59 +0000)]
implement SmallPtrSet::erase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33581
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 27 Jan 2007 07:52:27 +0000 (07:52 +0000)]
Fix a limitation of SmallPtrSet. Before it would assert if the smallsize
was not a power of two. Now it rounds up to the next power of two internally.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33580
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 27 Jan 2007 07:24:51 +0000 (07:24 +0000)]
add some comments on the algorithm
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33579
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 27 Jan 2007 07:18:32 +0000 (07:18 +0000)]
add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33578
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 27 Jan 2007 07:10:46 +0000 (07:10 +0000)]
Add a new SmallSet ADT specialized for pointers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33577
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 27 Jan 2007 04:42:50 +0000 (04:42 +0000)]
Add some comments, fix an 80 cols violation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33576
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 27 Jan 2007 02:56:16 +0000 (02:56 +0000)]
Return an X86ELFWriterInfo object.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33574
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 27 Jan 2007 02:55:44 +0000 (02:55 +0000)]
Use TargetELFWriterInfo class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33573
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 27 Jan 2007 02:55:04 +0000 (02:55 +0000)]
Accessor for the TargetELFWriterInfo class object.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33572
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 27 Jan 2007 02:54:30 +0000 (02:54 +0000)]
X86 implementation of the TargetELFWriterInfo class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33571
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 27 Jan 2007 02:53:50 +0000 (02:53 +0000)]
The TargetELFWriterInfo class holds target-specific information for the ELF writer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33570
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Sat, 27 Jan 2007 02:33:22 +0000 (02:33 +0000)]
New entry.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33569
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Sat, 27 Jan 2007 02:29:45 +0000 (02:29 +0000)]
Thumb jumptable support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33568
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 27 Jan 2007 02:13:58 +0000 (02:13 +0000)]
simplify insert interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33567
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 27 Jan 2007 01:14:20 +0000 (01:14 +0000)]
clean up comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33566
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 27 Jan 2007 00:23:45 +0000 (00:23 +0000)]
add an explanatory comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33565
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 27 Jan 2007 00:21:01 +0000 (00:21 +0000)]
Apparently the last commit is wrong. Reverted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33564
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 27 Jan 2007 00:16:07 +0000 (00:16 +0000)]
Remove a double negative.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33563
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Sat, 27 Jan 2007 00:07:15 +0000 (00:07 +0000)]
Thumb add / sub with carry.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33562
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Sat, 27 Jan 2007 00:05:14 +0000 (00:05 +0000)]
Thumb tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33561
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Sat, 27 Jan 2007 00:04:57 +0000 (00:04 +0000)]
Merge tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33560
91177308-0d34-0410-b5e6-
96231b3b80d8
Lauro Ramos Venancio [Fri, 26 Jan 2007 23:24:43 +0000 (23:24 +0000)]
Some asm directives fixes for ELF.
Now we can compile llvm-gcc on arm-linux-gnueabi!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33558
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Laskey [Fri, 26 Jan 2007 23:00:54 +0000 (23:00 +0000)]
Make the constant honest.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33557
91177308-0d34-0410-b5e6-
96231b3b80d8
Nate Begeman [Fri, 26 Jan 2007 22:40:50 +0000 (22:40 +0000)]
Fix a spelling error
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33556
91177308-0d34-0410-b5e6-
96231b3b80d8
Nate Begeman [Fri, 26 Jan 2007 22:39:48 +0000 (22:39 +0000)]
Handle multiple functions, properly mangle symbols, and fix support for
scattered relocations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33555
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 26 Jan 2007 21:48:40 +0000 (21:48 +0000)]
fit in 80 cols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33553
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Laskey [Fri, 26 Jan 2007 21:38:26 +0000 (21:38 +0000)]
rename files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33552
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 26 Jan 2007 21:33:19 +0000 (21:33 +0000)]
Represent tADDspi and tSUBspi as two-address instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33551
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Laskey [Fri, 26 Jan 2007 21:22:28 +0000 (21:22 +0000)]
Change the MachineDebugInfo to MachineModuleInfo to better reflect usage
for debugging and exception handling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33550
91177308-0d34-0410-b5e6-
96231b3b80d8
Lauro Ramos Venancio [Fri, 26 Jan 2007 21:20:45 +0000 (21:20 +0000)]
Fix Data16bitsDirective for ELF.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33549
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 26 Jan 2007 20:38:26 +0000 (20:38 +0000)]
Conditional branch being fixed up is not the last MI in the BB, there is a
unconditional branch following it. Simply invert the condition and swap
destinations if the conditional branch can reach the destination of the
unconditional branch:
beq L1
b L2
=>
bne L2
b L1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33548
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 26 Jan 2007 20:31:18 +0000 (20:31 +0000)]
Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33547
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 26 Jan 2007 20:29:52 +0000 (20:29 +0000)]
Make sure that an upgraded index is also inserted into the VIndices
otherwise it gets ignored.
This fixes test/CodeGen/X86/2006-05-11-InstrSched.ll
Thanks to Evan Cheng for noticing this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33546
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 26 Jan 2007 19:59:25 +0000 (19:59 +0000)]
Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33545
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 26 Jan 2007 19:58:59 +0000 (19:58 +0000)]
Ensure that gep_upgrade zext instructions we insert have unique names.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33544
91177308-0d34-0410-b5e6-
96231b3b80d8
Lauro Ramos Venancio [Fri, 26 Jan 2007 19:51:32 +0000 (19:51 +0000)]
If the constant pool value is a extern weak symbol, emit the weak reference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33543
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 26 Jan 2007 19:13:16 +0000 (19:13 +0000)]
extload -> zextload
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33542
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 26 Jan 2007 18:26:23 +0000 (18:26 +0000)]
Remove extraneous ; to make some versions of bison happy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33541
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Fri, 26 Jan 2007 18:17:59 +0000 (18:17 +0000)]
Order createSimplifyLibCallsPass() after a set of function level passes
so that these function passes are managed by CallGraphPassManager.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33540
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Laskey [Fri, 26 Jan 2007 17:29:20 +0000 (17:29 +0000)]
Files missing from LABEL check in.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33539
91177308-0d34-0410-b5e6-
96231b3b80d8
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