Gordon Henriksen
9af2d596ed
Fix srcdir <> objdir builds with ocaml 2.10. Downrev versions don't care whether
...
'dir' exists in 'ocamldep -I dir ...', but recent ones demand that it actually
exists.
llvm-svn: 42245
2007-09-23 13:37:44 +00:00
Chris Lattner
0af0591143
fix syntax
...
llvm-svn: 42242
2007-09-22 23:41:15 +00:00
Gordon Henriksen
6ab5c57663
Regenerate.
...
llvm-svn: 42241
2007-09-22 21:36:59 +00:00
Gordon Henriksen
54fd757f4f
Fix for srcdir <> objdir builds.
...
Thanks Bill.
llvm-svn: 42240
2007-09-22 21:36:22 +00:00
Chris Lattner
e48195e0f3
Fix PR1679, by printing GEP indices as signed values instead of unsigned.
...
llvm-svn: 42239
2007-09-22 20:16:48 +00:00
Chris Lattner
322abe3573
Use the APFloat routines to evaluate FP immediates as
...
integer constant expressions. The only questionable
thing is that we now reject:
void foo() {
switch (1) {
case (int)1.0e10000:
;
}
}
with:
t.c:5:13: error: case label does not reduce to an integer constant
case (int)1.0e10000:
~~~~~^~~~~~~~~
GCC accepts this, emitting the pedwarn:
t.c:5: warning: floating constant exceeds range of 'double'
llvm-svn: 42238
2007-09-22 19:04:13 +00:00
Chris Lattner
9da7bc110a
add comments.
...
llvm-svn: 42237
2007-09-22 18:48:32 +00:00
Chris Lattner
2dd003e807
further apfloat'ize the front-end, allowing codegen to pass
...
APFloat straight through to LLVM now.
llvm-svn: 42236
2007-09-22 18:47:25 +00:00
Chris Lattner
c2d09cfe75
work around bugs and missing features in apfloat.
...
llvm-svn: 42235
2007-09-22 18:38:30 +00:00
Chris Lattner
ec0a6d9be5
Use APFloat for the representation of FP immediates, ask the target
...
for *which* apfloat to use for a particular type.
llvm-svn: 42234
2007-09-22 18:29:59 +00:00
Bill Wendling
20e469e99b
Validation fixes
...
llvm-svn: 42232
2007-09-22 10:17:08 +00:00
Bill Wendling
99dbd04c5d
Validation fixes
...
llvm-svn: 42231
2007-09-22 10:13:39 +00:00
Bill Wendling
31e1e5e37a
Validation fixes
...
llvm-svn: 42230
2007-09-22 10:07:00 +00:00
Bill Wendling
bdd6bd8236
Validation fixes
...
llvm-svn: 42229
2007-09-22 10:03:25 +00:00
Bill Wendling
370dac7346
Validation fixes
...
llvm-svn: 42228
2007-09-22 09:56:28 +00:00
Bill Wendling
beee622c4d
Validation fixes
...
llvm-svn: 42227
2007-09-22 09:54:47 +00:00
Bill Wendling
8715e0c490
Validation fixes
...
llvm-svn: 42226
2007-09-22 09:39:19 +00:00
Bill Wendling
252570f0ad
Validation fixes
...
llvm-svn: 42225
2007-09-22 09:23:55 +00:00
Bill Wendling
6637c57c54
Validation fixes
...
llvm-svn: 42224
2007-09-22 09:20:07 +00:00
Bill Wendling
6275c23755
Formatting changes.
...
llvm-svn: 42223
2007-09-22 09:16:44 +00:00
Chris Lattner
10671ad650
initialize isstore/isload fields in ctor, fixing PR1695
...
llvm-svn: 42222
2007-09-22 07:02:12 +00:00
Chris Lattner
5b95a171e2
fix bugs in the manual
...
llvm-svn: 42221
2007-09-22 03:17:52 +00:00
Neil Booth
a8d7269269
Handle storage complications of float->float conversions.
...
llvm-svn: 42220
2007-09-22 02:56:19 +00:00
Tanya Lattner
cf3e26fff2
Correct names.
...
llvm-svn: 42219
2007-09-22 00:03:01 +00:00
Fariborz Jahanian
7e5d533098
This patch adds to new things to clang:
...
1. Handles saving and checking on protocols used in an @interface declaration
2. Checks and saves class's super class.
3. Adds semantic check to category declarations.
llvm-svn: 42218
2007-09-22 00:01:35 +00:00
Tanya Lattner
08abc81a44
Fix typo.
...
llvm-svn: 42217
2007-09-22 00:01:26 +00:00
Tanya Lattner
0186a65ac7
One last fix to get name correct.
...
llvm-svn: 42216
2007-09-21 23:57:59 +00:00
Tanya Lattner
afcdaf58d4
Fix silly typo.
...
llvm-svn: 42215
2007-09-21 23:57:04 +00:00
Tanya Lattner
23dbd57214
Update annotation intrinsic with more details.
...
llvm-svn: 42214
2007-09-21 23:56:27 +00:00
Tanya Lattner
293c037336
Adding support for __builtin_annotation with an intrinsic called llvm.annotation. This is similar to llvm.var.annotation but is applied to expressions.
...
llvm-svn: 42211
2007-09-21 22:59:12 +00:00
Dale Johannesen
4230512f32
Change APFloat::convertFromInteger to take the incoming
...
bit width instead of number of words allocated, which
makes it actually work for int->APF conversions.
Adjust callers. Add const to one of the APInt constructors
to prevent surprising match when called with const
argument.
llvm-svn: 42210
2007-09-21 22:09:37 +00:00
Devang Patel
361e52f39c
Fix PR1692
...
llvm-svn: 42209
2007-09-21 21:18:19 +00:00
Owen Anderson
3e466535cf
Fix CopyFrom for non-POD data types.
...
llvm-svn: 42208
2007-09-21 20:55:54 +00:00
Chris Lattner
87ce0bec91
#ifdef out unsafe tracing code, which fixes PR1689
...
llvm-svn: 42205
2007-09-21 18:30:39 +00:00
Chris Lattner
51ce795c92
don't read Block after it is freed. This fixes PR1684
...
llvm-svn: 42204
2007-09-21 18:25:53 +00:00
Chris Lattner
4b2ff02f72
Make case sorting deterministic by not depending on pointer
...
values. Patch mostly by Gabor Greif for PR1682.
llvm-svn: 42203
2007-09-21 18:15:22 +00:00
Devang Patel
d331c8565f
Add missing entry.
...
llvm-svn: 42202
2007-09-21 18:02:24 +00:00
Chris Lattner
af6912f980
gcroot testcase, patch by Eric Christopher.
...
llvm-svn: 42198
2007-09-21 17:48:39 +00:00
Chris Lattner
1af762f736
I cannot spell coalesce :)
...
llvm-svn: 42196
2007-09-21 17:43:52 +00:00
Chris Lattner
12477735f9
gcroot must take concrete types, not arbitrary types.
...
clean up intrinsic descriptions in langref a bit.
llvm-svn: 42194
2007-09-21 17:30:40 +00:00
Chris Lattner
b3d01d2f56
initialize SetCCResultContents, fixing PR1693
...
llvm-svn: 42193
2007-09-21 17:06:39 +00:00
Rafael Espindola
4730c04904
Don't add a default STACK_ALIGN (use the generic ABI alignment)
...
Implement calls to functions with byval arguments on X86
llvm-svn: 42192
2007-09-21 15:50:22 +00:00
Fariborz Jahanian
876e27dafa
This patch instantiates objects for forward protocols and in general handles use of
...
protocols referenced in @protocol declarations.
llvm-svn: 42191
2007-09-21 15:40:54 +00:00
Dan Gohman
3bb3452dbc
There is no {rsqrt,rcp}{p,s}d.
...
llvm-svn: 42190
2007-09-21 15:24:00 +00:00
Rafael Espindola
f065f0e2a1
small cleanup: use LowerMemArgument in LowerFastCCArguments also
...
llvm-svn: 42189
2007-09-21 14:55:38 +00:00
Chris Lattner
0a1fd10483
Initial hack at 2.1 release notes.
...
llvm-svn: 42186
2007-09-21 03:54:09 +00:00
Owen Anderson
46da2a6262
Add partial caching of non-local memory dependence queries. This provides a modest
...
speedup for GVN.
llvm-svn: 42185
2007-09-21 03:53:52 +00:00
Evan Cheng
1ff71872c2
Honor user-defined section specification of a global, ignores whether its initializer is null.
...
llvm-svn: 42182
2007-09-21 00:41:19 +00:00
Dale Johannesen
146a0ea071
Fix PR 1688. See comments there.
...
llvm-svn: 42181
2007-09-20 23:47:58 +00:00
Devang Patel
83cc3f8f51
Update aux. info associated with an instruction before erasing instruction.
...
llvm-svn: 42180
2007-09-20 23:45:50 +00:00