oota-llvm.git
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

21 years agoSimplify testcase a bit more
Chris Lattner [Mon, 12 May 2003 02:31:48 +0000 (02:31 +0000)]
Simplify testcase a bit more

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

21 years agoNew testcase that crashes Jello
Chris Lattner [Mon, 12 May 2003 02:27:05 +0000 (02:27 +0000)]
New testcase that crashes Jello

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

21 years agoMake sure that globals are emitted AFTER the passmanager is set up for the JIT,
Chris Lattner [Mon, 12 May 2003 02:14:34 +0000 (02:14 +0000)]
Make sure that globals are emitted AFTER the passmanager is set up for the JIT,
because the globals may refer to functions that need to be compiled!

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

21 years agoCheckin old test
Chris Lattner [Sun, 11 May 2003 22:46:23 +0000 (22:46 +0000)]
Checkin old test

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

21 years agoAdd info about the LLVM_LIB_SEARCH_PATH envvar
Chris Lattner [Sun, 11 May 2003 21:50:06 +0000 (21:50 +0000)]
Add info about the LLVM_LIB_SEARCH_PATH envvar

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

21 years agoRemove dead makefile code
Chris Lattner [Sun, 11 May 2003 21:41:43 +0000 (21:41 +0000)]
Remove dead makefile code

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

21 years agoSwitch over to using the New CFE on Sparc
Chris Lattner [Sun, 11 May 2003 21:41:09 +0000 (21:41 +0000)]
Switch over to using the New CFE on Sparc

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

21 years ago* Remove dead hunk of makefile fragment for dealing with sun compiler
Chris Lattner [Sun, 11 May 2003 18:49:10 +0000 (18:49 +0000)]
* Remove dead hunk of makefile fragment for dealing with sun compiler
* Move LLC code gen stuff into test/Programs/Makefile.programs

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

21 years agoAllow llx tests as well
Chris Lattner [Sun, 11 May 2003 18:38:25 +0000 (18:38 +0000)]
Allow llx tests as well

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

21 years agoFix a halfway done change to the nightly tester :(
Chris Lattner [Sun, 11 May 2003 15:23:10 +0000 (15:23 +0000)]
Fix a halfway done change to the nightly tester :(

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

21 years agoGet the nightly tester to detect other kind of testing problems
Chris Lattner [Sat, 10 May 2003 21:40:10 +0000 (21:40 +0000)]
Get the nightly tester to detect other kind of testing problems

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

21 years agoswitch main LLI core execution to use an InstVisitor instead of a switch statement
Chris Lattner [Sat, 10 May 2003 21:22:39 +0000 (21:22 +0000)]
switch main LLI core execution to use an InstVisitor instead of a switch statement

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

21 years agoForce overwriting the file if it already exists.
Chris Lattner [Sat, 10 May 2003 21:19:00 +0000 (21:19 +0000)]
Force overwriting the file if it already exists.

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

21 years agoUpdate column info
Chris Lattner [Sat, 10 May 2003 20:54:55 +0000 (20:54 +0000)]
Update column info

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

21 years agoFix testcase: SingleSource/UnitTests/2003-05-02-DependantPHI.c
Chris Lattner [Sat, 10 May 2003 20:21:16 +0000 (20:21 +0000)]
Fix testcase: SingleSource/UnitTests/2003-05-02-DependantPHI.c

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

21 years agoFixed comment.
Joel Stanley [Sat, 10 May 2003 01:56:42 +0000 (01:56 +0000)]
Fixed comment.

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

21 years agoUpdate out of date comment
Chris Lattner [Fri, 9 May 2003 22:16:18 +0000 (22:16 +0000)]
Update out of date comment

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

21 years agoUpdates to match recent timer updates
Chris Lattner [Fri, 9 May 2003 20:44:22 +0000 (20:44 +0000)]
Updates to match recent timer updates

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

21 years agoAdd a new info-output-file option (hidden from --help) which is to be used by
Chris Lattner [Fri, 9 May 2003 20:05:44 +0000 (20:05 +0000)]
Add a new info-output-file option (hidden from --help) which is to be used by
the testing scripts  to avoid breaking diffs while still gathering stats.

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

21 years agoEnable the new C front-end for targets which define LLVMGCCARCH
Chris Lattner [Fri, 9 May 2003 04:19:58 +0000 (04:19 +0000)]
Enable the new C front-end for targets which define LLVMGCCARCH

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

21 years agoSwitch over to using the new C front-end by default.
Chris Lattner [Fri, 9 May 2003 04:17:06 +0000 (04:17 +0000)]
Switch over to using the new C front-end by default.

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

21 years agoAdd support for function stubs, which allow calling functions which need to
Chris Lattner [Fri, 9 May 2003 03:30:07 +0000 (03:30 +0000)]
Add support for function stubs, which allow calling functions which need to
have an address available, but have not yet been code generated.

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

21 years agoAdd new method to check to see if a global is available
Chris Lattner [Fri, 9 May 2003 03:29:03 +0000 (03:29 +0000)]
Add new method to check to see if a global is available

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

21 years agoThis blank line has GOT to go.
Chris Lattner [Fri, 9 May 2003 03:28:13 +0000 (03:28 +0000)]
This blank line has GOT to go.

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

21 years agoAllow const functions
Chris Lattner [Fri, 9 May 2003 03:27:41 +0000 (03:27 +0000)]
Allow const functions

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

21 years agoFix bug in last checkin
Chris Lattner [Thu, 8 May 2003 22:00:52 +0000 (22:00 +0000)]
Fix bug in last checkin

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

21 years agoAdd methods for stub function generation
Chris Lattner [Thu, 8 May 2003 21:54:18 +0000 (21:54 +0000)]
Add methods for stub function generation

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

21 years agoAdd new methods for stub generation
Chris Lattner [Thu, 8 May 2003 21:53:57 +0000 (21:53 +0000)]
Add new methods for stub generation

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

21 years agoMinor speedup by avoiding callbacks to functions already generated
Chris Lattner [Thu, 8 May 2003 21:44:21 +0000 (21:44 +0000)]
Minor speedup by avoiding callbacks to functions already generated

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

21 years agoImprove efficiency of JIT by having it use direct function calls instead of
Chris Lattner [Thu, 8 May 2003 21:34:11 +0000 (21:34 +0000)]
Improve efficiency of JIT by having it use direct function calls instead of
signals to regain control from the executing code

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

21 years agoassert early instead of late for unimplemented feature
Chris Lattner [Thu, 8 May 2003 21:08:43 +0000 (21:08 +0000)]
assert early instead of late for unimplemented feature

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

21 years agoAdd support for Add, Sub, And, Or, & Xor constant exprs
Chris Lattner [Thu, 8 May 2003 20:49:25 +0000 (20:49 +0000)]
Add support for Add, Sub, And, Or, & Xor constant exprs

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

21 years agoRemvoe testcase that should never be implemented
Chris Lattner [Thu, 8 May 2003 20:31:37 +0000 (20:31 +0000)]
Remvoe testcase that should never be implemented

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

21 years agoNew testcase
Chris Lattner [Thu, 8 May 2003 20:08:03 +0000 (20:08 +0000)]
New testcase

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

21 years agoAdd support for variable argument functions!
Chris Lattner [Thu, 8 May 2003 19:44:13 +0000 (19:44 +0000)]
Add support for variable argument functions!

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

21 years agoAdd support for variable argument functions!
Chris Lattner [Thu, 8 May 2003 18:41:45 +0000 (18:41 +0000)]
Add support for variable argument functions!

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

21 years agoImplement varargs support for LLI!
Chris Lattner [Thu, 8 May 2003 16:52:43 +0000 (16:52 +0000)]
Implement varargs support for LLI!

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

21 years agoAdd a pointersize/endianness safe load routine to match the store routine
Chris Lattner [Thu, 8 May 2003 16:52:16 +0000 (16:52 +0000)]
Add a pointersize/endianness safe load routine to match the store routine

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

21 years agoA large number of simple changes:
Chris Lattner [Thu, 8 May 2003 16:18:31 +0000 (16:18 +0000)]
A large number of simple changes:
  * s/Method/Function
  * Kill some obsolete (external) functions that used to be to support tracing

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

21 years agoAdd support for recording arguments passed through the ... of a varargs function
Chris Lattner [Thu, 8 May 2003 16:06:52 +0000 (16:06 +0000)]
Add support for recording arguments passed through the ... of a varargs function

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

21 years agova_start only takes on argument now.
Chris Lattner [Thu, 8 May 2003 15:55:44 +0000 (15:55 +0000)]
va_start only takes on argument now.

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

21 years agollvm.va_start only takes on argument now
Chris Lattner [Thu, 8 May 2003 15:55:31 +0000 (15:55 +0000)]
llvm.va_start only takes on argument now
Verify that va_start doesn't occur in functions with no varargs

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

21 years agoUpdate information about the switch instruction
Chris Lattner [Thu, 8 May 2003 05:08:48 +0000 (05:08 +0000)]
Update information about the switch instruction

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

21 years ago* Add information about LLVM intrinsics
Chris Lattner [Thu, 8 May 2003 04:57:36 +0000 (04:57 +0000)]
* Add information about LLVM intrinsics
* Add information about the va_arg instruction
* Add information about the llvm.va_* intrinsics

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

21 years agoAdd more support for intrinsic functions and for varargs stuff
Chris Lattner [Thu, 8 May 2003 03:47:33 +0000 (03:47 +0000)]
Add more support for intrinsic functions and for varargs stuff

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

21 years agoTest the whole range of varargs handling stuff
Chris Lattner [Thu, 8 May 2003 03:46:51 +0000 (03:46 +0000)]
Test the whole range of varargs handling stuff

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

21 years agoInitial support for intrinsic functions
Chris Lattner [Thu, 8 May 2003 03:34:12 +0000 (03:34 +0000)]
Initial support for intrinsic functions

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

21 years agoInitial checkin for LLVM intrinsic functions
Chris Lattner [Thu, 8 May 2003 03:33:54 +0000 (03:33 +0000)]
Initial checkin for LLVM intrinsic functions

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

21 years agoHandle va_arg instruction correctly
Chris Lattner [Thu, 8 May 2003 02:50:13 +0000 (02:50 +0000)]
Handle va_arg instruction correctly

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

21 years agoAdd support for the new va_arg instruction
Chris Lattner [Thu, 8 May 2003 02:44:12 +0000 (02:44 +0000)]
Add support for the new va_arg instruction

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

21 years agoAdd support for the new VarArgInst instruction, reindent some stuff
Chris Lattner [Thu, 8 May 2003 02:43:06 +0000 (02:43 +0000)]
Add support for the new VarArgInst instruction, reindent some stuff

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

21 years agoAdd new VarArgInst class for the va_arg instruction
Chris Lattner [Thu, 8 May 2003 02:42:50 +0000 (02:42 +0000)]
Add new VarArgInst class for the va_arg instruction

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

21 years agoAdd support for new va_arg instruction
Chris Lattner [Thu, 8 May 2003 02:41:11 +0000 (02:41 +0000)]
Add support for new va_arg instruction

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

21 years agoNew testcase
Chris Lattner [Thu, 8 May 2003 02:39:37 +0000 (02:39 +0000)]
New testcase

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

21 years agoDon't inline functions that take variable numbers of arguments!
Chris Lattner [Thu, 8 May 2003 02:36:43 +0000 (02:36 +0000)]
Don't inline functions that take variable numbers of arguments!

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

21 years agoRemove using decl
Chris Lattner [Thu, 8 May 2003 02:34:52 +0000 (02:34 +0000)]
Remove using decl

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

21 years agoRemove using declarations
Chris Lattner [Thu, 8 May 2003 02:08:14 +0000 (02:08 +0000)]
Remove using declarations

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

21 years agoAdded the initial version of the TableGen description for the Sparc backend.
Misha Brukman [Wed, 7 May 2003 21:52:39 +0000 (21:52 +0000)]
Added the initial version of the TableGen description for the Sparc backend.

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

21 years agoFixed syntax error (in documentation!): missing parenthesis.
Misha Brukman [Wed, 7 May 2003 21:47:39 +0000 (21:47 +0000)]
Fixed syntax error (in documentation!): missing parenthesis.

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

21 years agoGrammar fix: `of course' is separated from the sentences by commas on both
Misha Brukman [Wed, 7 May 2003 21:47:16 +0000 (21:47 +0000)]
Grammar fix: `of course' is separated from the sentences by commas on both
sides.

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

21 years agoFix bug: Jello/2003-05-07-ArgumentTest.llx
Chris Lattner [Wed, 7 May 2003 20:31:37 +0000 (20:31 +0000)]
Fix bug: Jello/2003-05-07-ArgumentTest.llx
Also fixes yacr2/ks benchmarks

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

21 years agoNew testcase for problem that is actually generic to all 32 bit LLI targets
Chris Lattner [Wed, 7 May 2003 20:23:32 +0000 (20:23 +0000)]
New testcase for problem that is actually generic to all 32 bit LLI targets

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

21 years agoAdd a vector to keep track of which registers are allocatable. Remove FIXMEs
Chris Lattner [Wed, 7 May 2003 20:08:36 +0000 (20:08 +0000)]
Add a vector to keep track of which registers are allocatable. Remove FIXMEs

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

21 years agoAdd comments, add a vector to keep track of which registers are allocatable
Chris Lattner [Wed, 7 May 2003 20:07:58 +0000 (20:07 +0000)]
Add comments, add a vector to keep track of which registers are allocatable

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

21 years agoIMPLICIT_DEF was not the beautiful elegant solution I thought it was going
Chris Lattner [Wed, 7 May 2003 19:21:28 +0000 (19:21 +0000)]
IMPLICIT_DEF was not the beautiful elegant solution I thought it was going
to be.  In fact, it made stuff worse.  :(

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

21 years agoRe-add gross hack, it's still necessary. :(
Chris Lattner [Tue, 6 May 2003 21:44:54 +0000 (21:44 +0000)]
Re-add gross hack, it's still necessary.  :(

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

21 years agoRemove hideously nasty hack
Chris Lattner [Tue, 6 May 2003 21:32:39 +0000 (21:32 +0000)]
Remove hideously nasty hack

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

21 years agoEmit pseudo instructions to indicate that some registers are live on entrance
Chris Lattner [Tue, 6 May 2003 21:32:22 +0000 (21:32 +0000)]
Emit pseudo instructions to indicate that some registers are live on entrance
and exit of the function.  This fixes bug: Jello/2003-05-06-LivenessClobber.llx
and the Fhourstones benchmark

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

21 years agoDon't have a cow with new pseudo instructions
Chris Lattner [Tue, 6 May 2003 21:31:47 +0000 (21:31 +0000)]
Don't have a cow with new pseudo instructions

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

21 years agoAdd two new pseudo instructions
Chris Lattner [Tue, 6 May 2003 21:31:31 +0000 (21:31 +0000)]
Add two new pseudo instructions

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

21 years agoAdd a new open project
Chris Lattner [Tue, 6 May 2003 20:47:11 +0000 (20:47 +0000)]
Add a new open project

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

21 years agoNew testcase distilled from the fhourstones benchmark
Chris Lattner [Tue, 6 May 2003 19:41:25 +0000 (19:41 +0000)]
New testcase distilled from the fhourstones benchmark

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

21 years agoMake sure to compiel the LowerSwitch tests
Chris Lattner [Tue, 6 May 2003 19:04:02 +0000 (19:04 +0000)]
Make sure to compiel the LowerSwitch tests

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

21 years agoFix memory corruption problem
Chris Lattner [Tue, 6 May 2003 18:45:02 +0000 (18:45 +0000)]
Fix memory corruption problem

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

21 years agoDebug output should go to cerr, not cout, because that's where bytecode goes.
Misha Brukman [Sun, 4 May 2003 22:51:30 +0000 (22:51 +0000)]
Debug output should go to cerr, not cout, because that's where bytecode goes.

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

21 years agoNew testcase
Chris Lattner [Sat, 3 May 2003 18:55:29 +0000 (18:55 +0000)]
New testcase

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

21 years agoFix bug: UnitTests/2003-05-02-DependantPHI.c
Chris Lattner [Sat, 3 May 2003 07:11:00 +0000 (07:11 +0000)]
Fix bug: UnitTests/2003-05-02-DependantPHI.c
Fix testcase MultiSource/Ptrdist-ks

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

21 years agoFix miscompilation in Fhourstones and bug: LICM/2003-05-02-LoadHoist.ll
Chris Lattner [Sat, 3 May 2003 03:42:08 +0000 (03:42 +0000)]
Fix miscompilation in Fhourstones and bug: LICM/2003-05-02-LoadHoist.ll

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

21 years agoFix miscompilation found in Fhourstones by bugpoint
Chris Lattner [Sat, 3 May 2003 03:39:35 +0000 (03:39 +0000)]
Fix miscompilation found in Fhourstones by bugpoint

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

21 years agoIt's 'separate'. The 'i.e.' is kinda nit-picking, but think of it this way:
Misha Brukman [Sat, 3 May 2003 03:31:06 +0000 (03:31 +0000)]
It's 'separate'. The 'i.e.' is kinda nit-picking, but think of it this way:
'separate' is the one causing you to recompile all your passes anyway.

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

21 years agoMake a comment more accurate
Chris Lattner [Sat, 3 May 2003 03:20:36 +0000 (03:20 +0000)]
Make a comment more accurate

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

21 years agoAdd support for debugging miscompilations with the use of the JIT or CBE!
Chris Lattner [Sat, 3 May 2003 03:19:41 +0000 (03:19 +0000)]
Add support for debugging miscompilations with the use of the JIT or CBE!

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

21 years agoBugpoint is always verbose, eliminate option
Chris Lattner [Sat, 3 May 2003 03:18:41 +0000 (03:18 +0000)]
Bugpoint is always verbose, eliminate option

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

21 years ago* Eliminate using decls
Chris Lattner [Sat, 3 May 2003 03:14:35 +0000 (03:14 +0000)]
* Eliminate using decls
* Fix some styleistic things
* Fix bug: CWriter/2002-05-16-NameCollide.ll

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

21 years agoFix buggy tests
Chris Lattner [Sat, 3 May 2003 03:08:54 +0000 (03:08 +0000)]
Fix buggy tests

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

21 years agoThe Hyphenation-Adding Committee is now in session.
Misha Brukman [Sat, 3 May 2003 02:18:17 +0000 (02:18 +0000)]
The Hyphenation-Adding Committee is now in session.

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

21 years agoThe Grammar Police is out on patrol.
Misha Brukman [Sat, 3 May 2003 02:16:43 +0000 (02:16 +0000)]
The Grammar Police is out on patrol.

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

21 years agoAttempt to fix sumant's typesafety issue
Chris Lattner [Fri, 2 May 2003 19:32:04 +0000 (19:32 +0000)]
Attempt to fix sumant's typesafety issue

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

21 years agoFix spelling
Chris Lattner [Fri, 2 May 2003 19:26:34 +0000 (19:26 +0000)]
Fix spelling

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

21 years agoFix a bug which occurred with empty basic blocks
Chris Lattner [Fri, 2 May 2003 18:44:42 +0000 (18:44 +0000)]
Fix a bug which occurred with empty basic blocks

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

21 years agoAdd an instcombine pass before levelraise
Chris Lattner [Fri, 2 May 2003 18:19:05 +0000 (18:19 +0000)]
Add an instcombine pass before levelraise

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

21 years agoFix Bug: LowerSwitch/2003-05-01-PHIProblem.ll
Chris Lattner [Thu, 1 May 2003 22:21:21 +0000 (22:21 +0000)]
Fix Bug: LowerSwitch/2003-05-01-PHIProblem.ll

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

21 years agoReduce testcase a bit
Chris Lattner [Thu, 1 May 2003 21:38:57 +0000 (21:38 +0000)]
Reduce testcase a bit

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

21 years agoNew testcase for the lowerswitch pass
Chris Lattner [Thu, 1 May 2003 21:27:24 +0000 (21:27 +0000)]
New testcase for the lowerswitch pass

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

21 years agoMinor cleanup
Chris Lattner [Thu, 1 May 2003 21:18:47 +0000 (21:18 +0000)]
Minor cleanup

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

21 years agoFix bug: LevelRaise/2003-05-01-CallCast.ll
Chris Lattner [Thu, 1 May 2003 21:02:53 +0000 (21:02 +0000)]
Fix bug: LevelRaise/2003-05-01-CallCast.ll

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