Commit Graph

32417 Commits

Author SHA1 Message Date
Tanya Lattner 2357362805 Bumping cvs version number
llvm-svn: 36922
2007-05-08 04:32:07 +00:00
Tanya Lattner dbe7487618 Bump version number in cvs
llvm-svn: 36920
2007-05-08 04:22:59 +00:00
Chris Lattner 4ef41c1054 move this out of Codegen/Generic, because it requires the ARM backend to be
linked into llc

llvm-svn: 36919
2007-05-08 02:19:56 +00:00
Chris Lattner d1f5ab0da8 move to CodeGen/ARM/2007-05-07-tailmerge-1.ll
llvm-svn: 36918
2007-05-08 02:13:52 +00:00
Dale Johannesen 86e1dcf530 Don't generate branch to entry block.
llvm-svn: 36917
2007-05-08 01:01:04 +00:00
Lauro Ramos Venancio 744350b131 Fix PR1390 in a better way.
llvm-svn: 36916
2007-05-07 23:15:16 +00:00
Evan Cheng ef409e2780 Fix tests.
llvm-svn: 36913
2007-05-07 21:50:07 +00:00
Evan Cheng 2d828d2e3c Add some tests for (conv (load x)) -> (load (conv*)x) xform.
llvm-svn: 36912
2007-05-07 21:49:35 +00:00
Evan Cheng 7cbd722dba Fix test case.
llvm-svn: 36911
2007-05-07 21:38:05 +00:00
Evan Cheng 562e45692e Forgot a check.
llvm-svn: 36910
2007-05-07 21:36:06 +00:00
Evan Cheng d37c23745f This is no longer needed after enabling the DAG combiner xform.
llvm-svn: 36909
2007-05-07 21:29:41 +00:00
Evan Cheng a4cf58a103 Enable a couple of xforms:
- (store (bitconvert v)) -> (store v) if resultant store does not require
higher alignment
- (bitconvert (load v)) -> (load (bitconvert*)v) if resultant load does not
require higher alignment

llvm-svn: 36908
2007-05-07 21:27:48 +00:00
Dale Johannesen 9a25b3afcd Handle some non-exit blocks in tail merging.
llvm-svn: 36907
2007-05-07 20:57:21 +00:00
Duncan Sands 671e8c4444 Parameter attributes on invoke calls were being lost due to the wrong
attribute index being used.  Fix proposed by Anton Korobeynikov, who
asked me to implement and commit it for him.  This is PR1398.

llvm-svn: 36906
2007-05-07 20:49:28 +00:00
Duncan Sands 7208cd6e4e Testcase for PR1398.
llvm-svn: 36905
2007-05-07 20:45:20 +00:00
Reid Spencer c32d55e17c Initialize variable to null so it has a value in the off chance that a
memory buffer couldn't be allocated.

llvm-svn: 36904
2007-05-07 18:50:07 +00:00
Evan Cheng 100984c727 Update.
llvm-svn: 36903
2007-05-07 17:58:13 +00:00
Jeff Cohen b6e144cffe Unbreak VC++ build.
llvm-svn: 36901
2007-05-07 15:21:46 +00:00
Chris Lattner 9e9a34c6bf use the new MemoryBuffer interfaces to simplify error reporting in clients.
llvm-svn: 36900
2007-05-06 23:45:49 +00:00
Chris Lattner 275757a05e Enhance MemoryBuffer to return error messages in strings if they occur.
llvm-svn: 36899
2007-05-06 23:32:36 +00:00
Chris Lattner 05be1d44da remove dead option
llvm-svn: 36898
2007-05-06 23:24:42 +00:00
Chris Lattner 7feb9c17fa this is obsolete
llvm-svn: 36897
2007-05-06 23:21:05 +00:00
Chris Lattner 8f7f575a08 link to the bitcode doc
llvm-svn: 36896
2007-05-06 23:20:06 +00:00
Chris Lattner 8009d4a2f4 bzip2 is gone
llvm-svn: 36895
2007-05-06 23:18:44 +00:00
Chris Lattner 3b6f75cb2f Fix PR1395, by passing the ID correctly
llvm-svn: 36894
2007-05-06 23:13:56 +00:00
Anton Korobeynikov a400e39a16 Update fields
llvm-svn: 36893
2007-05-06 20:33:02 +00:00
Chris Lattner 5992f4709c add this back
llvm-svn: 36892
2007-05-06 20:31:17 +00:00
Anton Korobeynikov a8fd7fdc25 Detabify
llvm-svn: 36891
2007-05-06 20:14:21 +00:00
Anton Korobeynikov c892cf466d Update MSIL BE. This patch fixes most weird glitches outlined in
README.txt. Patch by Roman Samoilov!

llvm-svn: 36890
2007-05-06 20:13:33 +00:00
Chris Lattner b2e0a70aa2 lib/Bytecode is dead
llvm-svn: 36889
2007-05-06 19:51:20 +00:00
Chris Lattner 0848ff0a08 move this to lib/Archive
llvm-svn: 36888
2007-05-06 19:50:53 +00:00
Chris Lattner 00246e9af5 build lib/Archive instead of lib/Bytecode
llvm-svn: 36887
2007-05-06 19:50:06 +00:00
Chris Lattner 5b18322e83 adjust this to live in lib/Archive
llvm-svn: 36886
2007-05-06 19:49:28 +00:00
Chris Lattner dc5d7ed6a7 remove bytecode headers
llvm-svn: 36885
2007-05-06 19:47:36 +00:00
Chris Lattner 7c01ed123b remove dead header
llvm-svn: 36884
2007-05-06 19:46:23 +00:00
Chris Lattner 69a1f813a2 Fix a buggy conversion from bytecode to bitcode
llvm-svn: 36883
2007-05-06 19:43:09 +00:00
Chris Lattner 9c868209b7 remove bytecode reader
llvm-svn: 36882
2007-05-06 19:42:57 +00:00
Chris Lattner cbde84070a remove the old bc writer
llvm-svn: 36881
2007-05-06 19:33:40 +00:00
Chris Lattner 53862f7d2b fix off-by-one that caused the llvm2cpp test to fail
llvm-svn: 36880
2007-05-06 19:27:46 +00:00
Chris Lattner c57f2187b0 remove libbzip2 from this. This should use llvm-config or something.
llvm-svn: 36879
2007-05-06 19:21:48 +00:00
Chris Lattner 44f8ad1d40 Flush the file after writing bitcode so that clients who don't close their
ofstreams will be ok.

llvm-svn: 36878
2007-05-06 19:19:23 +00:00
Chris Lattner 9b4a428978 make sure the ofstream for opt's output file is destroyed, so that the bits
actually land on disk.

llvm-svn: 36877
2007-05-06 19:17:23 +00:00
Chris Lattner 4211c20988 remove this file for now, we can bring it back from cvs if we need it in
the future (and integrate it with membuffer, etc)

llvm-svn: 36876
2007-05-06 19:10:47 +00:00
Chris Lattner 2fce8c5df8 remove libbzip2, it is dead
llvm-svn: 36875
2007-05-06 19:05:34 +00:00
Duncan Sands 6ded956aee Testcase for yet another global constant Ada f-e bug.
llvm-svn: 36874
2007-05-06 16:20:30 +00:00
Nick Lewycky e7da2d6ac3 Fix typo in comment.
llvm-svn: 36873
2007-05-06 13:37:16 +00:00
Chris Lattner f5599efb00 switch tools to bitcode from bytecode
llvm-svn: 36872
2007-05-06 09:32:02 +00:00
Chris Lattner d2517d6767 don't build bzip2 for now
llvm-svn: 36871
2007-05-06 09:31:32 +00:00
Chris Lattner 1761e05c5b disable this for now
llvm-svn: 36870
2007-05-06 09:31:06 +00:00
Chris Lattner d7a2aee41c don't build bcreader/bcwriter
llvm-svn: 36869
2007-05-06 09:30:31 +00:00