Jeffrey Yasskin
5d284ae8a0
Consolidate the description of volatile operations, now that some of the
...
intrinsics have volatile semantics in addition to the load and store
instructions.
llvm-svn: 102384
2010-04-26 21:21:24 +00:00
Fariborz Jahanian
65654df92c
Cleanup error recovery for a missing '-'|'+'
...
on a method declaration (radar 7822196).
llvm-svn: 102383
2010-04-26 21:18:08 +00:00
Douglas Gregor
b7e20eb883
Implement template instantiation for implicit property references in
...
Objective-C++. This is the last bit of (non-blocks-related) template
instantiation logic for Objective-C++. Yay!
llvm-svn: 102382
2010-04-26 21:04:54 +00:00
Dan Gohman
48a2588be4
Branching or switching on trap transfers imminent undefined behavior
...
onto control-dependent instructions.
llvm-svn: 102381
2010-04-26 20:54:53 +00:00
Dale Johannesen
59a438560c
Remove crufty comments.
...
llvm-svn: 102380
2010-04-26 20:48:54 +00:00
Douglas Gregor
9faee21f67
Implement template instantiation for ObjCPropertyRefExpr.
...
llvm-svn: 102379
2010-04-26 20:47:02 +00:00
Gabor Greif
137d90c763
add some typewriter tags
...
llvm-svn: 102378
2010-04-26 20:46:03 +00:00
Chris Lattner
5e8416a77f
emit dtors with the right calling convention in -fno-use-cxa-atexit
...
mode.
llvm-svn: 102377
2010-04-26 20:35:54 +00:00
Dan Gohman
b2a709be07
Fix HTML errors that Jeffery Yasskin noticed.
...
llvm-svn: 102376
2010-04-26 20:21:21 +00:00
Douglas Gregor
d51d90dd04
Implement template instantiation for value-dependent Objective-C ivar
...
references and isa expressions. Also, test template instantiation of
unresolved member references to Objective-C ivar references and isa
expressions.
llvm-svn: 102374
2010-04-26 20:11:03 +00:00
Dale Johannesen
91358585d7
Handle target-specific form of DBG_VALUE in AsmPrinter.
...
llvm-svn: 102373
2010-04-26 20:07:31 +00:00
Dale Johannesen
e098352ed1
Add DBG_VALUE handling for byval parameters; this
...
produces a comment on targets that support it, but
the Dwarf writer is not hooked up yet.
llvm-svn: 102372
2010-04-26 20:06:49 +00:00
Dale Johannesen
bc41cfa78f
Add PPC AsmPrinter handling for target-specific form of
...
DBG_VALUE, and a cautionary comment.
llvm-svn: 102371
2010-04-26 20:05:01 +00:00
Chris Lattner
954daf9aa5
remove alignment specifier on this. CAn't this test be removed yet? :)
...
llvm-svn: 102369
2010-04-26 19:47:56 +00:00
Evan Cheng
0e6fc61f21
Insert dbg_value instructions for function entry block liveins (i.e. function arguments).
...
llvm-svn: 102368
2010-04-26 19:16:00 +00:00
Evan Cheng
6e45f1d1ff
Promoting 16-bit cmp / test aren't free. Don't do it.
...
llvm-svn: 102366
2010-04-26 19:06:11 +00:00
Chris Lattner
f740a8ceeb
fix PR6921 a different way. Intead of increasing the
...
alignment of globals with a specified alignment, we fix
common variables to obey their alignment. Add a comment
explaining why this behavior is important.
llvm-svn: 102365
2010-04-26 18:46:46 +00:00
Evan Cheng
c72d8a7dad
Re-enable 102323 with fix: do not update dbg_value's with incorrect frame indices when the live interval are being re-materialized.
...
llvm-svn: 102361
2010-04-26 18:37:21 +00:00
Chris Lattner
e80442aa6d
Revert r102300/102301, which serious broke objc apps.
...
llvm-svn: 102359
2010-04-26 18:30:45 +00:00
Chris Lattner
87aa2243e2
fix PR6940: sitofp(undef) folds to 0.0, not undef.
...
llvm-svn: 102358
2010-04-26 18:21:23 +00:00
Fariborz Jahanian
6147a7b9b8
Test case for NeXt's -fno-constant-cfstrings option.
...
llvm-svn: 102357
2010-04-26 17:59:24 +00:00
Douglas Gregor
f4e837f66c
Implement template instantiation for Objective-C @catch
...
statements. This is the last of the Objective-C statements.
llvm-svn: 102356
2010-04-26 17:57:08 +00:00
Chris Lattner
5de7f6e02b
wrap some long lines.
...
llvm-svn: 102354
2010-04-26 17:42:18 +00:00
Bob Wilson
d561daf520
Update MachineSSAUpdater with the same changes I made for the IR-level
...
SSAUpdater. I'm going to try to refactor this to share most of the code
between them.
llvm-svn: 102353
2010-04-26 17:40:49 +00:00
Chris Lattner
df85c89c45
add GHC, thanks to David Terei
...
llvm-svn: 102352
2010-04-26 17:38:10 +00:00
Douglas Gregor
f356419bf5
Refactor Objective-C @catch parameter checking by detangling it from
...
function-parameter checking and splitting it into the normal
ActOn*/Build* pair in Sema. We now use VarDecl to represent the @catch
parameter rather than the ill-fitting ParmVarDecl.
llvm-svn: 102347
2010-04-26 17:32:49 +00:00
Douglas Gregor
46a572b871
Make the static type of the exception variable in an Objective-C
...
@catch a VarDecl. The dynamic type is still a ParmVarDecl, but that
will change soon. No effective functionality change.
llvm-svn: 102341
2010-04-26 16:46:50 +00:00
Douglas Gregor
d984815ed9
Ensure that we have completed a type before attempting initialization
...
on that type. Fixes several problems in Boost.Interprocess.
llvm-svn: 102339
2010-04-26 14:36:57 +00:00
Daniel Dunbar
6171c4489d
tests: Force a triple.
...
llvm-svn: 102332
2010-04-26 10:58:19 +00:00
Evan Cheng
5ad3cc1d5e
Temporary disable spiller modifying dbg_value. It's breaking build.
...
llvm-svn: 102327
2010-04-26 08:24:07 +00:00
Evan Cheng
1ff9d1b63e
Remove a redundant comment.
...
llvm-svn: 102326
2010-04-26 08:16:57 +00:00
Evan Cheng
f19bd4ebba
Add PPC specific emitFrameIndexDebugValue.
...
llvm-svn: 102325
2010-04-26 07:39:36 +00:00
Evan Cheng
bcb99ecc18
Add ARM specific emitFrameIndexDebugValue.
...
llvm-svn: 102324
2010-04-26 07:39:25 +00:00
Evan Cheng
ed69b382ea
- Move TargetLowering::EmitTargetCodeForFrameDebugValue to TargetInstrInfo and rename it to emitFrameIndexDebugValue.
...
- Teach spiller to modify DBG_VALUE instructions to reference spill slots.
llvm-svn: 102323
2010-04-26 07:38:55 +00:00
Dale Johannesen
582565e991
Stop abusing EmitInstrWithCustomInserter for target-dependent
...
form of DEBUG_VALUE, as it doesn't have reasonable default
behavior for unsupported targets. Add a new hook instead.
No functional change.
llvm-svn: 102320
2010-04-25 21:33:54 +00:00
Gabor Greif
60084b176e
another typo pointed out by sajd
...
llvm-svn: 102319
2010-04-25 21:30:22 +00:00
Gabor Greif
c1670318e2
fix two typos pointed out by sajd
...
llvm-svn: 102318
2010-04-25 21:27:54 +00:00
Douglas Gregor
516d672310
When name lookup finds a single declaration that was imported via a
...
using declaration, look at its underlying declaration to determine the
lookup result kind (e.g., overloaded, unresolved). Fixes at least one
issue in Boost.Bimap.
llvm-svn: 102317
2010-04-25 21:15:30 +00:00
Dale Johannesen
1fc01985a3
Add comment re byval args. Doesn't actually work this way yet.
...
xs
llvm-svn: 102316
2010-04-25 21:03:54 +00:00
Douglas Gregor
861eb80a3b
Improve the diagnostic when we find something we did not expect in a
...
member expression (p-> or x.), by showing the type we looked into and
what we did actually find.
llvm-svn: 102315
2010-04-25 20:55:08 +00:00
Daniel Dunbar
710cb20cd6
IRgen/NeXT: Fix several alignment issues with Objective-C metadata symbols:
...
- Fix some places that had the alignment hard coded.
- Use ABI type alignment, not preferred type alignment -- neither of this is exactly right, as we really want the C type alignment as required by the runtime, but the ABI alignment is a more correct choice.
This should be equivalent for x86_64, but fixes the alignment for ARM.
llvm-svn: 102314
2010-04-25 20:39:32 +00:00
Daniel Dunbar
e4273bc38c
tests: Convert test to FileCheck.
...
llvm-svn: 102313
2010-04-25 20:39:19 +00:00
Daniel Dunbar
5e63927d41
IRgen/NeXT: Reuse EmitImageInfo for both fragile and non-fragile ABI. This fixes Clang to correctly emit the "CorrectedSynthesize" bit when using the non-fragile ABI.
...
llvm-svn: 102312
2010-04-25 20:39:01 +00:00
Douglas Gregor
645d76f271
When performing name lookup for an operator name, be sure to look
...
through using declarations. Fixes ~18 tests in Boost.Fusion.
llvm-svn: 102311
2010-04-25 20:25:43 +00:00
David Chisnall
17dff47e22
Added bullet about GNUstep Objective-C ABI support to the Clang section of the release notes.
...
llvm-svn: 102309
2010-04-25 19:13:33 +00:00
Chris Lattner
4d7b4b4d15
testcase for PR6913
...
llvm-svn: 102303
2010-04-25 05:51:14 +00:00
Chris Lattner
6ac247a092
this passes now.
...
llvm-svn: 102301
2010-04-25 05:49:31 +00:00
Chris Lattner
386a220f70
Fix PR6921: globals were not getting correctly rounded up to their
...
preferred alignment unless they were common or some other special
case.
llvm-svn: 102300
2010-04-25 05:30:43 +00:00
Chris Lattner
7d9e03ad5b
exclude cmake build directories from being installed
...
with "make install". Patch by Michael Forney!
llvm-svn: 102299
2010-04-25 04:59:35 +00:00
Chris Lattner
9deb87a996
silence a warning, patch by "mike".
...
llvm-svn: 102297
2010-04-25 04:44:26 +00:00