1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
Commit Graph

5937 Commits

Author SHA1 Message Date
Chris Lattner
ed3b3d7c99 Implement casts from unsigned integers to floating point
llvm-svn: 6148
2003-05-12 20:36:13 +00:00
Chris Lattner
d6a47bbefb Add tests for casts from unsigned integers to floats
llvm-svn: 6147
2003-05-12 20:35:29 +00:00
Chris Lattner
a9a5cdb2be Make error messages more useful than jsut an abort
llvm-svn: 6146
2003-05-12 20:16:58 +00:00
Chris Lattner
d2bbdec4bc Remove wierd printout
llvm-svn: 6145
2003-05-12 20:10:12 +00:00
Chris Lattner
a4fe60d3c1 Use a kill, not a dead definition, update comment
llvm-svn: 6131
2003-05-12 17:37:30 +00:00
Chris Lattner
4152a8b0f7 Fix bug: CWriter/2003-05-12-IntegerSizeWarning.c
llvm-svn: 6128
2003-05-12 15:39:31 +00:00
Chris Lattner
e2826021a1 New testcase
llvm-svn: 6127
2003-05-12 15:34:39 +00:00
Chris Lattner
25c0c9e757 Make regression tests fail if any warnings are emitted
llvm-svn: 6126
2003-05-12 15:33:52 +00:00
Chris Lattner
fe799356fd Fix Bug: ConstProp/2003-05-12-DivideError.ll
llvm-svn: 6125
2003-05-12 15:26:25 +00:00
Chris Lattner
2ac743491c Testcase which kills the constant folder
llvm-svn: 6124
2003-05-12 15:18:53 +00:00
Chris Lattner
a8490da0eb Fix Bug: Assembler/2003-05-12-MinIntProblem.llx
llvm-svn: 6123
2003-05-12 15:13:52 +00:00
Chris Lattner
cf7a39ff76 New bug distilled from aha program
llvm-svn: 6122
2003-05-12 15:06:20 +00:00
Chris Lattner
8b8e1625e1 Print filename correctly
llvm-svn: 6119
2003-05-12 14:32:04 +00:00
Chris Lattner
5d3b17a4cc The JIT is the default mode for LLI now
llvm-svn: 6118
2003-05-12 14:31:57 +00:00
Chris Lattner
e78921f048 * 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.

llvm-svn: 6117
2003-05-12 14:28:28 +00:00
Chris Lattner
ce4b5cd9bf Fix bug where we could iterate off the end of a basic block
llvm-svn: 6116
2003-05-12 14:26:38 +00:00
Chris Lattner
a8497e3094 * 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.

llvm-svn: 6115
2003-05-12 14:24:00 +00:00
Chris Lattner
afc685b278 Beef up interface, move getVarInfo out-of-line.
llvm-svn: 6114
2003-05-12 14:23:04 +00:00
Chris Lattner
56f8186e3e Do not insert multiple initializations for the same value in a PHI node
llvm-svn: 6113
2003-05-12 14:22:21 +00:00
Chris Lattner
3ab77b0589 Fix N^2 algorithm
llvm-svn: 6112
2003-05-12 04:08:54 +00:00
Chris Lattner
096a56f435 Add old test
llvm-svn: 6111
2003-05-12 04:06:38 +00:00
Chris Lattner
30e6616afa * Fix several comments
* Update LiveVar info better, fixing bug: Jello/2003-05-11-PHIRegAllocBug.ll

llvm-svn: 6110
2003-05-12 03:55:21 +00:00
Chris Lattner
738ee6f0fd Fix tab infestation!
llvm-svn: 6109
2003-05-12 03:54:14 +00:00
Chris Lattner
d06c47110a Expand API for updating live var info.
Expose iterators, not const-iterators.
Rename method that was VERY misleading

llvm-svn: 6108
2003-05-12 03:51:30 +00:00
Chris Lattner
904444da75 Simplify testcase a bit more
llvm-svn: 6107
2003-05-12 02:31:48 +00:00
Chris Lattner
24b8fe0663 New testcase that crashes Jello
llvm-svn: 6106
2003-05-12 02:27:05 +00:00
Chris Lattner
46f2fc75da 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!

llvm-svn: 6105
2003-05-12 02:14:34 +00:00
Chris Lattner
5b04a3903d Checkin old test
llvm-svn: 6102
2003-05-11 22:46:23 +00:00
Chris Lattner
eca8e3aca6 Add info about the LLVM_LIB_SEARCH_PATH envvar
llvm-svn: 6096
2003-05-11 21:50:06 +00:00
Chris Lattner
cb2c009aec Remove dead makefile code
llvm-svn: 6095
2003-05-11 21:41:43 +00:00
Chris Lattner
1d58ac37ee Switch over to using the New CFE on Sparc
llvm-svn: 6094
2003-05-11 21:41:09 +00:00
Chris Lattner
015f7c491f * Remove dead hunk of makefile fragment for dealing with sun compiler
* Move LLC code gen stuff into test/Programs/Makefile.programs

llvm-svn: 6089
2003-05-11 18:49:10 +00:00
Chris Lattner
ddfc0adffb Allow llx tests as well
llvm-svn: 6088
2003-05-11 18:38:25 +00:00
Chris Lattner
cc0b1feeea Fix a halfway done change to the nightly tester :(
llvm-svn: 6084
2003-05-11 15:23:10 +00:00
Chris Lattner
c9afb3571d Get the nightly tester to detect other kind of testing problems
llvm-svn: 6083
2003-05-10 21:40:10 +00:00
Chris Lattner
023c628a58 switch main LLI core execution to use an InstVisitor instead of a switch statement
llvm-svn: 6081
2003-05-10 21:22:39 +00:00
Chris Lattner
63adf58bae Force overwriting the file if it already exists.
llvm-svn: 6080
2003-05-10 21:19:00 +00:00
Chris Lattner
002fc7baee Update column info
llvm-svn: 6079
2003-05-10 20:54:55 +00:00
Chris Lattner
011dba165e Fix testcase: SingleSource/UnitTests/2003-05-02-DependantPHI.c
llvm-svn: 6074
2003-05-10 20:21:16 +00:00
Joel Stanley
14866a103c Fixed comment.
llvm-svn: 6072
2003-05-10 01:56:42 +00:00
Chris Lattner
c2861218f5 Update out of date comment
llvm-svn: 6070
2003-05-09 22:16:18 +00:00
Chris Lattner
8c98a8f5bd Updates to match recent timer updates
llvm-svn: 6069
2003-05-09 20:44:22 +00:00
Chris Lattner
805f8d646e 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.

llvm-svn: 6067
2003-05-09 20:05:44 +00:00
Chris Lattner
4b2574f414 Enable the new C front-end for targets which define LLVMGCCARCH
llvm-svn: 6065
2003-05-09 04:19:58 +00:00
Chris Lattner
34aa6d4fa4 Switch over to using the new C front-end by default.
llvm-svn: 6064
2003-05-09 04:17:06 +00:00
Chris Lattner
62fa228a18 Add support for function stubs, which allow calling functions which need to
have an address available, but have not yet been code generated.

llvm-svn: 6059
2003-05-09 03:30:07 +00:00
Chris Lattner
451890e365 Add new method to check to see if a global is available
llvm-svn: 6058
2003-05-09 03:29:03 +00:00
Chris Lattner
99520168c9 This blank line has GOT to go.
llvm-svn: 6057
2003-05-09 03:28:13 +00:00
Chris Lattner
3160b1235e Allow const functions
llvm-svn: 6056
2003-05-09 03:27:41 +00:00
Chris Lattner
836e8c1f2a Fix bug in last checkin
llvm-svn: 6055
2003-05-08 22:00:52 +00:00