Chris Lattner
b70c1381b4
Remove the assertion failure of course... doh
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6150 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 20:39:39 +00:00
Chris Lattner
8c1919475f
Enable more tests
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6149 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 20:39:30 +00:00
Chris Lattner
4d5a50a7a6
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
2003-05-12 20:36:13 +00:00
Chris Lattner
4f91285df4
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
2003-05-12 20:35:29 +00:00
Chris Lattner
c53544af06
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
2003-05-12 20:16:58 +00:00
Chris Lattner
ee92637cfa
Remove wierd printout
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6145 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 20:10:12 +00:00
Chris Lattner
b52e0241c0
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
2003-05-12 17:37:30 +00:00
Chris Lattner
45343ea5ac
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
2003-05-12 15:39:31 +00:00
Chris Lattner
4dbaba4999
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6127 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 15:34:39 +00:00
Chris Lattner
bc9ab86639
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
2003-05-12 15:33:52 +00:00
Chris Lattner
893af8c058
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
2003-05-12 15:26:25 +00:00
Chris Lattner
2cfd1aef10
Testcase which kills the constant folder
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6124 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 15:18:53 +00:00
Chris Lattner
8017a7575e
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
2003-05-12 15:13:52 +00:00
Chris Lattner
a3dcb74e41
New bug distilled from aha program
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6122 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 15:06:20 +00:00
Chris Lattner
3cbacc9047
Print filename correctly
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6119 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 14:32:04 +00:00
Chris Lattner
19669f37b0
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
2003-05-12 14:31:57 +00:00
Chris Lattner
572c770668
* 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
2003-05-12 14:28:28 +00:00
Chris Lattner
a13f0d3f41
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
2003-05-12 14:26:38 +00:00
Chris Lattner
fb2cb69dc5
* 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
2003-05-12 14:24:00 +00:00
Chris Lattner
bc4a15f6fa
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
2003-05-12 14:23:04 +00:00
Chris Lattner
a6e73f1956
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
2003-05-12 14:22:21 +00:00
Chris Lattner
98719d7cdc
Fix N^2 algorithm
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6112 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 04:08:54 +00:00
Chris Lattner
12ba6fd61f
Add old test
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6111 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 04:06:38 +00:00
Chris Lattner
927ce5dfae
* 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
2003-05-12 03:55:21 +00:00
Chris Lattner
d5725631c5
Fix tab infestation!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6109 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 03:54:14 +00:00
Chris Lattner
9c341366a7
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
2003-05-12 03:51:30 +00:00
Chris Lattner
bbd5839a97
Simplify testcase a bit more
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6107 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 02:31:48 +00:00
Chris Lattner
e22766c14d
New testcase that crashes Jello
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6106 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 02:27:05 +00:00
Chris Lattner
56adf152f6
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
2003-05-12 02:14:34 +00:00
Chris Lattner
82df8dfe87
Checkin old test
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6102 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-11 22:46:23 +00:00
Chris Lattner
1e8166a92a
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
2003-05-11 21:50:06 +00:00
Chris Lattner
98abb52867
Remove dead makefile code
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6095 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-11 21:41:43 +00:00
Chris Lattner
797209d321
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
2003-05-11 21:41:09 +00:00
Chris Lattner
5047688ee5
* 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
2003-05-11 18:49:10 +00:00
Chris Lattner
fb311eb775
Allow llx tests as well
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6088 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-11 18:38:25 +00:00
Chris Lattner
6e51bfa2ea
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
2003-05-11 15:23:10 +00:00
Chris Lattner
2e8be14165
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
2003-05-10 21:40:10 +00:00
Chris Lattner
d7916e988c
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
2003-05-10 21:22:39 +00:00
Chris Lattner
30ac0c0285
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
2003-05-10 21:19:00 +00:00
Chris Lattner
8240c66cb2
Update column info
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6079 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-10 20:54:55 +00:00
Chris Lattner
77113b6272
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
2003-05-10 20:21:16 +00:00
Joel Stanley
b450b20bcf
Fixed comment.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6072 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-10 01:56:42 +00:00
Chris Lattner
fbe3ecdb2c
Update out of date comment
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6070 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-09 22:16:18 +00:00
Chris Lattner
806cebc562
Updates to match recent timer updates
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6069 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-09 20:44:22 +00:00
Chris Lattner
f205fec78a
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
2003-05-09 20:05:44 +00:00
Chris Lattner
e0d8daadad
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
2003-05-09 04:19:58 +00:00
Chris Lattner
6d10765887
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
2003-05-09 04:17:06 +00:00
Chris Lattner
6125fddb52
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
2003-05-09 03:30:07 +00:00
Chris Lattner
70bca51f92
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
2003-05-09 03:29:03 +00:00
Chris Lattner
992ab561f0
This blank line has GOT to go.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6057 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-09 03:28:13 +00:00