Chris Lattner
16ca2b991b
Fix ambiguity problem due to builtin log2(double) function
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3800 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 23:56:50 +00:00
Chris Lattner
5fda99744e
Don't put default parameter values into .cpp files, it breaks 3.x compilers
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3799 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 23:50:32 +00:00
Chris Lattner
ccec07a040
Fix namespace correctness bug
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3798 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 23:48:02 +00:00
Chris Lattner
cb16c65426
There is a #define in some header that conflicts with INFINITY, rename it.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3797 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 23:46:33 +00:00
Chris Lattner
16d1f73cf3
Allow the VERBOSE=1 option to turn on output of recursive make behavior
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3796 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 23:45:34 +00:00
Chris Lattner
b430e0b33d
Add support for gcc 3.2
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3795 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 23:38:38 +00:00
Chris Lattner
f1ffd99a75
Fix parallel recursive make to build directories in order
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3794 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 23:35:02 +00:00
Chris Lattner
52ee1b08ac
Use locally built burg
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3793 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 23:24:57 +00:00
Chris Lattner
ea4b0b2fe5
Build burg tree
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3792 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 23:23:52 +00:00
Chris Lattner
3ae260d267
TEst commit
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3791 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 23:22:31 +00:00
Chris Lattner
9277d45c2a
Test commit
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3790 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 23:20:47 +00:00
Chris Lattner
72c6f02e70
Test change
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3789 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 23:19:46 +00:00
Chris Lattner
29e8558daa
We need an 'all' target to build burg, add it back
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3788 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 23:19:14 +00:00
Chris Lattner
ab83fe2db9
Don't run tests by default
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3787 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 23:04:24 +00:00
Chris Lattner
4f372f0f41
Initial checkin of burg documetnation files
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3786 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 23:03:35 +00:00
Chris Lattner
633a5b1aac
Initial checkin of burg files
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3785 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 23:03:30 +00:00
Chris Lattner
24b70926d5
Avoid using two i's in the same statements
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3784 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 22:43:00 +00:00
Chris Lattner
dfcbf01222
Fix bug: test/Regression/Transforms/InstCombine/2002-09-17-GetElementPtrCrash.ll
...
Thanks to Casey for finding it!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3783 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 21:05:42 +00:00
Chris Lattner
44404ec89d
New regression test
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3782 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 21:02:24 +00:00
Chris Lattner
db5e5df43a
Convert to use long indexes instead of uint
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3781 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 20:47:46 +00:00
Chris Lattner
72e66f4709
Enable correct support for dynamic loading on Linux
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3780 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 20:40:24 +00:00
Chris Lattner
44756999dc
Enable correct support for dynamic loading on Linux
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3779 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 20:40:22 +00:00
Anand Shukla
b379470b90
Removed debug info printing
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3778 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 20:24:46 +00:00
Chris Lattner
82f05d8610
Add support for GCC 2.96
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3777 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 17:23:09 +00:00
Chris Lattner
c2b327768b
Remove extra #include
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3776 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 17:18:12 +00:00
Chris Lattner
ed2e7a9ce4
Fix typeo
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3775 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 16:47:06 +00:00
Vikram S. Adve
913bfbc2e4
Don't print global variable definitions twice! Sun's pathetic compiler
...
never complained about this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3774 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 11:50:38 +00:00
Vikram S. Adve
0e9843db54
Fix typo in comment.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3773 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 11:09:59 +00:00
Vikram S. Adve
d9bacc5a84
Remove specification of argument default from cpp file.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3772 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 01:17:57 +00:00
Chris Lattner
fd214762cb
Remove warning that is no longer applicable
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3771 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-16 22:37:56 +00:00
Chris Lattner
2a548c5d5f
Comment line of the makefile
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3770 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-16 22:36:42 +00:00
Chris Lattner
ccb4ebd6d1
Handle whitespace in LIBRARYNAME gracefully
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3769 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-16 22:34:56 +00:00
Chris Lattner
dbcbe3f7e8
Fix FunctionInlining pass assertion failure:
...
ilist:104: failed assertion `Traits::getNext(NodePtr) != 0 && "Dereferencing end()!"'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3768 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-16 22:30:20 +00:00
Chris Lattner
a9030cb414
Fix typeo
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3767 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-16 22:08:07 +00:00
Chris Lattner
214bf54175
Fix compile problem on linux. Noone should ever #include <inttypes.h>
...
directly. Instead, include Support/DataTypes.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3766 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-16 20:44:19 +00:00
Chris Lattner
47287be7dc
Run the cee pass tests
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3765 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-16 19:09:11 +00:00
Chris Lattner
876a75c79e
Checking testcases for cee pass
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3764 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-16 19:08:36 +00:00
Chris Lattner
8e2e5f74da
Fix: test/Regression/LLC/badidx.c problem
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3763 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-16 18:32:33 +00:00
Vikram S. Adve
6170504cce
Remove duplicate sparc entry.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3762 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-16 18:28:27 +00:00
Vikram S. Adve
055451f011
Use .o files instead of .a files for several cases (that don't actually
...
need them) until other Makefiles can be updated to build archives.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3761 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-16 18:13:12 +00:00
Chris Lattner
fecaf56ef2
Print information about files that were removed
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3760 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-16 18:09:42 +00:00
Vikram S. Adve
2796860297
New preselection pass that specializes LLVM code for a target machine,
...
while remaining in legal portable LLVM form and preserving type
information and type safety.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3759 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-16 18:08:17 +00:00
Nick Hildenbrandt
110d7f3c82
Moved these files to the utils directory.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3758 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-16 17:56:48 +00:00
Vikram S. Adve
33adbcc87d
Add ilist_iterator constructor from a node reference.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3756 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-16 16:46:17 +00:00
Vikram S. Adve
c7a6d24cef
Extract most of the transformation into an externally accessible
...
function -- DecomposeArrayRef(GetElementPtrInst* GEP) -- that can
be invoked on a single instruction at a time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3755 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-16 16:40:07 +00:00
Vikram S. Adve
6189eae5cc
Change several entries to use the .o instead of .a to expose pass options.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3754 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-16 16:36:13 +00:00
Vikram S. Adve
7d0ba02640
Make all registered optimization passes available to llc.
...
Eliminate duplicate tracing options and use those defined by the trace passes.
Making the tracing step a module pass that runs before any llc-specific
passes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3753 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-16 16:35:34 +00:00
Vikram S. Adve
18fdfc4eed
Add support for optimization passes that use a TargetMachine object.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3752 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-16 16:09:43 +00:00
Vikram S. Adve
be376cf6d4
Allow transformation DecomposeArrayRef(GetElementPtrInst* GEP) to
...
be invoked on a single instruction at a time, for use in other passes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3751 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-16 16:07:19 +00:00
Vikram S. Adve
e8f1df6446
Add routines to update or erase operands (and to do so without external
...
assumptions about which operand number stores what operand).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3750 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-16 16:06:12 +00:00