]> granicus.if.org Git - llvm/log
llvm
21 years agoMinor tweak
Chris Lattner [Mon, 31 Mar 2003 17:30:35 +0000 (17:30 +0000)]
Minor tweak

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5758 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago* We now preserve the no-critical-edge pass (because we cannot insert critical edges)
Chris Lattner [Mon, 31 Mar 2003 17:30:25 +0000 (17:30 +0000)]
* We now preserve the no-critical-edge pass (because we cannot insert critical edges)
* Small modification to be more efficient

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5757 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd getAnalysisUsage method
Chris Lattner [Mon, 31 Mar 2003 17:29:18 +0000 (17:29 +0000)]
Add getAnalysisUsage method

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5756 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago*** empty log message ***
Guochun Shi [Thu, 27 Mar 2003 17:57:44 +0000 (17:57 +0000)]
*** empty log message ***

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5755 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMove BreakCriticalEdges pass to lib/Transforms/Utils
Chris Lattner [Fri, 21 Mar 2003 21:43:19 +0000 (21:43 +0000)]
Move BreakCriticalEdges pass to lib/Transforms/Utils

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5754 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd helper method
Chris Lattner [Fri, 21 Mar 2003 21:41:02 +0000 (21:41 +0000)]
Add helper method

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5753 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoUpdate comment
Chris Lattner [Fri, 21 Mar 2003 21:40:39 +0000 (21:40 +0000)]
Update comment

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5752 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd more graph traits specializations for dominator tree nodes
Chris Lattner [Thu, 20 Mar 2003 21:21:05 +0000 (21:21 +0000)]
Add more graph traits specializations for dominator tree nodes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5751 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago* Change the order that globals and constants are processed in
Chris Lattner [Wed, 19 Mar 2003 20:57:22 +0000 (20:57 +0000)]
* Change the order that globals and constants are processed in
* Add support for implicit zero initializers

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5750 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoChanges to the V2 bytecode format:
Chris Lattner [Wed, 19 Mar 2003 20:56:46 +0000 (20:56 +0000)]
Changes to the V2 bytecode format:
  - Null values are implicitly encoded instead of explicitly, this makes
    things more compact!
  - More compactly represent ConstantPointerRefs
  - Bytecode files are represented as:
      Header|GlobalTypes|GlobalVars/Function Protos|Constants|Functions|SymTab
    instead of
      Header|GlobalTypes|Constants|GlobalVars/Function Protos|Functions|SymTab
    which makes a lot of things simpler.

Writer changes:
  - We now explictly encode versioning information in the bytecode files.
  - This allows new code to read bytecode files produced by old code, but
    new bytecode files can have enhancements such as the above.  Although this
    makes the reader a bit more complex (having to deal with old formats), the
    writer only needs to be able to produce the most recent version.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5749 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago* Bug fixes:
Chris Lattner [Wed, 19 Mar 2003 20:54:26 +0000 (20:54 +0000)]
* Bug fixes:
  - Fix problems where the constant table would not get updated when
    resolving constants causes other constants to change.

Changes to the V2 bytecode format
  - Null values are implicitly encoded instead of explicitly, this makes
    things more compact!
  - More compactly represent ConstantPointerRefs
  - Bytecode files are represented as:
      Header|GlobalTypes|GlobalVars/Function Protos|Constants|Functions|SymTab
    instead of
      Header|GlobalTypes|Constants|GlobalVars/Function Protos|Functions|SymTab
    which makes a lot of things simpler.

Changes to the reader:
  - Function loading code is much simpler.  We now no longer make function
    PlaceHolderHelper objects to be replaced with real functions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5748 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd new chunk type
Chris Lattner [Wed, 19 Mar 2003 20:48:27 +0000 (20:48 +0000)]
Add new chunk type

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5747 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix testcase
Chris Lattner [Tue, 18 Mar 2003 22:53:19 +0000 (22:53 +0000)]
Fix testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5746 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix problems with BitSetVector that makes it not compile under GCC 3.0 and 2.95
Chris Lattner [Mon, 17 Mar 2003 18:11:27 +0000 (18:11 +0000)]
Fix problems with BitSetVector that makes it not compile under GCC 3.0 and 2.95

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5745 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix several bugs in the build system, including the use of the Debug version of Burg...
Chris Lattner [Fri, 14 Mar 2003 20:25:22 +0000 (20:25 +0000)]
Fix several bugs in the build system, including the use of the Debug version of Burg no matter what configuration is currently configured.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5744 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd the following instcombine xforms:
Chris Lattner [Tue, 11 Mar 2003 00:12:48 +0000 (00:12 +0000)]
Add the following instcombine xforms:
  - Implement simple reassociation: (A|c1)|(B|c2) == (A|B)|(c1|c2)
  - (A & C1)+(B & C2) -> (A & C1)|(B & C2) iff C1&C2 == 0
  - (A & C1)^(B & C2) -> (A & C1)|(B & C2) iff C1&C2 == 0

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5743 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoTest limited reassociation
Chris Lattner [Tue, 11 Mar 2003 00:10:59 +0000 (00:10 +0000)]
Test limited reassociation

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5742 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd optimizations:
Chris Lattner [Mon, 10 Mar 2003 23:52:54 +0000 (23:52 +0000)]
Add optimizations:
 - (A & C1)+(B & C2) -> (A & C1)|(B & C2) iff C1&C2 == 0
 - (A & C1)^(B & C2) -> (A & C1)|(B & C2) iff C1&C2 == 0

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5741 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoImplement: -A*-B == A*B
Chris Lattner [Mon, 10 Mar 2003 23:23:04 +0000 (23:23 +0000)]
Implement: -A*-B == A*B

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5740 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd testcases for negated multiplies
Chris Lattner [Mon, 10 Mar 2003 23:22:50 +0000 (23:22 +0000)]
Add testcases for negated multiplies

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5739 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd new transformation: // (~A | ~B) == (~(A & B))
Chris Lattner [Mon, 10 Mar 2003 23:13:59 +0000 (23:13 +0000)]
Add new transformation: // (~A | ~B) == (~(A & B))

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5738 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd test for demorgans law with constants
Chris Lattner [Mon, 10 Mar 2003 23:13:32 +0000 (23:13 +0000)]
Add test for demorgans law with constants
Add test for other form of demorgans

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5737 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoGeneralize not and neg comparison testers to allow constant to be considered not...
Chris Lattner [Mon, 10 Mar 2003 23:06:50 +0000 (23:06 +0000)]
Generalize not and neg comparison testers to allow constant to be considered not'able and neg'able.  This
allows optimization of this:
int %test4(int %A, int %B) {
        %a = xor int %A, -1
        %c = and int %a, 5    ; 5 = ~c2
        %d = xor int %c, -1
        ret int %d
}

into this:
int %test4(int %A, int %B) {            ; No predecessors!
        %c.demorgan = or int %A, -6             ; <int> [#uses=1]
        ret int %c.demorgan
}

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5736 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago* Add testcases for associative operators
Chris Lattner [Mon, 10 Mar 2003 22:43:56 +0000 (22:43 +0000)]
* Add testcases for associative operators
* Add testcase for or ubyte, 255 which was broken before

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5735 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix ConstantUInt::isAllOnesValue
Chris Lattner [Mon, 10 Mar 2003 22:39:02 +0000 (22:39 +0000)]
Fix ConstantUInt::isAllOnesValue

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5734 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoGeneralize (A+c1)+c2 optimization to work with all associative operators
Chris Lattner [Mon, 10 Mar 2003 21:43:22 +0000 (21:43 +0000)]
Generalize (A+c1)+c2 optimization to work with all associative operators

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5733 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoModernize testcase
Chris Lattner [Mon, 10 Mar 2003 19:44:01 +0000 (19:44 +0000)]
Modernize testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5732 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMinor change, no functionality diff
Chris Lattner [Mon, 10 Mar 2003 19:20:30 +0000 (19:20 +0000)]
Minor change, no functionality diff

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5731 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd a bunch of new tests
Chris Lattner [Mon, 10 Mar 2003 19:16:20 +0000 (19:16 +0000)]
Add a bunch of new tests

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5730 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix bug: (x << 100) wasn't folded to 0, but (x >> 100) was (when x is unsigned)
Chris Lattner [Mon, 10 Mar 2003 19:16:08 +0000 (19:16 +0000)]
Fix bug: (x << 100) wasn't folded to 0, but (x >> 100) was (when x is unsigned)

Implement new shift optimizations for shifting the result of a shift.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5729 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoImplement: (A|B)^B == A & (~B)
Chris Lattner [Mon, 10 Mar 2003 18:24:17 +0000 (18:24 +0000)]
Implement:  (A|B)^B == A & (~B)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5728 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd test for: (A|B)^B == A & (~B)
Chris Lattner [Mon, 10 Mar 2003 18:24:04 +0000 (18:24 +0000)]
Add test for: (A|B)^B == A & (~B)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5727 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoModernize testcase
Chris Lattner [Mon, 10 Mar 2003 18:20:53 +0000 (18:20 +0000)]
Modernize testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5726 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoThe word 'independent' has no 'a'.
Misha Brukman [Sat, 8 Mar 2003 23:59:05 +0000 (23:59 +0000)]
The word 'independent' has no 'a'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5724 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMake sure that intermediate code is verifier clean to avoid wierd problems.
Chris Lattner [Fri, 7 Mar 2003 18:17:13 +0000 (18:17 +0000)]
Make sure that intermediate code is verifier clean to avoid wierd problems.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5723 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix bug: SimplifyCFG/2003-03-07-DominateProblem.ll
Chris Lattner [Fri, 7 Mar 2003 18:13:41 +0000 (18:13 +0000)]
Fix bug: SimplifyCFG/2003-03-07-DominateProblem.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5722 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNew testcase
Chris Lattner [Fri, 7 Mar 2003 17:42:55 +0000 (17:42 +0000)]
New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5721 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoClean up cruft
Chris Lattner [Thu, 6 Mar 2003 23:23:32 +0000 (23:23 +0000)]
Clean up cruft

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5720 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoExtend struct and array constants to support isNullValue
Chris Lattner [Thu, 6 Mar 2003 21:02:43 +0000 (21:02 +0000)]
Extend struct and array constants to support isNullValue

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5719 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemove #include
Chris Lattner [Thu, 6 Mar 2003 21:02:18 +0000 (21:02 +0000)]
Remove #include
Extend getNullValue to work with struct and array types

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5718 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoUpdate testcases to use long to index gep
Chris Lattner [Thu, 6 Mar 2003 19:59:08 +0000 (19:59 +0000)]
Update testcases to use long to index gep

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5717 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoInfrastructure for more compact bytecode files and REAL support for versioning
Chris Lattner [Thu, 6 Mar 2003 17:55:45 +0000 (17:55 +0000)]
Infrastructure for more compact bytecode files and REAL support for versioning

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5716 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agos/Method/Function in variable and method names
Chris Lattner [Thu, 6 Mar 2003 17:18:14 +0000 (17:18 +0000)]
s/Method/Function in variable and method names

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5715 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoContinue simplifying error handling, s/method/function
Chris Lattner [Thu, 6 Mar 2003 17:15:19 +0000 (17:15 +0000)]
Continue simplifying error handling, s/method/function

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5714 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoCleanup error handling constructs
Chris Lattner [Thu, 6 Mar 2003 17:03:28 +0000 (17:03 +0000)]
Cleanup error handling constructs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5713 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoPull common code out
Chris Lattner [Thu, 6 Mar 2003 16:50:32 +0000 (16:50 +0000)]
Pull common code out

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5712 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoGeneralize interface a bit
Chris Lattner [Thu, 6 Mar 2003 16:50:21 +0000 (16:50 +0000)]
Generalize interface a bit

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5711 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemove unneccesary forward decl
Chris Lattner [Thu, 6 Mar 2003 16:37:29 +0000 (16:37 +0000)]
Remove unneccesary forward decl

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5710 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd new getIncomingValueForBlock method
Chris Lattner [Thu, 6 Mar 2003 16:36:28 +0000 (16:36 +0000)]
Add new getIncomingValueForBlock method
Relax a bit about constness

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5709 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoUse the std namespace explicitly
Chris Lattner [Thu, 6 Mar 2003 16:32:25 +0000 (16:32 +0000)]
Use the std namespace explicitly

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5708 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd a link to source of inspiration
Chris Lattner [Wed, 5 Mar 2003 23:02:25 +0000 (23:02 +0000)]
Add a link to source of inspiration

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5707 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNew testcase for pow builtin recognition
Chris Lattner [Wed, 5 Mar 2003 22:56:59 +0000 (22:56 +0000)]
New testcase for pow builtin recognition

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5706 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd another testcase that may eventually be handled...
Chris Lattner [Wed, 5 Mar 2003 22:50:55 +0000 (22:50 +0000)]
Add another testcase that may eventually be handled...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5705 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoImplement %test7 in InstCombine/getelementptr.ll
Chris Lattner [Wed, 5 Mar 2003 22:33:14 +0000 (22:33 +0000)]
Implement %test7 in InstCombine/getelementptr.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5704 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd testcase for new instcombine xform
Chris Lattner [Wed, 5 Mar 2003 22:32:48 +0000 (22:32 +0000)]
Add testcase for new instcombine xform

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5703 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoImplement CFGSimplify/PhiBlockMerge*.ll
Chris Lattner [Wed, 5 Mar 2003 21:36:33 +0000 (21:36 +0000)]
Implement CFGSimplify/PhiBlockMerge*.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5702 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd new testcase
Chris Lattner [Wed, 5 Mar 2003 21:34:35 +0000 (21:34 +0000)]
Add new testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5701 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoSimplify some of the PHI node interfaces
Chris Lattner [Wed, 5 Mar 2003 21:15:12 +0000 (21:15 +0000)]
Simplify some of the PHI node interfaces

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5700 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoImplement testcase CFGSimplify/EqualPHIEdgeBlockMerge.ll
Chris Lattner [Wed, 5 Mar 2003 21:01:52 +0000 (21:01 +0000)]
Implement testcase CFGSimplify/EqualPHIEdgeBlockMerge.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5699 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNew testcase for feature simplifycfg should handle
Chris Lattner [Wed, 5 Mar 2003 20:35:24 +0000 (20:35 +0000)]
New testcase for feature simplifycfg should handle

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5698 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd testcase for new feature for simplifycfg pass
Chris Lattner [Wed, 5 Mar 2003 20:22:50 +0000 (20:22 +0000)]
Add testcase for new feature for simplifycfg pass

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5697 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoInitial checkin of AliasAnalysis doc
Chris Lattner [Tue, 4 Mar 2003 19:37:49 +0000 (19:37 +0000)]
Initial checkin of AliasAnalysis doc

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5696 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix bug: BasicAA/2003-03-04-GEPCrash.ll
Chris Lattner [Tue, 4 Mar 2003 16:40:17 +0000 (16:40 +0000)]
Fix bug: BasicAA/2003-03-04-GEPCrash.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5695 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNew testcase
Chris Lattner [Tue, 4 Mar 2003 16:33:52 +0000 (16:33 +0000)]
New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5694 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoConvert LICM over to use AliasSetTracker. Besides being nicer, this automatically
Chris Lattner [Mon, 3 Mar 2003 23:32:45 +0000 (23:32 +0000)]
Convert LICM over to use AliasSetTracker.  Besides being nicer, this automatically
allows LICM to use access sizes to help alias analysis be more precise.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5693 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix bug: Assembler/2003-03-03-DuplicateConstant.ll
Chris Lattner [Mon, 3 Mar 2003 23:28:55 +0000 (23:28 +0000)]
Fix bug: Assembler/2003-03-03-DuplicateConstant.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5692 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoADd two new 'add' methods
Chris Lattner [Mon, 3 Mar 2003 23:28:05 +0000 (23:28 +0000)]
ADd two new 'add' methods

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5691 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd a few new 'add' methods. Move the iterator around
Chris Lattner [Mon, 3 Mar 2003 23:27:52 +0000 (23:27 +0000)]
Add a few new 'add' methods.  Move the iterator around

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5690 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMake the testcase more interesting, test that two different array elements don't...
Chris Lattner [Mon, 3 Mar 2003 23:27:15 +0000 (23:27 +0000)]
Make the testcase more interesting, test that two different array elements don't alias

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5689 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNew testcase
Chris Lattner [Mon, 3 Mar 2003 21:29:00 +0000 (21:29 +0000)]
New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5688 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd new testcase for forward reference of struct type
Chris Lattner [Mon, 3 Mar 2003 20:28:42 +0000 (20:28 +0000)]
Add new testcase for forward reference of struct type

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5687 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoEliminate tons of bogus warnings
Chris Lattner [Mon, 3 Mar 2003 19:57:46 +0000 (19:57 +0000)]
Eliminate tons of bogus warnings

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5686 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoChange the mem2reg interface to accept a TargetData argument
Chris Lattner [Mon, 3 Mar 2003 17:25:18 +0000 (17:25 +0000)]
Change the mem2reg interface to accept a TargetData argument

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5685 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoDon't apply type information to load instructions if it will cause collapsing
Chris Lattner [Mon, 3 Mar 2003 17:13:31 +0000 (17:13 +0000)]
Don't apply type information to load instructions if it will cause collapsing

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5684 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoDon't apply type information to loads
Chris Lattner [Mon, 3 Mar 2003 17:13:22 +0000 (17:13 +0000)]
Don't apply type information to loads

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5683 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix a problem with negative indexes
Chris Lattner [Sun, 2 Mar 2003 23:43:34 +0000 (23:43 +0000)]
Fix a problem with negative indexes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5681 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago* Don't run tests if compilation failed
Chris Lattner [Fri, 28 Feb 2003 20:30:20 +0000 (20:30 +0000)]
* Don't run tests if compilation failed
* Don't summarize tests if testing failed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5680 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix broken links
Chris Lattner [Fri, 28 Feb 2003 20:05:20 +0000 (20:05 +0000)]
Fix broken links

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5678 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAllow tests to run for 5 minutes before timing out.
Chris Lattner [Fri, 28 Feb 2003 19:40:05 +0000 (19:40 +0000)]
Allow tests to run for 5 minutes before timing out.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5677 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix bug: LICM/2003-02-28-PromoteDifferentType.ll
Chris Lattner [Fri, 28 Feb 2003 19:21:40 +0000 (19:21 +0000)]
Fix bug: LICM/2003-02-28-PromoteDifferentType.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5675 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix testcase
Chris Lattner [Fri, 28 Feb 2003 19:21:27 +0000 (19:21 +0000)]
Fix testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5674 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd a test for a feature that I hope will be implemented someday
Chris Lattner [Fri, 28 Feb 2003 19:20:56 +0000 (19:20 +0000)]
Add a test for a feature that I hope will be implemented someday

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5673 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNew testcase
Chris Lattner [Fri, 28 Feb 2003 19:13:58 +0000 (19:13 +0000)]
New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5672 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd dump method for Loops
Chris Lattner [Fri, 28 Feb 2003 16:54:45 +0000 (16:54 +0000)]
Add dump method for Loops

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5671 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd dump method for loops
Chris Lattner [Fri, 28 Feb 2003 16:54:37 +0000 (16:54 +0000)]
Add dump method for loops

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5670 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix bug I introduced yesterday :(
Chris Lattner [Fri, 28 Feb 2003 16:54:17 +0000 (16:54 +0000)]
Fix bug I introduced yesterday :(

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5669 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago* Reduce the number of useless bytecode files produced by bugpoint.
Chris Lattner [Fri, 28 Feb 2003 16:13:20 +0000 (16:13 +0000)]
* Reduce the number of useless bytecode files produced by bugpoint.
  - This also speeds it up as the bytecode writer isn't terribly fast.
* Add a new cleanup pass after everything else to run -funcresolve -globaldce

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5668 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix bug: LICM/2003-02-27-PreheaderExitNodeUpdate.ll
Chris Lattner [Fri, 28 Feb 2003 03:07:54 +0000 (03:07 +0000)]
Fix bug: LICM/2003-02-27-PreheaderExitNodeUpdate.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5667 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd graph traits specializations for loop nesting information...
Chris Lattner [Fri, 28 Feb 2003 03:05:15 +0000 (03:05 +0000)]
Add graph traits specializations for loop nesting information...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5666 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNew test
Chris Lattner [Fri, 28 Feb 2003 02:55:26 +0000 (02:55 +0000)]
New test

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5665 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix bug: 2003-02-27-PreheaderExitNodeUpdate.ll by updating exit node info
Chris Lattner [Thu, 27 Feb 2003 22:48:57 +0000 (22:48 +0000)]
Fix bug: 2003-02-27-PreheaderExitNodeUpdate.ll by updating exit node info

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5664 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd new Loop::hasExitBlock helper method
Chris Lattner [Thu, 27 Feb 2003 22:48:28 +0000 (22:48 +0000)]
Add new Loop::hasExitBlock helper method

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5663 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoSimplify a bit by using a new member function
Chris Lattner [Thu, 27 Feb 2003 22:48:08 +0000 (22:48 +0000)]
Simplify a bit by using a new member function

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5662 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoChange behavior of changeExitBlock function to replace all instances of exit block
Chris Lattner [Thu, 27 Feb 2003 22:37:44 +0000 (22:37 +0000)]
Change behavior of changeExitBlock function to replace all instances of exit block

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5661 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNew testcase
Chris Lattner [Thu, 27 Feb 2003 22:34:31 +0000 (22:34 +0000)]
New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5660 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd a new assertion to check that stuff is happening right
Chris Lattner [Thu, 27 Feb 2003 22:31:07 +0000 (22:31 +0000)]
Add a new assertion to check that stuff is happening right
Ironically the exit block modification code wasn't updating the exit block
information itself.  Fix this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5659 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix bug: 2003-02-27-StoreSinkPHIs.ll
Chris Lattner [Thu, 27 Feb 2003 21:59:36 +0000 (21:59 +0000)]
Fix bug: 2003-02-27-StoreSinkPHIs.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5658 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNew testcase
Chris Lattner [Thu, 27 Feb 2003 21:59:31 +0000 (21:59 +0000)]
New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5657 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix bug: LICM/2003-02-27-PreheaderProblem.ll
Chris Lattner [Thu, 27 Feb 2003 21:51:38 +0000 (21:51 +0000)]
Fix bug: LICM/2003-02-27-PreheaderProblem.ll
There may be a single outside predecessor and
still need a new loop-preheader if the predecessor has multiple
successors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5656 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago * Don't forget to update Loop information!
Chris Lattner [Thu, 27 Feb 2003 21:50:19 +0000 (21:50 +0000)]
  * Don't forget to update Loop information!
  * Remove bogus assertion: there may be a single outside predecessor and
    still need a new loop-preheader if the predecessor has multiple
    successors.  See bug: LICM/2003-02-27-PreheaderProblem.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5655 91177308-0d34-0410-b5e6-96231b3b80d8