Chris Lattner [Thu, 21 Mar 2002 03:04:38 +0000 (03:04 +0000)]
1. Fix bug test/Regression/Other/2002-03-20-LevelRaiseBadCodegen.ll
2. Allow negative scales in ConvertableToGEP, so that this loop from
alloc_tree in the Olden health benchmark is correctly raised:
for (i = 3; i >= 0; i--)
fval[i] = alloc_tree(level - 1, label*4 + i + 1, new);
Stepping through the array backwards caused a negative scale.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1922
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 21 Mar 2002 03:02:07 +0000 (03:02 +0000)]
Namespace qualify debugging code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1921
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 21 Mar 2002 03:01:14 +0000 (03:01 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1920
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 19 Mar 2002 05:51:18 +0000 (05:51 +0000)]
Allow implementation of all HANDLE_*_INST macros at once by defining HANDLE_INST
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1919
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Tue, 19 Mar 2002 02:10:34 +0000 (02:10 +0000)]
New pass to convert Convert multi-dimensional
array references into 1-D references.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1918
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Tue, 19 Mar 2002 00:59:08 +0000 (00:59 +0000)]
Big bug fix: killed uses were being inserted instead of erased!
Also added a set of debug options.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1917
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 18 Mar 2002 19:07:42 +0000 (19:07 +0000)]
Initial checkin of InstVisitor class
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1916
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 18 Mar 2002 05:00:51 +0000 (05:00 +0000)]
Add isa,cast,dyncast support for AllocationInst.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1915
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 18 Mar 2002 04:05:26 +0000 (04:05 +0000)]
include Makefile.tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1914
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 18 Mar 2002 04:04:25 +0000 (04:04 +0000)]
Need rule for runtime.o. This is just temporary to provide
ll__main so that llc output can link.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1913
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 18 Mar 2002 03:53:22 +0000 (03:53 +0000)]
Fix libraries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1912
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 18 Mar 2002 03:52:31 +0000 (03:52 +0000)]
Minor changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1911
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 18 Mar 2002 03:47:26 +0000 (03:47 +0000)]
Fixed several problems with handling arguments to Phis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1910
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 18 Mar 2002 03:45:41 +0000 (03:45 +0000)]
Big bug fix: killed uses were being inserted instead of erased!
Also added a set of debug options.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1909
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 18 Mar 2002 03:40:25 +0000 (03:40 +0000)]
Just a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1908
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 18 Mar 2002 03:39:09 +0000 (03:39 +0000)]
New pass to decompose multi-dimensional array references into
a sequence of 1-D references, using a sequence of getElementPtrs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1907
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 18 Mar 2002 03:37:19 +0000 (03:37 +0000)]
Big bug fix: getUsableUniRegAtMI needed to return values in arguments
but did not pass the arguments by reference!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1906
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 18 Mar 2002 03:36:30 +0000 (03:36 +0000)]
Added function computeOffsetforLocalVar to check how big the
offset-from-FP will be before allocating space for a local variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1905
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 18 Mar 2002 03:35:24 +0000 (03:35 +0000)]
Bug fix in setting CC register.
Also use distinct names for the three types of SetMachineOperand
to avoid painful overloading problems and errors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1904
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 18 Mar 2002 03:33:43 +0000 (03:33 +0000)]
Constants are now added to the constant pool only when a load
instruction is actually generated for them.
Rename the different versions of SetMachineOperand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1903
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 18 Mar 2002 03:31:54 +0000 (03:31 +0000)]
Use vector for machine instructions returned by GetInstructionsByRule.
Fix constants in instructions generated for Phi elimination.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1902
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 18 Mar 2002 03:26:48 +0000 (03:26 +0000)]
Big bug fix: getUsableUniRegAtMI needed to return values in arguments
but did not pass the arguments by reference!
Also added a function to get a register class by ID.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1901
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 18 Mar 2002 03:23:29 +0000 (03:23 +0000)]
Added function computeOffsetforLocalVar to check how big the
offset-from-FP will be before allocating space for a local variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1900
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 18 Mar 2002 03:20:46 +0000 (03:20 +0000)]
Use vector for machine instructions in GetInstructionsByRule.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1899
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 18 Mar 2002 03:19:38 +0000 (03:19 +0000)]
Added machine-independent value for INVALID_MACHINE_OPCODE.
Just cosmetic changes otherwise.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1898
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 18 Mar 2002 03:18:28 +0000 (03:18 +0000)]
Add function getRegClassIDOfType.
getRegClassIDOfValue is now just a wrapper around this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1897
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 18 Mar 2002 03:15:35 +0000 (03:15 +0000)]
Add support for code generation for array references.
Also, use distinct names for the three types of SetMachineOperand to
avoid painful overloading problems and errors.
Bug fix in converting-int-to-float. Other minor stuff.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1896
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 18 Mar 2002 03:12:16 +0000 (03:12 +0000)]
Bug fixes for not using unified reg. numbers, and for using the
wrong register class for saving CC registers.
Also, use distinct names for the three types of SetMachineOperand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1895
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 18 Mar 2002 03:10:17 +0000 (03:10 +0000)]
Bug fix in setting CC register.
Also use distinct names for the three types of SetMachineOperand
to avoid painful overloading problems and errors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1894
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 18 Mar 2002 03:09:15 +0000 (03:09 +0000)]
Use distinct names for the three types of SetMachineOperand to
avoid painful overloading problems and errors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1893
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 18 Mar 2002 03:08:07 +0000 (03:08 +0000)]
Minor fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1892
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 18 Mar 2002 03:07:26 +0000 (03:07 +0000)]
Handling of global names was severely broken when converting to 2 passes.
Different labels were generated for the same name in different passes.
Use an annotation to hold a fixed table of names.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1891
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 18 Mar 2002 03:02:42 +0000 (03:02 +0000)]
Several sundry bug fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1890
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 17 Mar 2002 21:16:22 +0000 (21:16 +0000)]
Convert the top line of the header from .cpp style to .h style.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1884
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 17 Mar 2002 21:16:01 +0000 (21:16 +0000)]
Make an assertion provide a more helpful error message
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1883
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Sat, 16 Mar 2002 21:42:33 +0000 (21:42 +0000)]
Regression tests for live-variable analysis on machine code
generated by llc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1882
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 15 Mar 2002 20:35:21 +0000 (20:35 +0000)]
Remove code designed to compensate for a bug in GCC. The bug has since
been fixed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1881
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 15 Mar 2002 20:25:09 +0000 (20:25 +0000)]
Checkin new test for problem anand ran into
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1880
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 15 Mar 2002 20:21:29 +0000 (20:21 +0000)]
Cleanup error message output a bit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1879
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 14 Mar 2002 22:36:15 +0000 (22:36 +0000)]
Expose dead instruction elimination pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1877
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 14 Mar 2002 22:35:50 +0000 (22:35 +0000)]
Fix test/Regression/Other/2002-03-14-ValueToLarge.ll. Note that this
fix could be better, but we don't have the infrastructure to find out what
size types are yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1876
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 14 Mar 2002 22:30:39 +0000 (22:30 +0000)]
Testcase for bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1875
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 14 Mar 2002 20:16:23 +0000 (20:16 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1874
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 14 Mar 2002 19:40:44 +0000 (19:40 +0000)]
New test case for long standing bug that was fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1873
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 14 Mar 2002 19:31:32 +0000 (19:31 +0000)]
Forgot to check this in a long time ago
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1872
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 14 Mar 2002 19:27:43 +0000 (19:27 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1871
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 14 Mar 2002 16:53:48 +0000 (16:53 +0000)]
Add a check to ensure that only PHI nodes are self referential. Code
input to instruction combination was broken, which caused it to explode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1870
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 14 Mar 2002 16:37:04 +0000 (16:37 +0000)]
Fix bug: test/Regression/Other/2002-03-14-LevelRaiseHang.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1869
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 14 Mar 2002 16:35:50 +0000 (16:35 +0000)]
New testcase for bugfx
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1868
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 12 Mar 2002 18:56:45 +0000 (18:56 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1867
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 12 Mar 2002 17:45:36 +0000 (17:45 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1866
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 12 Mar 2002 15:41:36 +0000 (15:41 +0000)]
Echo the right tool name on error
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1865
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 11 Mar 2002 23:28:45 +0000 (23:28 +0000)]
Fix bug: test/Regression/Other/2002-03-11-InstCombineHang.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1864
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 11 Mar 2002 23:28:11 +0000 (23:28 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1863
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 11 Mar 2002 22:21:04 +0000 (22:21 +0000)]
update comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1862
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 11 Mar 2002 22:19:48 +0000 (22:19 +0000)]
* Fix bug: test/Regression/Other/2002-03-11-LevelRaiseIterInvalidate.ll
* Use more concise form of ReplaceInstWithInst to make code simpler
* Output nicer message for dead code eliminated when debugging
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1861
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 11 Mar 2002 22:14:26 +0000 (22:14 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1860
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 11 Mar 2002 22:12:39 +0000 (22:12 +0000)]
Implement TODO for better diagnostic output
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1859
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 11 Mar 2002 22:11:07 +0000 (22:11 +0000)]
Fix bug: test/Regression/Other/2002-03-11-ConstPropCrash.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1858
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 11 Mar 2002 22:09:43 +0000 (22:09 +0000)]
New testcase for failure
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1857
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 11 Mar 2002 20:50:24 +0000 (20:50 +0000)]
Bugfix for test/Regression/Other/2002-03-11-ExprAssertion.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1856
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 11 Mar 2002 20:28:16 +0000 (20:28 +0000)]
Testcase that causes an assertion failure in lib/Analysis/Expressions.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1855
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 11 Mar 2002 19:03:41 +0000 (19:03 +0000)]
New testcase for broken GCCism
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1854
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 11 Mar 2002 17:57:13 +0000 (17:57 +0000)]
Remove runtime library in favor of users linking against real libraries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1853
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 11 Mar 2002 17:52:43 +0000 (17:52 +0000)]
Do not link in runtime library anymore, assume that user manually links in
libraries. Code should be generalized to allow lli to take -lc -lm arguments
in the future (todo)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1852
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 11 Mar 2002 17:49:53 +0000 (17:49 +0000)]
* Implement linking to libraries
* Pass arguments to program through shell script
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1851
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 11 Mar 2002 17:46:50 +0000 (17:46 +0000)]
Add strcat function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1847
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 11 Mar 2002 17:46:34 +0000 (17:46 +0000)]
Add var to find GCCLD tool
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1846
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 11 Mar 2002 17:27:34 +0000 (17:27 +0000)]
Fix bug: test/Regression/Other/2002-03-11-LevelRaiseCalls.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1844
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 11 Mar 2002 17:25:50 +0000 (17:25 +0000)]
New testcase for crashing bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1843
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 8 Mar 2002 23:20:52 +0000 (23:20 +0000)]
Checkin library infrastructure for building stuff to be linked with
gccld
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1842
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 8 Mar 2002 22:51:07 +0000 (22:51 +0000)]
Implement a bunch of new functions to support the SPECINT mcf
benchmark
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1841
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 8 Mar 2002 20:26:17 +0000 (20:26 +0000)]
* Add new method localLookup
* SymbolTable::remove(Value *N) checks to see if we are internally
inconsistent before looking for a type plane (caused a crash)
* insertEntry now does a local lookup instead of a global lookup, which was
causing an infinite loop in the renamer logic.
* Added assertions to make sure stuff stays happy
* Now the linker correctly links the SPECINT2000 mcf benchmark
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1840
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 8 Mar 2002 19:11:42 +0000 (19:11 +0000)]
Fix bug: test/Regression/2002-03-08-NameCollision2.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1839
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 8 Mar 2002 19:10:09 +0000 (19:10 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1838
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 8 Mar 2002 18:57:56 +0000 (18:57 +0000)]
Fix minor memory leak
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1837
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 8 Mar 2002 18:41:32 +0000 (18:41 +0000)]
Fix for: test/Regression/Assembler/2002-03-08-NameCollision.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1836
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 8 Mar 2002 18:41:11 +0000 (18:41 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1835
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 8 Mar 2002 18:38:08 +0000 (18:38 +0000)]
Fix typo in comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1834
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 7 Mar 2002 21:18:00 +0000 (21:18 +0000)]
We were not correctly burrowing down multiple levels to get to a leaf. Fix this now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1833
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 7 Mar 2002 21:17:35 +0000 (21:17 +0000)]
Support changing the pointer type of a store for the case where we are
storing into the first element of the structure type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1832
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 7 Mar 2002 20:16:38 +0000 (20:16 +0000)]
Initial checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1831
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 6 Mar 2002 20:19:35 +0000 (20:19 +0000)]
Clean up call graph, add comments, and fix test/Regression/Other/2002-01-31-CallGraph.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1828
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 6 Mar 2002 18:44:29 +0000 (18:44 +0000)]
Pull interprocedural analyses out of Analysis library into their own lib
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1827
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 6 Mar 2002 18:05:02 +0000 (18:05 +0000)]
Don't forget to build gccld!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1826
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 6 Mar 2002 18:00:49 +0000 (18:00 +0000)]
Move call graph printing support out of Writer.h into Callgraph.h
remove dead global function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1825
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 6 Mar 2002 17:59:45 +0000 (17:59 +0000)]
Move callgraph printing out of writer.h into callgraph.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1824
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 6 Mar 2002 17:41:18 +0000 (17:41 +0000)]
Since verifier and SlotCalculator are now in VMCore library, libanalysis is
no longer required
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1823
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 6 Mar 2002 17:40:37 +0000 (17:40 +0000)]
Pull callgraph out of Cfg namespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1822
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 6 Mar 2002 17:39:28 +0000 (17:39 +0000)]
Pull Callgraph out of the cfg namespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1821
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 6 Mar 2002 17:16:43 +0000 (17:16 +0000)]
Take CallGraph out of the CFG namespace. It has nothing to do with CFGs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1820
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Sun, 3 Mar 2002 20:46:32 +0000 (20:46 +0000)]
Fix include error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1819
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 26 Feb 2002 21:48:24 +0000 (21:48 +0000)]
Add a clean target stub
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1818
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 26 Feb 2002 21:47:29 +0000 (21:47 +0000)]
Change to use new pass accessor functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1817
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 26 Feb 2002 21:46:54 +0000 (21:46 +0000)]
Change over to use new style pass mechanism, now passes only expose small
creation functions in their public header file, unless they can help it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1816
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 26 Feb 2002 21:45:33 +0000 (21:45 +0000)]
Expose more entry points to the verifier
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1815
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 26 Feb 2002 21:38:48 +0000 (21:38 +0000)]
Expose verifier for method and module, and accept constant structures
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1814
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 26 Feb 2002 21:36:53 +0000 (21:36 +0000)]
* Make all command line arguments static
* Change -trace & -tracem options to use a 3 values enum option
* Change to use new style interface to passes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1813
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 26 Feb 2002 20:04:59 +0000 (20:04 +0000)]
Move ProfilePaths class into ProfilePaths library, only expose a creation function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1812
91177308-0d34-0410-b5e6-
96231b3b80d8
Anand Shukla [Tue, 26 Feb 2002 19:57:59 +0000 (19:57 +0000)]
Includes -paths option to trace paths in the program
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1811
91177308-0d34-0410-b5e6-
96231b3b80d8