Vikram S. Adve [Sun, 24 Mar 2002 03:33:53 +0000 (03:33 +0000)]
Change latencies for Load, Store and Branch instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1965
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Sun, 24 Mar 2002 03:33:02 +0000 (03:33 +0000)]
Major enhancements to how array and structure indices are handled.
Improve checking for constants in Multiply.
Simpler method to keep track of when a node is folded into its parent.
Several other bug fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1964
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Sun, 24 Mar 2002 03:25:17 +0000 (03:25 +0000)]
Change treeRoots data structure to make enumeration deterministic.
Also, add a flag to marked nodes that do not need code because they
have been folded into the user (parent in the BURG tree).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1963
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Sun, 24 Mar 2002 03:24:00 +0000 (03:24 +0000)]
Change treeRoots data structure to make enumeration deterministic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1962
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Sun, 24 Mar 2002 03:21:18 +0000 (03:21 +0000)]
Major overhaul to support arbitrary mixed array and structure indices.
Also moved to the Scalar/ directory and renamed to "MultiDim".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1961
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Sun, 24 Mar 2002 03:19:54 +0000 (03:19 +0000)]
Rename pass to DecomposeMultiDimRefs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1960
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Sun, 24 Mar 2002 03:18:49 +0000 (03:18 +0000)]
Fix out-of-date name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1959
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Sun, 24 Mar 2002 03:17:16 +0000 (03:17 +0000)]
Regression tests for DecomposeMultiDimRefs pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1958
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 23 Mar 2002 22:51:58 +0000 (22:51 +0000)]
Rename Method to Function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1957
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 23 Mar 2002 22:48:21 +0000 (22:48 +0000)]
Remove extranous forward decl
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1956
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 23 Mar 2002 22:48:07 +0000 (22:48 +0000)]
Remove unneccesary forward definitions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1955
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 23 Mar 2002 22:47:43 +0000 (22:47 +0000)]
Add transition header file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1954
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 23 Mar 2002 22:47:28 +0000 (22:47 +0000)]
Update documentation, rename Method to Function, move typedef to Value.h for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1953
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 23 Mar 2002 22:46:51 +0000 (22:46 +0000)]
Change Method to Function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1952
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 23 Mar 2002 21:59:53 +0000 (21:59 +0000)]
Add transition typedef to Function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1951
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Sat, 23 Mar 2002 20:46:18 +0000 (20:46 +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@1950
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Sat, 23 Mar 2002 20:44:37 +0000 (20:44 +0000)]
Moved to Scalar/ directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1949
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Sat, 23 Mar 2002 20:43:39 +0000 (20:43 +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@1948
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 22 Mar 2002 19:13:47 +0000 (19:13 +0000)]
Remove compilation of __main because we now link -lgcc into programs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1947
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 22 Mar 2002 18:01:58 +0000 (18:01 +0000)]
Add an assertion that would hopefully catch a problem that was tripping
cameron up
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1944
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 21 Mar 2002 23:02:37 +0000 (23:02 +0000)]
Fix bug test/Regression/Transforms/LevelRaise/2002-03-21-MissedRaise3.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1943
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 21 Mar 2002 23:00:48 +0000 (23:00 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1942
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 21 Mar 2002 22:39:59 +0000 (22:39 +0000)]
Fix test/Regression/Transforms/LevelRaise/2002-03-21-MissedRaise2.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1941
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 21 Mar 2002 22:39:43 +0000 (22:39 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1940
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 21 Mar 2002 22:37:48 +0000 (22:37 +0000)]
* AllocationInst ctor moved here from iMemory.h
* AllocationInst now always has an array size operand
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1939
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 21 Mar 2002 22:37:01 +0000 (22:37 +0000)]
* Make AllocationInst ctor protected
* Move AllocationInst ctor to iMemory.cpp
* AllocationInst's always have one operand, even if it is a uint 1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1938
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 21 Mar 2002 21:29:47 +0000 (21:29 +0000)]
Rerun test if opt gets changed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1937
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 21 Mar 2002 21:24:19 +0000 (21:24 +0000)]
Run all testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1936
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 21 Mar 2002 21:24:13 +0000 (21:24 +0000)]
Build LevelRaise subdirectory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1935
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 21 Mar 2002 21:21:50 +0000 (21:21 +0000)]
Add a debugging option to gccas to cause it to not do level raise or anything
after it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1934
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 21 Mar 2002 21:21:13 +0000 (21:21 +0000)]
Fix test/Regression/Other/2002-03-21-LevelRaiseMiss.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1933
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 21 Mar 2002 21:20:04 +0000 (21:20 +0000)]
Testcase for a missed level raise opportunity
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1932
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 21 Mar 2002 06:27:20 +0000 (06:27 +0000)]
Make ConvertableToGEP handle cases where the user is indexing into the
first element of a structure type. Before this would not be handled because
getStructOffset would either stop immediately (because StopEarly was true
and Offset = 0), or blast past the level we wanted.
Now ConvertableToGEP steps down through the type one level at a time, checking
the Offset and Scale conditions at each step
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1931
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 21 Mar 2002 06:24:00 +0000 (06:24 +0000)]
Implement the new InsertInstBeforeInst function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1930
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 21 Mar 2002 06:22:23 +0000 (06:22 +0000)]
Fix the: test/Regression/Other/2002-03-20-LevelRaiseCrash.ll bug. It turned
out that almost always the result of the add was the same as the GEP that
would be generated. In this case, however, it wasn't, so bad things happened.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1929
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 21 Mar 2002 06:19:43 +0000 (06:19 +0000)]
Fix bug in testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1928
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 21 Mar 2002 06:15:53 +0000 (06:15 +0000)]
Declare the new InsertInstBeforeInst function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1927
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 21 Mar 2002 05:46:43 +0000 (05:46 +0000)]
Remove a misguided API extension
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1926
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 21 Mar 2002 05:39:20 +0000 (05:39 +0000)]
New testcase for YALRB (yet another level raise bug)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1925
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 21 Mar 2002 05:38:15 +0000 (05:38 +0000)]
Add an assertion to catch a misuse of replaceAllUsesWith
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1924
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 21 Mar 2002 05:35:11 +0000 (05:35 +0000)]
Checkin testcase that was just sitting in my tree. Looks like backreferences
have some problem in the parser, oh joy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1923
91177308-0d34-0410-b5e6-
96231b3b80d8
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