| #
3ed871fe |
| 27-Oct-2009 |
Chris Lattner <[email protected]> |
add enough support for indirect branch for the feature test to pass (assembler,asmprinter, bc reader+writer) and document it. Codegen currently aborts on it.
llvm-svn: 85274
|
| #
3d913cda |
| 25-Oct-2009 |
Daniel Dunbar <[email protected]> |
Suppress -Asserts warning.
llvm-svn: 85078
|
| #
e297149e |
| 24-Oct-2009 |
Victor Hernandez <[email protected]> |
Auto-upgrade free instructions to calls to the builtin free function. Update all analysis passes and transforms to treat free calls just like FreeInst. Remove RaiseAllocations and all its tests since
Auto-upgrade free instructions to calls to the builtin free function. Update all analysis passes and transforms to treat free calls just like FreeInst. Remove RaiseAllocations and all its tests since FreeInst no longer needs to be raised.
llvm-svn: 84987
show more ...
|
|
Revision tags: llvmorg-2.6.0 |
|
| #
1155fdf6 |
| 22-Oct-2009 |
Devang Patel <[email protected]> |
Hide MetadataContext implementation details.
llvm-svn: 84886
|
| #
1cfb958b |
| 21-Oct-2009 |
Dale Johannesen <[email protected]> |
Rename msasm to alignstack per review.
llvm-svn: 84795
|
| #
be9e1791 |
| 21-Oct-2009 |
Victor Hernandez <[email protected]> |
Make changes to rev 84292 as requested by Chris Lattner.
Most changes are cleanup, but there is 1 correctness fix: I fixed InstCombine so that the icmp is removed only if the malloc call is removed
Make changes to rev 84292 as requested by Chris Lattner.
Most changes are cleanup, but there is 1 correctness fix: I fixed InstCombine so that the icmp is removed only if the malloc call is removed (which requires explicit removal because the Worklist won't DCE any calls since they can have side-effects).
llvm-svn: 84772
show more ...
|
| #
c7d6a832 |
| 17-Oct-2009 |
Victor Hernandez <[email protected]> |
Autoupgrade malloc insts to malloc calls. Update testcases that rely on malloc insts being present.
Also prematurely remove MallocInst handling from IndMemRemoval and RaiseAllocations to help pass t
Autoupgrade malloc insts to malloc calls. Update testcases that rely on malloc insts being present.
Also prematurely remove MallocInst handling from IndMemRemoval and RaiseAllocations to help pass tests in this incremental step.
llvm-svn: 84292
show more ...
|
| #
fd04c74b |
| 13-Oct-2009 |
Dale Johannesen <[email protected]> |
Add an "msasm" flag to inline asm as suggested in PR 5125. A little ugliness is accepted to keep the binary file format compatible. No functional change yet.
llvm-svn: 84020
|
| #
0b26c9e0 |
| 13-Oct-2009 |
Devang Patel <[email protected]> |
Remove unnecessary assert.
llvm-svn: 84004
|
| #
fdd87907 |
| 05-Oct-2009 |
Chris Lattner <[email protected]> |
strength reduce a ton of type equality tests to check the typeid (Through the new predicates I added) instead of going through a context and doing a pointer comparison. Besides being cheaper, this a
strength reduce a ton of type equality tests to check the typeid (Through the new predicates I added) instead of going through a context and doing a pointer comparison. Besides being cheaper, this allows a smart compiler to turn the if sequence into a switch.
llvm-svn: 83297
show more ...
|
| #
5bf7a49f |
| 29-Sep-2009 |
Devang Patel <[email protected]> |
Only one custom meadata of each kind can be attached with an instruction.
llvm-svn: 83105
|
| #
2d85eef9 |
| 28-Sep-2009 |
Devang Patel <[email protected]> |
s/class Metadata/class MetadataContext/g
llvm-svn: 83019
|
| #
b1a4477f |
| 28-Sep-2009 |
Devang Patel <[email protected]> |
Do not use global typedef for MDKindID.
llvm-svn: 83016
|
| #
e6ff7662 |
| 25-Sep-2009 |
Victor Hernandez <[email protected]> |
Revert 82694 "Auto-upgrade malloc instructions to malloc calls." because it causes regressions in the nightly tests.
llvm-svn: 82784
|
| #
46cd4673 |
| 24-Sep-2009 |
Victor Hernandez <[email protected]> |
Auto-upgrade malloc instructions to malloc calls.
Reviewed by Devang Patel.
llvm-svn: 82694
|
| #
7d6781b0 |
| 20-Sep-2009 |
Daniel Dunbar <[email protected]> |
Tabs -> spaces, and remove trailing whitespace.
llvm-svn: 82355
|
| #
af206b8c |
| 18-Sep-2009 |
Devang Patel <[email protected]> |
Write and read metadata attachments.
llvm-svn: 82259
|
| #
1b84908f |
| 07-Sep-2009 |
Dan Gohman <[email protected]> |
Reappy r80998, now that the GlobalOpt bug that it exposed on MiniSAT is fixed.
llvm-svn: 81172
|
| #
0f5bbb58 |
| 06-Sep-2009 |
Duncan Sands <[email protected]> |
Public and private corrections, warned about by icc (#304). Patch by Erick Tryzelaar.
llvm-svn: 81107
|
| #
10ea8bb8 |
| 06-Sep-2009 |
Daniel Dunbar <[email protected]> |
Revert "Include optional subclass flags, such as inbounds, nsw, etc., ...", this breaks MiniSAT on x86_64.
llvm-svn: 81098
|
| #
0c2477c2 |
| 04-Sep-2009 |
Dan Gohman <[email protected]> |
Include optional subclass flags, such as inbounds, nsw, etc., in the Constant uniquing tables. This allows distinct ConstantExpr objects with the same operation and different flags.
Even though a Co
Include optional subclass flags, such as inbounds, nsw, etc., in the Constant uniquing tables. This allows distinct ConstantExpr objects with the same operation and different flags.
Even though a ConstantExpr "a + b" is either always overflowing or never overflowing (due to being a ConstantExpr), it's still necessary to be able to represent it both with and without overflow flags at the same time within the IR, because the safety of the flag may depend on the context of the use. If the constant really does overflow, it wouldn't ever be safe to use with the flag set, however the use may be in code that is never actually executed.
This also makes it possible to merge all the flags tests into a single test.
llvm-svn: 80998
show more ...
|
| #
116b4a0c |
| 03-Sep-2009 |
Devang Patel <[email protected]> |
Add new value for given index in MDValuePtrs.
llvm-svn: 80867
|
| #
68c5f477 |
| 02-Sep-2009 |
Sandeep Patel <[email protected]> |
Retype from unsigned to CallingConv::ID accordingly. Approved by Bob Wilson.
llvm-svn: 80773
|
| #
80ae3497 |
| 28-Aug-2009 |
Devang Patel <[email protected]> |
Reapply 79977. Use MDNodes to encode debug info in llvm IR.
llvm-svn: 80406
|
| #
f08e35d9 |
| 26-Aug-2009 |
Devang Patel <[email protected]> |
Revert 79977. It causes llvm-gcc bootstrap failures on some platforms.
llvm-svn: 80073
|