Misha Brukman
26f7289a07
Minimize the width of the notes region: it will end where the text ends, if the
...
line of text is short enough, instead of stretching all the way to the right
margin.
llvm-svn: 61481
2008-12-29 21:25:09 +00:00
Misha Brukman
8dab303dc9
Simplified marking code regions with a single <pre> rather than
...
a (<div>, <pre>) combo.
llvm-svn: 61480
2008-12-29 21:20:51 +00:00
Duncan Sands
e59fa78979
Make stripPointerCasts and getUnderlyingObject
...
non-recursive.
llvm-svn: 61479
2008-12-29 21:06:19 +00:00
Duncan Sands
f6069577fa
Experiments show that looking through phi nodes
...
and select instructions doesn't buy anything here
except extra complexity: the only difference in
the entire testsuite was that a readonly function
became readnone in MiBench/consumer-typeset. Add
a comment about this.
llvm-svn: 61478
2008-12-29 20:51:17 +00:00
Misha Brukman
a27b796fec
Fixed spelling, removed trailing whitespace.
...
llvm-svn: 61477
2008-12-29 20:08:23 +00:00
Fariborz Jahanian
408035072b
Remove hasKind(). Use existing getKind().
...
llvm-svn: 61476
2008-12-29 19:57:17 +00:00
Misha Brukman
ca3a84bf76
Center the legal note to give it even padding on left and right, and make it
...
stand out better.
llvm-svn: 61475
2008-12-29 19:55:01 +00:00
Misha Brukman
4050d152d9
Cleanup: clarify llvm-gcc version and package name.
...
llvm-svn: 61474
2008-12-29 19:38:58 +00:00
Duncan Sands
660b053fac
Clarify a bit. Based on feedback by Talin.
...
llvm-svn: 61470
2008-12-29 15:27:32 +00:00
Duncan Sands
c125d6a3d3
Allow readnone functions to read (and write!) global
...
constants, since doing so is irrelevant for aliasing
purposes. While this doesn't increase the total number
of functions marked readonly or readnone in MultiSource/
Applications (3089), it does result in 12 functions being
marked readnone rather than readonly.
Before:
readnone: 820
readonly: 2269
After:
readnone: 832
readonly: 2257
llvm-svn: 61469
2008-12-29 11:34:09 +00:00
Duncan Sands
43b18241ff
Add braces, as suggested by a gcc warning.
...
llvm-svn: 61465
2008-12-29 08:05:02 +00:00
Scott Michel
b8ee30de6d
- Various '#if 0' cleanups.
...
- Move v4i32, i32 mul into SPUInstrInfo.td, with a few more instruction
cleanups there as well.
- Make SMUL_LOHI, UMUL_LOHI competely illegal for Cell SPU, to better
assist Chris to see the problem in bug 3101.
llvm-svn: 61464
2008-12-29 03:23:36 +00:00
Scott Michel
0c9259f149
Teach LeaglizeDAG that i64 mul can be a libcall.
...
llvm-svn: 61463
2008-12-29 03:21:37 +00:00
Chris Lattner
4163213750
select constant exprs should have the same constraints as select instructions,
...
notably, they should support vectors and aggregates.
llvm-svn: 61462
2008-12-29 00:16:12 +00:00
Chris Lattner
8810795b14
move select validation logic into a shared place where the select ctor,
...
verifier, asm parser, etc can share it.
llvm-svn: 61461
2008-12-29 00:12:50 +00:00
Owen Anderson
b5232286a7
Fix up kill/dead marking in the new live interval reconstruction code.
...
llvm-svn: 61460
2008-12-28 23:35:13 +00:00
Owen Anderson
4213188c75
Forgot to commit this file.
...
Add a clear() method to remove all ranges and value numbers for a live interval.
llvm-svn: 61459
2008-12-28 21:57:02 +00:00
Owen Anderson
37751bb9d9
Add prototype code for recomputing a live interval's ranges and valnos through recursive phi construction.
...
llvm-svn: 61458
2008-12-28 21:48:48 +00:00
Sebastian Redl
58097c79c2
Fill in C++ status table for statements.
...
llvm-svn: 61457
2008-12-28 17:18:13 +00:00
Sebastian Redl
1cbb59182c
Convert a two more statement actions to smart pointers.
...
llvm-svn: 61456
2008-12-28 16:13:43 +00:00
Sebastian Redl
4f84ddccc8
Fix a grep error that caused CodeGenObjC/encode-test.m to fail.
...
llvm-svn: 61455
2008-12-28 15:48:05 +00:00
Sebastian Redl
a2b5e31cb1
Diagnose declarations that don't declare anything, and fix PR3020.
...
Examples:
int;
typedef int;
llvm-svn: 61454
2008-12-28 15:28:59 +00:00
Sebastian Redl
85cd7bac29
Fix filename typo.
...
llvm-svn: 61453
2008-12-28 14:19:27 +00:00
Nuno Lopes
037bc858a0
add RUN line
...
llvm-svn: 61452
2008-12-27 23:47:34 +00:00
Nick Lewycky
d80ff135b5
Check that the function prototypes are correct before assuming that the
...
parameters are pointers.
llvm-svn: 61451
2008-12-27 16:20:53 +00:00
Chris Lattner
1d1087113c
add testcase for type parsing.
...
llvm-svn: 61449
2008-12-27 08:10:46 +00:00
Chris Lattner
8ee284673f
implement simplify_type for PATypeHolder so that isa<FooType>(PATypeHolder)
...
works.
llvm-svn: 61448
2008-12-27 07:47:40 +00:00
Scott Michel
8233527b05
- Remove Tilmann's custom truncate lowering: it completely hosed over
...
DAGcombine's ability to find reasons to remove truncates when they were not
needed. Consequently, the CellSPU backend would produce correct, but _really
slow and horrible_, code.
Replaced with instruction sequences that do the equivalent truncation in
SPUInstrInfo.td.
- Re-examine how unaligned loads and stores work. Generated unaligned
load code has been tested on the CellSPU hardware; see the i32operations.c
and i64operations.c in CodeGen/CellSPU/useful-harnesses. (While they may be
toy test code, it does prove that some real world code does compile
correctly.)
- Fix truncating stores in bug 3193 (note: unpack_df.ll will still make llc
fault because i64 ult is not yet implemented.)
- Added i64 eq and neq for setcc and select/setcc; started new instruction
information file for them in SPU64InstrInfo.td. Additional i64 operations
should be added to this file and not to SPUInstrInfo.td.
llvm-svn: 61447
2008-12-27 04:51:36 +00:00
Anders Carlsson
f562b39e80
Add a MS specific intrinsic.
...
llvm-svn: 61446
2008-12-27 04:26:15 +00:00
Anders Carlsson
a7e0e61b9d
Eli noticed that I had forgotten some #defines. Add them.
...
llvm-svn: 61445
2008-12-26 22:49:10 +00:00
Anders Carlsson
70f8da06d3
Add float.h header. Eli, please review :)
...
llvm-svn: 61444
2008-12-26 17:10:18 +00:00
Anders Carlsson
702cb5c29f
Add __builtin_flt_rounds
...
llvm-svn: 61443
2008-12-26 16:43:35 +00:00
Douglas Gregor
1dc9826a46
Add support for out-of-line definitions of conversion functions and member operators
...
llvm-svn: 61442
2008-12-26 15:00:45 +00:00
Anders Carlsson
88b53663fb
Fix implementation of _mm_pause.
...
llvm-svn: 61441
2008-12-26 02:22:10 +00:00
Anders Carlsson
19ef5d49d4
OK, all tests pass. Let's start using the SSE2 header
...
llvm-svn: 61440
2008-12-26 00:57:11 +00:00
Anders Carlsson
c8f436df25
Add two more builtins
...
llvm-svn: 61439
2008-12-26 00:55:49 +00:00
Anton Korobeynikov
b46e3a8d3b
Complete the test after adding handling of merged attributes on decls.
...
llvm-svn: 61438
2008-12-26 00:52:17 +00:00
Anton Korobeynikov
d72f47aa05
Add full dllimport / dllexport support: both sema checks and codegen.
...
Patch by Ilya Okonsky
llvm-svn: 61437
2008-12-26 00:52:02 +00:00
Anton Korobeynikov
3112c877c1
Testcase for stdcall/fastcall sema checks.
...
Patch by Ilya Okonsky!
llvm-svn: 61436
2008-12-26 00:51:21 +00:00
Anders Carlsson
37ba1a5927
Fix formatting
...
llvm-svn: 61435
2008-12-26 00:50:47 +00:00
Anders Carlsson
37c2371a88
Add _mm_pause and _MM_SHUFFLE
...
llvm-svn: 61434
2008-12-26 00:49:43 +00:00
Anders Carlsson
85eb1247a3
More SSE2 intrinsics
...
llvm-svn: 61433
2008-12-26 00:45:50 +00:00
Anders Carlsson
a0d5ca2773
More SSE2 intrinsics
...
llvm-svn: 61432
2008-12-25 23:48:58 +00:00
Steve Naroff
f9c29d4200
Add parser support for __forceinline, __w64, __ptr64.
...
llvm-svn: 61431
2008-12-25 14:41:26 +00:00
Steve Naroff
44ac777741
Add parser support for __cdecl, __stdcall, and __fastcall.
...
Change preprocessor implementation of _cdecl to reference __cdecl.
llvm-svn: 61430
2008-12-25 14:16:32 +00:00
Zhongxing Xu
4c1661102e
Add Fedora 10 GCC paths.
...
llvm-svn: 61429
2008-12-25 09:28:01 +00:00
Anders Carlsson
51beccbd0b
Make _mm_add_si64 inlined
...
llvm-svn: 61428
2008-12-25 07:07:08 +00:00
Chris Lattner
3d1bce04e0
add PR #
...
llvm-svn: 61427
2008-12-25 05:40:38 +00:00
Chris Lattner
2a7c988627
Add a simple pattern for matching 'bt'.
...
llvm-svn: 61426
2008-12-25 05:34:37 +00:00
Chris Lattner
1b8c9f795a
Fix some JIT encodings.
...
llvm-svn: 61425
2008-12-25 01:32:49 +00:00