oota-llvm.git
21 years agoThe word `operands' has an `r' in it.
Misha Brukman [Tue, 20 May 2003 20:36:39 +0000 (20:36 +0000)]
The word `operands' has an `r' in it.

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

21 years agoSparc instruction opcodes now all live under the `V9' namespace.
Misha Brukman [Tue, 20 May 2003 20:32:24 +0000 (20:32 +0000)]
Sparc instruction opcodes now all live under the `V9' namespace.

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

21 years agos/convertable/convertible/g
Misha Brukman [Tue, 20 May 2003 18:45:36 +0000 (18:45 +0000)]
s/convertable/convertible/g

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

21 years agoThe plural of `Pass' is Passes, not Pass's.
Misha Brukman [Tue, 20 May 2003 18:39:06 +0000 (18:39 +0000)]
The plural of `Pass' is Passes, not Pass's.

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

21 years agoAdd flexibility
Chris Lattner [Sat, 17 May 2003 22:33:18 +0000 (22:33 +0000)]
Add flexibility

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

21 years agoAdd support for setjmp/longjmp primitives
Chris Lattner [Sat, 17 May 2003 22:26:33 +0000 (22:26 +0000)]
Add support for setjmp/longjmp primitives
Patch checked in for Bill Wendling :)

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

21 years agoInitial test
Chris Lattner [Sat, 17 May 2003 22:18:33 +0000 (22:18 +0000)]
Initial test

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

21 years agoFix bug: Assembler/2003-05-15-SwitchBug.ll
Chris Lattner [Thu, 15 May 2003 21:30:00 +0000 (21:30 +0000)]
Fix bug: Assembler/2003-05-15-SwitchBug.ll

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

21 years agoAdd facilities for building source that is outside of the current directory
Chris Lattner [Thu, 15 May 2003 21:28:55 +0000 (21:28 +0000)]
Add facilities for building source that is outside of the current directory

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

21 years agoNew testcase, straight out of the asm manual
Chris Lattner [Thu, 15 May 2003 21:02:11 +0000 (21:02 +0000)]
New testcase, straight out of the asm manual

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

21 years agoAdd note
Chris Lattner [Thu, 15 May 2003 19:38:39 +0000 (19:38 +0000)]
Add note

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

21 years agoFix bug: Assembler/2003-05-15-AssemblerProblem.llx
Chris Lattner [Thu, 15 May 2003 19:37:21 +0000 (19:37 +0000)]
Fix bug: Assembler/2003-05-15-AssemblerProblem.llx

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

21 years agoNew testcase that breaks the assembler.
Chris Lattner [Thu, 15 May 2003 18:52:08 +0000 (18:52 +0000)]
New testcase that breaks the assembler.

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

21 years agoFix long standing bug
Chris Lattner [Thu, 15 May 2003 18:25:13 +0000 (18:25 +0000)]
Fix long standing bug

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

21 years agoFix bug: Analysis/LoopInfo/2003-05-15-NestingProblem.ll
Chris Lattner [Thu, 15 May 2003 18:03:51 +0000 (18:03 +0000)]
Fix bug: Analysis/LoopInfo/2003-05-15-NestingProblem.ll

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

21 years agoDepends on analyze, not opt
Chris Lattner [Thu, 15 May 2003 18:03:32 +0000 (18:03 +0000)]
Depends on analyze, not opt

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

21 years agoNew directory
Chris Lattner [Thu, 15 May 2003 18:03:12 +0000 (18:03 +0000)]
New directory

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

21 years agoNew test
Chris Lattner [Thu, 15 May 2003 18:03:03 +0000 (18:03 +0000)]
New test

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

21 years agoAdd new loopinfo test
Chris Lattner [Thu, 15 May 2003 18:02:54 +0000 (18:02 +0000)]
Add new loopinfo test

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

21 years agoFix Bug: Linker/2003-05-15-TypeProblem.ll
Chris Lattner [Thu, 15 May 2003 16:30:55 +0000 (16:30 +0000)]
Fix Bug: Linker/2003-05-15-TypeProblem.ll

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

21 years agoNew linker problem from twolf benchmark
Chris Lattner [Thu, 15 May 2003 16:01:32 +0000 (16:01 +0000)]
New linker problem from twolf benchmark

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

21 years agoNew testcase
Chris Lattner [Wed, 14 May 2003 23:34:17 +0000 (23:34 +0000)]
New testcase

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

21 years agoGet rid of really old makefile cruft
Chris Lattner [Wed, 14 May 2003 21:31:31 +0000 (21:31 +0000)]
Get rid of really old makefile cruft

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

21 years agoNew testcase that breaks CFE
Chris Lattner [Wed, 14 May 2003 21:08:04 +0000 (21:08 +0000)]
New testcase that breaks CFE

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

21 years agoUlimit the test, and print out a more interesting output if failure occurs
Chris Lattner [Wed, 14 May 2003 19:54:07 +0000 (19:54 +0000)]
Ulimit the test, and print out a more interesting output if failure occurs

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

21 years agoRemove long dead file
Chris Lattner [Wed, 14 May 2003 19:02:27 +0000 (19:02 +0000)]
Remove long dead file

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

21 years agoFix path problem
Chris Lattner [Wed, 14 May 2003 18:44:22 +0000 (18:44 +0000)]
Fix path problem

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

21 years agoGeneralize the script a bit
Chris Lattner [Wed, 14 May 2003 18:39:57 +0000 (18:39 +0000)]
Generalize the script a bit

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

21 years agoModernize testcases
Chris Lattner [Wed, 14 May 2003 18:37:03 +0000 (18:37 +0000)]
Modernize testcases

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

21 years agoFix typeos
Chris Lattner [Wed, 14 May 2003 17:53:49 +0000 (17:53 +0000)]
Fix typeos

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

21 years agoAdd support for more constant expressions
Chris Lattner [Wed, 14 May 2003 17:51:49 +0000 (17:51 +0000)]
Add support for more constant expressions

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

21 years agoRemove unnecessary casts
Chris Lattner [Wed, 14 May 2003 17:51:05 +0000 (17:51 +0000)]
Remove unnecessary casts

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

21 years agoPrint opaque types
Chris Lattner [Wed, 14 May 2003 17:50:47 +0000 (17:50 +0000)]
Print opaque types

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

21 years agoCasts are now unnecessary
Chris Lattner [Wed, 14 May 2003 17:50:19 +0000 (17:50 +0000)]
Casts are now unnecessary

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

21 years agoAdd some methods to make type safety a bit easier
Chris Lattner [Wed, 14 May 2003 17:49:52 +0000 (17:49 +0000)]
Add some methods to make type safety a bit easier

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

21 years agoNew testcase producing assertion failure
Chris Lattner [Wed, 14 May 2003 15:44:54 +0000 (15:44 +0000)]
New testcase producing assertion failure

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

21 years agoForgot to make test executable
Chris Lattner [Wed, 14 May 2003 14:47:38 +0000 (14:47 +0000)]
Forgot to make test executable

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

21 years agonew testcase
Chris Lattner [Wed, 14 May 2003 14:38:10 +0000 (14:38 +0000)]
new testcase

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

21 years agoAdd support for atexit function, remove support for __main function
Chris Lattner [Wed, 14 May 2003 14:21:30 +0000 (14:21 +0000)]
Add support for atexit function, remove support for __main function

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

21 years agoAdd support for atexit handlers to the JIT, fixing 2003-05-14-AtExit.c
Chris Lattner [Wed, 14 May 2003 13:53:40 +0000 (13:53 +0000)]
Add support for atexit handlers to the JIT, fixing 2003-05-14-AtExit.c

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

21 years agoFix compilation problems with previous checking *blush*
Chris Lattner [Wed, 14 May 2003 13:27:36 +0000 (13:27 +0000)]
Fix compilation problems with previous checking *blush*

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

21 years agoAdd a framework for intercepting system calls
Chris Lattner [Wed, 14 May 2003 13:26:47 +0000 (13:26 +0000)]
Add a framework for intercepting system calls

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

21 years agoDead file
Chris Lattner [Wed, 14 May 2003 13:10:18 +0000 (13:10 +0000)]
Dead file

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

21 years agoMinor updates
Chris Lattner [Wed, 14 May 2003 13:09:57 +0000 (13:09 +0000)]
Minor updates

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

21 years agoInitial checkin of crtend.o implementation
Chris Lattner [Wed, 14 May 2003 13:09:41 +0000 (13:09 +0000)]
Initial checkin of crtend.o implementation

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

21 years agoNew file
Chris Lattner [Wed, 14 May 2003 12:40:20 +0000 (12:40 +0000)]
New file

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

21 years agoFix major problem with appending linkage changes
Chris Lattner [Wed, 14 May 2003 12:11:51 +0000 (12:11 +0000)]
Fix major problem with appending linkage changes

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

21 years agoFix bug
Chris Lattner [Wed, 14 May 2003 02:47:13 +0000 (02:47 +0000)]
Fix bug

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

21 years agoSearch LLVM_LIB_SEARCH_PATH for objects to allow it to find crtend.o
Chris Lattner [Tue, 13 May 2003 22:14:13 +0000 (22:14 +0000)]
Search LLVM_LIB_SEARCH_PATH for objects to allow it to find crtend.o
Implement minor library linking optimization.

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

21 years agoImplement another getelementptr folding opportunity that arises when
Chris Lattner [Tue, 13 May 2003 21:50:52 +0000 (21:50 +0000)]
Implement another getelementptr folding opportunity that arises when
linking stuff with appending linkage

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

21 years agoEliminate using declarations
Chris Lattner [Tue, 13 May 2003 21:37:02 +0000 (21:37 +0000)]
Eliminate using declarations

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

21 years agoImplement linkage of appending global variables!
Chris Lattner [Tue, 13 May 2003 21:33:43 +0000 (21:33 +0000)]
Implement linkage of appending global variables!

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

21 years agoAdd uses of the appending variable
Chris Lattner [Tue, 13 May 2003 21:32:48 +0000 (21:32 +0000)]
Add uses of the appending variable

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

21 years agoAdd new testcase for appending linkage
Chris Lattner [Tue, 13 May 2003 20:48:17 +0000 (20:48 +0000)]
Add new testcase for appending linkage

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

21 years agoNew test for appending linkage
Chris Lattner [Tue, 13 May 2003 20:31:46 +0000 (20:31 +0000)]
New test for appending linkage

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

21 years agoClean up cast
Chris Lattner [Tue, 13 May 2003 20:29:17 +0000 (20:29 +0000)]
Clean up cast

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

21 years agoClean up #includes
Chris Lattner [Tue, 13 May 2003 20:21:19 +0000 (20:21 +0000)]
Clean up #includes

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

21 years agoFix bug: CBackend/2003-05-13-VarArgFunction.ll
Chris Lattner [Tue, 13 May 2003 20:15:37 +0000 (20:15 +0000)]
Fix bug: CBackend/2003-05-13-VarArgFunction.ll
In C, a prototype with no arguments is varargs.  A prototype that takes void
has zero args.

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

21 years agoNew testcase
Chris Lattner [Tue, 13 May 2003 20:11:21 +0000 (20:11 +0000)]
New testcase

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

21 years agoAdd support for the LLVM C++ frontend
Chris Lattner [Tue, 13 May 2003 20:06:00 +0000 (20:06 +0000)]
Add support for the LLVM C++ frontend

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

21 years agoMake test cases executable
Chris Lattner [Tue, 13 May 2003 19:50:01 +0000 (19:50 +0000)]
Make test cases executable

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

21 years agoMake testcase executable
Chris Lattner [Tue, 13 May 2003 19:40:31 +0000 (19:40 +0000)]
Make testcase executable

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

21 years agoNew testcase
Chris Lattner [Tue, 13 May 2003 18:09:44 +0000 (18:09 +0000)]
New testcase

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

21 years agoAdd test for handling ptrmem_cst
Chris Lattner [Mon, 12 May 2003 23:34:59 +0000 (23:34 +0000)]
Add test for handling ptrmem_cst

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

21 years agoMake test more interesting
Chris Lattner [Mon, 12 May 2003 23:33:00 +0000 (23:33 +0000)]
Make test more interesting

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

21 years agoAdd first C++ test
Chris Lattner [Mon, 12 May 2003 23:22:51 +0000 (23:22 +0000)]
Add first C++ test

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

21 years agoFix bug: Dominators/2003-05-12-UnreachableCode.ll
Chris Lattner [Mon, 12 May 2003 22:35:13 +0000 (22:35 +0000)]
Fix bug: Dominators/2003-05-12-UnreachableCode.ll

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

21 years agoNew testcase
Chris Lattner [Mon, 12 May 2003 22:28:15 +0000 (22:28 +0000)]
New testcase

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

21 years agoNew file
Chris Lattner [Mon, 12 May 2003 22:25:24 +0000 (22:25 +0000)]
New file

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

21 years agoAdd a disable-verify option
Chris Lattner [Mon, 12 May 2003 22:12:44 +0000 (22:12 +0000)]
Add a disable-verify option

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

21 years agoMove static stuff to an anonymous namespace
Chris Lattner [Mon, 12 May 2003 22:08:58 +0000 (22:08 +0000)]
Move static stuff to an anonymous namespace

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

21 years agoFix bug: LoopPreheaders/2003-05-12-PreheaderExitOfChild.ll
Chris Lattner [Mon, 12 May 2003 22:04:34 +0000 (22:04 +0000)]
Fix bug: LoopPreheaders/2003-05-12-PreheaderExitOfChild.ll

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

21 years agoNew testcase
Chris Lattner [Mon, 12 May 2003 21:57:41 +0000 (21:57 +0000)]
New testcase

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

21 years agoMake abort more explicit
Chris Lattner [Mon, 12 May 2003 21:16:26 +0000 (21:16 +0000)]
Make abort more explicit

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

21 years agoRemove the assertion failure of course... doh
Chris Lattner [Mon, 12 May 2003 20:39:39 +0000 (20:39 +0000)]
Remove the assertion failure of course... doh

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

21 years agoEnable more tests
Chris Lattner [Mon, 12 May 2003 20:39:30 +0000 (20:39 +0000)]
Enable more tests

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

21 years agoImplement casts from unsigned integers to floating point
Chris Lattner [Mon, 12 May 2003 20:36:13 +0000 (20:36 +0000)]
Implement casts from unsigned integers to floating point

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

21 years agoAdd tests for casts from unsigned integers to floats
Chris Lattner [Mon, 12 May 2003 20:35:29 +0000 (20:35 +0000)]
Add tests for casts from unsigned integers to floats

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

21 years agoMake error messages more useful than jsut an abort
Chris Lattner [Mon, 12 May 2003 20:16:58 +0000 (20:16 +0000)]
Make error messages more useful than jsut an abort

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

21 years agoRemove wierd printout
Chris Lattner [Mon, 12 May 2003 20:10:12 +0000 (20:10 +0000)]
Remove wierd printout

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

21 years agoUse a kill, not a dead definition, update comment
Chris Lattner [Mon, 12 May 2003 17:37:30 +0000 (17:37 +0000)]
Use a kill, not a dead definition, update comment

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

21 years agoFix bug: CWriter/2003-05-12-IntegerSizeWarning.c
Chris Lattner [Mon, 12 May 2003 15:39:31 +0000 (15:39 +0000)]
Fix bug: CWriter/2003-05-12-IntegerSizeWarning.c

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

21 years agoNew testcase
Chris Lattner [Mon, 12 May 2003 15:34:39 +0000 (15:34 +0000)]
New testcase

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

21 years agoMake regression tests fail if any warnings are emitted
Chris Lattner [Mon, 12 May 2003 15:33:52 +0000 (15:33 +0000)]
Make regression tests fail if any warnings are emitted

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

21 years agoFix Bug: ConstProp/2003-05-12-DivideError.ll
Chris Lattner [Mon, 12 May 2003 15:26:25 +0000 (15:26 +0000)]
Fix Bug: ConstProp/2003-05-12-DivideError.ll

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

21 years agoTestcase which kills the constant folder
Chris Lattner [Mon, 12 May 2003 15:18:53 +0000 (15:18 +0000)]
Testcase which kills the constant folder

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

21 years agoFix Bug: Assembler/2003-05-12-MinIntProblem.llx
Chris Lattner [Mon, 12 May 2003 15:13:52 +0000 (15:13 +0000)]
Fix Bug: Assembler/2003-05-12-MinIntProblem.llx

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

21 years agoNew bug distilled from aha program
Chris Lattner [Mon, 12 May 2003 15:06:20 +0000 (15:06 +0000)]
New bug distilled from aha program

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

21 years agoPrint filename correctly
Chris Lattner [Mon, 12 May 2003 14:32:04 +0000 (14:32 +0000)]
Print filename correctly

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

21 years agoThe JIT is the default mode for LLI now
Chris Lattner [Mon, 12 May 2003 14:31:57 +0000 (14:31 +0000)]
The JIT is the default mode for LLI now

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

21 years ago* Keep LiveVariable information more up-to-date and consistent
Chris Lattner [Mon, 12 May 2003 14:28:28 +0000 (14:28 +0000)]
* Keep LiveVariable information more up-to-date and consistent
* *** Finally mark values that are inputs to PHIs as killed when appropriate.
   This should make the generated code quite a bit better.  For example, the
   local-ra will not have to spill PHI inputs at the end of predecessor BB's
   anymore.

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

21 years agoFix bug where we could iterate off the end of a basic block
Chris Lattner [Mon, 12 May 2003 14:26:38 +0000 (14:26 +0000)]
Fix bug where we could iterate off the end of a basic block

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

21 years ago* Keep the BBMap around as long as the pass is live
Chris Lattner [Mon, 12 May 2003 14:24:00 +0000 (14:24 +0000)]
* Keep the BBMap around as long as the pass is live
* Change getVarInfo to take real virtual register numbers and offset them
  itself.  This has caused me so much grief, it's not even funny.

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

21 years agoBeef up interface, move getVarInfo out-of-line.
Chris Lattner [Mon, 12 May 2003 14:23:04 +0000 (14:23 +0000)]
Beef up interface, move getVarInfo out-of-line.

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

21 years agoDo not insert multiple initializations for the same value in a PHI node
Chris Lattner [Mon, 12 May 2003 14:22:21 +0000 (14:22 +0000)]
Do not insert multiple initializations for the same value in a PHI node

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

21 years agoFix N^2 algorithm
Chris Lattner [Mon, 12 May 2003 04:08:54 +0000 (04:08 +0000)]
Fix N^2 algorithm

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

21 years agoAdd old test
Chris Lattner [Mon, 12 May 2003 04:06:38 +0000 (04:06 +0000)]
Add old test

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

21 years ago* Fix several comments
Chris Lattner [Mon, 12 May 2003 03:55:21 +0000 (03:55 +0000)]
* Fix several comments
* Update LiveVar info better, fixing bug: Jello/2003-05-11-PHIRegAllocBug.ll

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

21 years agoFix tab infestation!
Chris Lattner [Mon, 12 May 2003 03:54:14 +0000 (03:54 +0000)]
Fix tab infestation!

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

21 years agoExpand API for updating live var info.
Chris Lattner [Mon, 12 May 2003 03:51:30 +0000 (03:51 +0000)]
Expand API for updating live var info.
Expose iterators, not const-iterators.
Rename method that was VERY misleading

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