Chris Lattner [Sun, 6 May 2007 19:47:36 +0000 (19:47 +0000)]
remove bytecode headers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36885
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 19:46:23 +0000 (19:46 +0000)]
remove dead header
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36884
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 19:43:09 +0000 (19:43 +0000)]
Fix a buggy conversion from bytecode to bitcode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36883
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 19:42:57 +0000 (19:42 +0000)]
remove bytecode reader
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36882
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 19:33:40 +0000 (19:33 +0000)]
remove the old bc writer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36881
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 19:27:46 +0000 (19:27 +0000)]
fix off-by-one that caused the llvm2cpp test to fail
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36880
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 19:21:48 +0000 (19:21 +0000)]
remove libbzip2 from this. This should use llvm-config or something.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36879
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 19:19:23 +0000 (19:19 +0000)]
Flush the file after writing bitcode so that clients who don't close their
ofstreams will be ok.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36878
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 19:17:23 +0000 (19:17 +0000)]
make sure the ofstream for opt's output file is destroyed, so that the bits
actually land on disk.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36877
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 19:10:47 +0000 (19:10 +0000)]
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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36876
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 19:05:34 +0000 (19:05 +0000)]
remove libbzip2, it is dead
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36875
91177308-0d34-0410-b5e6-
96231b3b80d8
Duncan Sands [Sun, 6 May 2007 16:20:30 +0000 (16:20 +0000)]
Testcase for yet another global constant Ada f-e bug.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36874
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Lewycky [Sun, 6 May 2007 13:37:16 +0000 (13:37 +0000)]
Fix typo in comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36873
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 09:32:02 +0000 (09:32 +0000)]
switch tools to bitcode from bytecode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36872
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 09:31:32 +0000 (09:31 +0000)]
don't build bzip2 for now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36871
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 09:31:06 +0000 (09:31 +0000)]
disable this for now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36870
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 09:30:31 +0000 (09:30 +0000)]
don't build bcreader/bcwriter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36869
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 09:29:57 +0000 (09:29 +0000)]
switch tools to bitcode instead of bytecode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36868
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 09:29:13 +0000 (09:29 +0000)]
switch this to bitcode instead of bytecode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36867
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 09:28:33 +0000 (09:28 +0000)]
Switch this over to bitcode instead of bytecode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36866
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 09:14:53 +0000 (09:14 +0000)]
Move this here from Bytecode/Archive.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36865
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 08:35:19 +0000 (08:35 +0000)]
Fix a nasty problem where we would miss enumeration of some types. This fixes
issues with CE_CAST etc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36864
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 08:22:10 +0000 (08:22 +0000)]
allow zero-length arrays
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36863
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 08:21:50 +0000 (08:21 +0000)]
Allow structs with zero fields.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36862
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 08:12:09 +0000 (08:12 +0000)]
we aren't at the end of stream until we've consumed all the bytes AND all
the bits in those bytes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36861
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 6 May 2007 07:56:19 +0000 (07:56 +0000)]
3DNowA implies 3DNow. 64-bit implies SSE1, SSE2, and I assume MMX.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36860
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 07:33:01 +0000 (07:33 +0000)]
add a missing check
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36859
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 07:24:46 +0000 (07:24 +0000)]
Fix MemoryBuffer::getFile to return null if it has an error opening the
file instead of aborting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36858
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 07:24:03 +0000 (07:24 +0000)]
Fix a bug in my previous patch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36857
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 06:18:07 +0000 (06:18 +0000)]
add bitcode support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36856
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 06:02:13 +0000 (06:02 +0000)]
add bitcode support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36855
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:58:00 +0000 (05:58 +0000)]
this doesn't directly depend on bytecode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36854
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:56:58 +0000 (05:56 +0000)]
add bitcode support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36853
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:53:02 +0000 (05:53 +0000)]
archive library already depends on bc reader
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36852
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:51:37 +0000 (05:51 +0000)]
add bitcode support, optimize reading to not read all function bodies just
to get deplibs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36851
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:47:36 +0000 (05:47 +0000)]
use an auto_ptr to avoid an explicit delete
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36850
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:47:06 +0000 (05:47 +0000)]
add bitcode support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36849
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:40:41 +0000 (05:40 +0000)]
Remove the -emit-bytecode option. Noone in the llvm tree uses it, and this
keeps llvm-upgrade a simple "source to source" tool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36848
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:36:18 +0000 (05:36 +0000)]
add bitcode reading support to llvm-nm
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36847
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:32:21 +0000 (05:32 +0000)]
pull some win32 code into common code, add bitcode identification support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36846
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:30:10 +0000 (05:30 +0000)]
add support for identifying bitcode files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36845
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:21:42 +0000 (05:21 +0000)]
bitcodify, remove eh cruft
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36844
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:18:53 +0000 (05:18 +0000)]
teach this to read from bitcode files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36843
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:18:37 +0000 (05:18 +0000)]
debugger depends on bcreader, not llvm-db
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36842
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:13:17 +0000 (05:13 +0000)]
remove EH cruft, add bitcode support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36841
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 04:58:26 +0000 (04:58 +0000)]
add bitcode reading support, remove eh stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36840
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 04:55:19 +0000 (04:55 +0000)]
add bitcode reading support. Remove EH cruft.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36839
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 04:49:55 +0000 (04:49 +0000)]
bitcodify
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36838
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 04:43:36 +0000 (04:43 +0000)]
simplify code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36837
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 04:43:00 +0000 (04:43 +0000)]
add support to llvm-prof for reading from a bitcode file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36836
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 04:41:59 +0000 (04:41 +0000)]
Add a helper that either opens a file or stdin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36835
91177308-0d34-0410-b5e6-
96231b3b80d8
Nate Begeman [Sun, 6 May 2007 04:00:55 +0000 (04:00 +0000)]
Reference correct header
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36834
91177308-0d34-0410-b5e6-
96231b3b80d8
Jeff Cohen [Sun, 6 May 2007 03:24:19 +0000 (03:24 +0000)]
Make code more 64-bit aware.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36833
91177308-0d34-0410-b5e6-
96231b3b80d8
Jeff Cohen [Sun, 6 May 2007 03:23:14 +0000 (03:23 +0000)]
Keep header file free of 'possible loss of data' warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36832
91177308-0d34-0410-b5e6-
96231b3b80d8
Jeff Cohen [Sun, 6 May 2007 03:12:47 +0000 (03:12 +0000)]
Unbreak VC++.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36831
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 02:42:03 +0000 (02:42 +0000)]
if -bitcode is specified, read and write a bitcode file instead of a bytecode file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36830
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 02:38:57 +0000 (02:38 +0000)]
add abbrevs for binops and casts. This shrinks a testcase from 725132->682500
bytes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36829
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 02:30:12 +0000 (02:30 +0000)]
add a new CreateBitcodeWriterPass method, which creates a bitcode writer as
a pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36828
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 01:58:20 +0000 (01:58 +0000)]
implement reading/writing of inlineasm objects
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36827
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 01:50:11 +0000 (01:50 +0000)]
add inline asm code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36826
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 01:43:38 +0000 (01:43 +0000)]
Fix a subtle bug that prevented round-tripping 470.lbm
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36825
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 6 May 2007 01:30:17 +0000 (01:30 +0000)]
Make my credits refer to my wiki page.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36824
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 01:28:01 +0000 (01:28 +0000)]
add some abbrevs for ret and unreachable, shrinking kc++ from
2717360->
2705388
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36823
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 01:00:28 +0000 (01:00 +0000)]
enumerate the operands of a constant before we enumerate the constant itself
This avoids fwd references in the reader.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36822
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 00:53:07 +0000 (00:53 +0000)]
add a denser encoding for null terminated strings, add a 6-bit abbrev as
well. This shrinks kc++ from
2724088 to
2717360 bytes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36821
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 00:42:18 +0000 (00:42 +0000)]
add an abbreviation for the string constants opzn, shrinking the constnats
block from:
Block ID #11 (CONSTANTS_BLOCK):
Num Instances: 1722
Total Size: 3.85976e+06b/
482470B/120617W
% of file: 16.7609
Average Size: 2241.44b/280.18B/70.045W
Tot/Avg SubBlocks: 0/0
Tot/Avg Abbrevs: 1/0.
00058072
Tot/Avg Records: 26423/15.3444
% Abbrev Recs: 69.1746
to:
Block ID #11 (CONSTANTS_BLOCK):
Num Instances: 1724
Total Size: 2.62406e+06b/
328008B/82001.9W
% of file: 12.041
Average Size: 1522.08b/190.26B/47.5649W
Tot/Avg SubBlocks: 0/0
Tot/Avg Abbrevs: 2/0.
00116009
Tot/Avg Records: 26280/15.2436
% Abbrev Recs: 68.9992
This shrinks kc++ from
2815788 to
2724088 bytes, which means the bitcode
file is now smaller than the bytecode file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36820
91177308-0d34-0410-b5e6-
96231b3b80d8
Lauro Ramos Venancio [Sun, 6 May 2007 00:41:36 +0000 (00:41 +0000)]
Add myself.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36819
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 00:35:24 +0000 (00:35 +0000)]
implement the 'string constant' optimization. This shrinks kc.bit from
2878544 to
2815788
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36818
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 00:21:25 +0000 (00:21 +0000)]
further reduce the redundancy of types in the instruction encoding. This
shrinks function bodies in kc++ from
891913B to
884073B
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36817
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 00:00:00 +0000 (00:00 +0000)]
stop encoding type/value pairs when the type is implied by the value.
This shrinks the function block of kc++ from 1055K to 906K
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36816
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 23:49:02 +0000 (23:49 +0000)]
handle gep aliasee
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36815
91177308-0d34-0410-b5e6-
96231b3b80d8
Lauro Ramos Venancio [Sat, 5 May 2007 23:44:41 +0000 (23:44 +0000)]
Fix PR1390.
Don't spill extra register to align the stack.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36814
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 23:40:48 +0000 (23:40 +0000)]
fix a bug I introduced when I merged some code together
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36813
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 22:44:27 +0000 (22:44 +0000)]
this test is now in Target/README.txt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36812
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 22:44:08 +0000 (22:44 +0000)]
add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36811
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 22:42:02 +0000 (22:42 +0000)]
remove an old xfailed test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36810
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 22:41:33 +0000 (22:41 +0000)]
Implement Transforms/InstCombine/cast_ptr.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36809
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 22:41:13 +0000 (22:41 +0000)]
un-xfail this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36808
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 22:32:24 +0000 (22:32 +0000)]
wrap long lines
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36807
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 22:29:06 +0000 (22:29 +0000)]
the mason example is implemented. Move some examples out of llvm/test,
upgrade the syntax of some other examples.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36806
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 22:28:33 +0000 (22:28 +0000)]
move these xfailed tests to lib/Target/README.txt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36805
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 22:22:03 +0000 (22:22 +0000)]
Move Mem2Reg/DifferingTypes.ll -> ScalarRepl/DifferingTypes.ll. -scalarrepl
implements this xform.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36804
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 22:19:49 +0000 (22:19 +0000)]
remvoe two tests that cee has never gotten right
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36803
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 22:17:00 +0000 (22:17 +0000)]
implement anyextend from i1 -> i64
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36802
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 22:12:57 +0000 (22:12 +0000)]
the sparc v8 backend handles this correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36801
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 22:10:53 +0000 (22:10 +0000)]
remove this xfail'd test, move it to the X86 readme.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36800
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 22:10:24 +0000 (22:10 +0000)]
move CodeGen/X86/overlap-add.ll here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36799
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 22:03:12 +0000 (22:03 +0000)]
We need support for tail calls, this is moved to PR1392
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36798
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 21:57:34 +0000 (21:57 +0000)]
remove xfailed testcase (attached to pr)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36797
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 21:51:34 +0000 (21:51 +0000)]
unxfail this, llc doesn't support this feature yet, so don't run it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36796
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 21:49:24 +0000 (21:49 +0000)]
Remove bogus testcase, PR409 is wontfix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36795
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 21:47:29 +0000 (21:47 +0000)]
this tests for a missing feature. Move it to PR1391 instead of being an
xfailed testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36794
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 21:38:55 +0000 (21:38 +0000)]
remove this xfailed testcase, move it into a comment in PR279, an enhancement PR.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36793
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 21:35:44 +0000 (21:35 +0000)]
llvm-gcc3 is gone
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36792
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 20:50:35 +0000 (20:50 +0000)]
fix failure on ahs3's tester
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36791
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 20:49:28 +0000 (20:49 +0000)]
remove bogus xfailed testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36790
91177308-0d34-0410-b5e6-
96231b3b80d8
Duncan Sands [Sat, 5 May 2007 20:27:00 +0000 (20:27 +0000)]
Use the personality function that was registered with MMI rather than
hardwiring in the C++ one.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36789
91177308-0d34-0410-b5e6-
96231b3b80d8
Duncan Sands [Sat, 5 May 2007 20:22:08 +0000 (20:22 +0000)]
Check that the right eh personality function is used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36788
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 19:39:05 +0000 (19:39 +0000)]
Propagate alignment/volatility in two places.
Implement support for expanding a bitcast from an illegal vector type to
a legal one (e.g. 4xi32 -> 4xf32 in SSE1). This fixes PR1371 and
CodeGen/X86/2007-05-05-VecCastExpand.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36787
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 5 May 2007 19:38:43 +0000 (19:38 +0000)]
new testcase for PR1371
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36786
91177308-0d34-0410-b5e6-
96231b3b80d8