Chris Lattner
64694df564
add macruby back
...
llvm-svn: 102132
2010-04-22 21:34:16 +00:00
Chris Lattner
016c00a311
when inlining something like this:
...
define void @f3(void (i8*)* %__f) ssp {
entry:
call void %__f(i8* undef)
unreachable
}
define void @f4(i8* %this) ssp align 2 {
entry:
call void @f3(void (i8*)* @f2) ssp
ret void
}
The inliner is turning the indirect call to %__f into a direct
call to F2. Make the call graph more precise when this happens.
The inliner doesn't revisit call sites introduced by inlining,
so there isn't an easy way to test for this, but a more precise
callgraph is a good thing.
llvm-svn: 102131
2010-04-22 21:31:00 +00:00
Fariborz Jahanian
62c560246e
Check for -fno-constant-cfstrings consistency
...
in pch.
llvm-svn: 102130
2010-04-22 21:01:59 +00:00
Devang Patel
6adc5620ab
Add comment.
...
llvm-svn: 102129
2010-04-22 20:56:35 +00:00
Dan Gohman
5b43aa0ddd
Sink SelectionDAGBuilder's HandlePHINodesInSuccessorBlocks down
...
into SelectionDAGBuilder itself.
llvm-svn: 102128
2010-04-22 20:55:53 +00:00
Devang Patel
ea2744f4dc
Adjust debug range offsets for isWeakForLinker() functions.
...
llvm-svn: 102127
2010-04-22 20:52:00 +00:00
Dan Gohman
00365f967b
Add a blurb about the new LSR.
...
llvm-svn: 102126
2010-04-22 20:50:43 +00:00
Nick Lewycky
08a75abd51
The -condprop pass has been deleted.
...
llvm-svn: 102125
2010-04-22 20:48:34 +00:00
Dan Gohman
e6aa943949
The post-RA scheduler is currently off by default on x86.
...
llvm-svn: 102124
2010-04-22 20:47:28 +00:00
Dan Gohman
c594eab10f
Move HandlePHINodesInSuccessorBlocks functions out of SelectionDAGISel
...
and into SelectionDAGBuilder and FastISel.
llvm-svn: 102123
2010-04-22 20:46:50 +00:00
Douglas Gregor
c5b5c0591d
Add some verbiage about Clang to the 2.7 release notes
...
llvm-svn: 102121
2010-04-22 20:42:40 +00:00
Chris Lattner
055cf267db
add a DEBUG call so that -debug lists when CGSCCPM iterates.
...
Fix RefreshCallGraph to use CGN->replaceCallEdge instead of hand
rolling its own loop. replaceCallEdge properly maintains the
reference counts of the nodes, fixing a crash exposed by the
iterative callgraph stuff.
llvm-svn: 102120
2010-04-22 20:42:33 +00:00
Chris Lattner
0a3b5b4e39
eliminate dead #include.
...
llvm-svn: 102119
2010-04-22 20:41:10 +00:00
Fariborz Jahanian
63408e848b
Support for -fno-constant-cfstrings option - wip.
...
llvm-svn: 102112
2010-04-22 20:26:39 +00:00
Evan Cheng
f1223bdec0
- It's not safe to promote rotates (at least not trivially).
...
- Some code refactoring.
llvm-svn: 102111
2010-04-22 20:19:46 +00:00
Dan Gohman
e149e9896c
Fix a comment.
...
llvm-svn: 102110
2010-04-22 20:06:42 +00:00
Dan Gohman
fd81254190
Move PHINodesToUpdate out of SelectionDAGBuilder and into
...
FunctionLoweringInfo, as it isn't SelectionDAG-specific. This isn't
completely natural, as PHI node state is not per-function but rather
per-basic-block, however there's currently no other convenient
per-basic-block state to group it with.
llvm-svn: 102109
2010-04-22 19:55:20 +00:00
John McCall
8c12dc4351
Use the naming class from the overloaded lookup when access-checking an
...
address of overloaded function, instead of assuming that a nested name
specifier was used. A nested name specifier is not required for static
functions.
Fixes PR6886.
llvm-svn: 102107
2010-04-22 18:44:12 +00:00
Devang Patel
0fde4aeedd
Rename InsnAfterLabelMap and InsnBeforeLabelMap.
...
llvm-svn: 102106
2010-04-22 18:43:35 +00:00
Devang Patel
53f530d44c
Keep track of MCSymbol used to mark beginning of a function.
...
llvm-svn: 102104
2010-04-22 18:39:21 +00:00
Jim Grosbach
9628468d94
Add mention of ARM atomic builtin support
...
llvm-svn: 102103
2010-04-22 18:33:31 +00:00
Devang Patel
bae14a1cab
At this point Start and End are not null.
...
llvm-svn: 102102
2010-04-22 18:28:58 +00:00
Jim Grosbach
77f0f5b616
Update ARM frame index scavenging description
...
llvm-svn: 102101
2010-04-22 18:28:43 +00:00
Chris Lattner
0d34c06cf2
remove dupe
...
llvm-svn: 102100
2010-04-22 18:26:17 +00:00
Chris Lattner
8b29021712
another tweak for haiku support, patch by Paul Davey!
...
llvm-svn: 102098
2010-04-22 17:48:00 +00:00
Chris Lattner
77a23804b9
reword my incoherent babble into something that makes sense
...
from Wesley Peck!
llvm-svn: 102096
2010-04-22 17:39:38 +00:00
Chris Lattner
ad2804110b
two more projects.
...
llvm-svn: 102095
2010-04-22 17:28:36 +00:00
Douglas Gregor
21515a992f
Some Objective-C++ types and expressions will never change during
...
template instantiation, since they cannot be dependent or have
dependent parts. Handle them the simple way.
llvm-svn: 102094
2010-04-22 17:28:13 +00:00
Chris Lattner
cecb923e78
add some notes from Matthieu Moy!
...
llvm-svn: 102093
2010-04-22 17:25:00 +00:00
Douglas Gregor
b5186b1d44
When a dependent Objective-C++ message send was able to resolve the
...
method being called at template definition time, retain that method
and pass it through to type-checking. We will not perform any lookup
for the method during template instantiation.
llvm-svn: 102081
2010-04-22 17:01:48 +00:00
Douglas Gregor
049211a670
Remove the SelectorLoc argument to Sema::BuildInstanceMesssage and
...
Sema::BuildClassMessage; we weren't using it, and template
instantiation was faking it anyway.
llvm-svn: 102074
2010-04-22 16:50:51 +00:00
Douglas Gregor
e1f79e868a
Expand the one use of TransformPointerLikeType and eliminate this macro. No functionality change
...
llvm-svn: 102073
2010-04-22 16:46:21 +00:00
Chris Lattner
28175bf916
improve tblgen doc, pointed out by Zhongxing.
...
llvm-svn: 102072
2010-04-22 16:45:27 +00:00
Douglas Gregor
c298ffcb8b
Implement template instantiation for Objective-C++ message sends. We
...
support dependent receivers for class and instance messages, along
with dependent message arguments (of course), and check as much as we
can at template definition time.
This commit also deals with a subtle aspect of template instantiation
in Objective-C++, where the type 'T *' can morph from a dependent
PointerType into a non-dependent ObjCObjectPointer type.
llvm-svn: 102071
2010-04-22 16:44:27 +00:00
Daniel Dunbar
f812506912
ARM/APCS: Don't respect bit-field types when laying out structures.
...
- This fixes the last known ABI issues with ARM/APCS.
- I've run the first 1k ABITests with '--no-unsigned --no-vector --no-complex'
on {armv6, armv7} x {-mno-thumb, -mthumb}, and the first 10k tests for armv7
-mthumb, for both function return types and single argument calls. These all
pass now (they failed horribly before without --no-bitfield).
llvm-svn: 102070
2010-04-22 16:14:54 +00:00
Daniel Dunbar
5981377698
IRgen: Fix another case where we generated an invalid access component when we
...
immediately narrowed the access size. Fix this (and previous case) by just
choosing a better access size up-front.
llvm-svn: 102068
2010-04-22 15:22:33 +00:00
Daniel Dunbar
5d6c07e0e9
IRgen: Fix case where we might generate an access component with width == 0, if
...
we have to narrow the access side immediately (can happen with packed,
-fno-bitfield-type-align).
llvm-svn: 102067
2010-04-22 14:56:10 +00:00
Douglas Gregor
fceea36501
When checking whether to diagnose an initialized "extern" variable,
...
look for the const on the base type rather than on the top-level
type. Fixes PR6495 properly.
llvm-svn: 102066
2010-04-22 14:36:26 +00:00
Douglas Gregor
73519609d4
Record nested-name-specifiers of when we create
...
elaborated-type-specifiers. Patch by Enea Zaffanella!
llvm-svn: 102065
2010-04-22 14:24:35 +00:00
Wesley Peck
9bc5e8f45e
Fixing a typo in the "Clang project" section of the release notes.
...
llvm-svn: 102064
2010-04-22 14:19:00 +00:00
Wesley Peck
cad613decc
Small fix to the "Other Improvements and New Features" section of the release notes.
...
llvm-svn: 102063
2010-04-22 13:53:54 +00:00
Wesley Peck
3edc1684c2
Fixing small typos in the "New Useful APIs" section of the release notes.
...
llvm-svn: 102062
2010-04-22 13:50:46 +00:00
Wesley Peck
16144fbecd
Fixing small typos in the "ARM Target Improvements" section of the release notes.
...
llvm-svn: 102061
2010-04-22 13:43:14 +00:00
Wesley Peck
ba1ad20983
Rewording the "generated debug information" paragraph in the "Interpreter and JIT Improvements" section of the release notes.
...
llvm-svn: 102060
2010-04-22 13:36:27 +00:00
Wesley Peck
c845916929
Reworking the wording of the "target data string" paragraph in the "Optimizer Improvments" section of the release notes.
...
llvm-svn: 102059
2010-04-22 13:28:34 +00:00
Gabor Greif
d80517c061
<pre> seems to close <p>
...
llvm-svn: 102057
2010-04-22 10:25:23 +00:00
Gabor Greif
27b1663569
the validator coughed up some problems, most of them fixed
...
llvm-svn: 102056
2010-04-22 10:21:43 +00:00
Gabor Greif
862b35372f
shorten link
...
llvm-svn: 102055
2010-04-22 10:11:24 +00:00
Chris Lattner
ee8f1f0998
static analyzer has its own section
...
llvm-svn: 102054
2010-04-22 06:39:56 +00:00
Chris Lattner
2284b6aed8
add mc and static analyzer blurbs.
...
llvm-svn: 102053
2010-04-22 06:38:11 +00:00