Douglas Gregor
3cc3cdeea9
Give explicit and implicit instantiations of static data members of
...
class templates the proper linkage.
Daniel, please look over the CodeGenModule bits.
llvm-svn: 84140
2009-10-14 21:29:40 +00:00
Jim Grosbach
b1d6fde13e
Make loop not recalc getNumOperands() each time around
...
llvm-svn: 84138
2009-10-14 21:22:39 +00:00
Devang Patel
6875c5ebe4
Add support to record DbgScope as inlined scope.
...
llvm-svn: 84134
2009-10-14 21:08:09 +00:00
Jim Grosbach
02f5588f62
quiet compiler warning
...
llvm-svn: 84133
2009-10-14 21:07:11 +00:00
Dan Gohman
1396b3f368
Delete bogus semicolons.
...
llvm-svn: 84132
2009-10-14 20:39:01 +00:00
Jim Grosbach
94068707e1
Inst{11-8} for vshl should be 0b0101, not 0b1111.
...
Refs: A7-17 & A8-750.
Patch by Johnny Chen.
llvm-svn: 84131
2009-10-14 20:31:01 +00:00
Eric Christopher
b980933c37
Remove a bunch of unused arguments from functions, silencing a
...
warning.
llvm-svn: 84130
2009-10-14 20:28:33 +00:00
Douglas Gregor
3c74d41d27
Testing and some minor fixes for explicit template instantiation.
...
llvm-svn: 84129
2009-10-14 20:14:33 +00:00
Nick Lewycky
a39f121155
The ARM and PowerPC jits are broken in this regard.
...
llvm-svn: 84128
2009-10-14 20:04:41 +00:00
Duncan Sands
6f2ffcef20
There seems to be no reason for opt's -S option to be hidden.
...
Make it visible.
llvm-svn: 84127
2009-10-14 20:01:39 +00:00
Nick Lewycky
f01ba005a7
Make use of the result of the loads even though that means adding -instcombine.
...
llvm-svn: 84125
2009-10-14 19:02:13 +00:00
Bob Wilson
1a791eedbf
Set instruction encoding bits 4 and 7 for ARM register-register and
...
register-shifted-register instructions. Patch by Johnny Chen.
llvm-svn: 84124
2009-10-14 19:00:24 +00:00
Mike Stump
84bc8bda49
Testcase for recent checkin. WIP.
...
llvm-svn: 84123
2009-10-14 18:38:01 +00:00
Bob Wilson
c350cdf3b3
Refactor code to select NEON VST intrinsics.
...
llvm-svn: 84122
2009-10-14 18:32:29 +00:00
Mike Stump
b21c4eede4
Shift the vcall slots for non-virtual bases of a virtual base, up into
...
the virtual base so they can be reused properly. Don't reuse vcall
slots across a virtual boundary. WIP. I have a testcase, but there
are still things that need to be fixed before the testcase can go in.
llvm-svn: 84120
2009-10-14 18:14:51 +00:00
Douglas Gregor
568a071dd2
When mapping from an injected-class-name to its corresponding
...
template, make sure to get the template that corresponds to *this*
declaration of the class template or specialization, rather than the
canonical specialization. Fixes PR5187.
llvm-svn: 84119
2009-10-14 17:30:58 +00:00
Devang Patel
92f8619923
Use isVoidTy()
...
llvm-svn: 84118
2009-10-14 17:29:00 +00:00
Bob Wilson
12b4799787
Refactor code to select NEON VLD intrinsics.
...
llvm-svn: 84117
2009-10-14 17:28:52 +00:00
Rafael Espindola
0a1ac331a3
Add support for having different c++ search dirs with -m32 and -m64. So far
...
this is only used in darwin10, 64 bit ubuntu 9.10 and 64 bit openSUSE 11.1.
llvm-svn: 84115
2009-10-14 17:09:44 +00:00
Devang Patel
f33cfaf760
Copy metadata associated with CI
...
llvm-svn: 84114
2009-10-14 17:03:29 +00:00
Devang Patel
ebaa76ed0d
Add copyMD to copy metadata from one instruction to another instruction.
...
llvm-svn: 84113
2009-10-14 17:02:49 +00:00
Douglas Gregor
4aa2dc41dc
Implement support for overloaded operator uses that result to a call
...
to a member operator template. We missed updating this call site when
adding support for function templates; bug exposed by a test for
PR5072.
llvm-svn: 84111
2009-10-14 16:50:13 +00:00
Bob Wilson
93117bc499
More refactoring. NEON vst lane intrinsics can share almost all the code for
...
vld lane intrinsics.
llvm-svn: 84110
2009-10-14 16:46:45 +00:00
Bob Wilson
4145e3ac8d
Refactor code for selecting NEON load lane intrinsics.
...
llvm-svn: 84109
2009-10-14 16:19:03 +00:00
Duncan Sands
cef56992b0
There is now only one version of eh.selector and eh.typeid.for.
...
Fix the clang build.
llvm-svn: 84107
2009-10-14 16:13:30 +00:00
Duncan Sands
8e6ccb65df
I don't see any point in having both eh.selector.i32 and eh.selector.i64,
...
so get rid of eh.selector.i64 and rename eh.selector.i32 to eh.selector.
Likewise for eh.typeid.for. This aligns us with gcc, which always uses a
32 bit value for the selector on all platforms. My understanding is that
the register allocator used to assert if the selector intrinsic size didn't
match the pointer size, and this was the reason for introducing the two
variants. However my testing shows that this is no longer the case (I
fixed some bugs in selector lowering yesterday, and some more today in the
fastisel path; these might have caused the original problems).
llvm-svn: 84106
2009-10-14 16:11:37 +00:00
Sebastian Redl
a44822fdb6
Have the exception specification checkers take partial diagnostics. Use this to merge two diagnostics.
...
llvm-svn: 84105
2009-10-14 16:09:29 +00:00
Chris Lattner
6b9044db01
make instcombine's instruction sinking more aggressive in the
...
presence of PHI nodes.
llvm-svn: 84103
2009-10-14 15:21:58 +00:00
Sanjiv Gupta
84a0287497
Few targets like PIC16 mangle the names of global variables, so retrieve the name
...
from Var itself rather than the decl for DebugInfo metadata.
llvm-svn: 84102
2009-10-14 15:08:34 +00:00
Sebastian Redl
184edcadbd
Use CanQualType in the exception specification verification type sets.
...
llvm-svn: 84101
2009-10-14 15:06:25 +00:00
Chris Lattner
a3d4f16b12
Teach Lexer::MeasureTokenLength to be able to measure the
...
length of comment tokens. Patch by Abramo Bagnara!
llvm-svn: 84100
2009-10-14 15:04:18 +00:00
Sebastian Redl
7eb5d377d7
Use partial diagnostics properly in call to RequireCompleteType. Among other things, this means we get a note on the declaration of the incomplete type when it is used in an exception specification.
...
llvm-svn: 84099
2009-10-14 14:59:48 +00:00
Sebastian Redl
075b21d4dc
Do exception spec compatibility tests for member pointers, too.
...
llvm-svn: 84098
2009-10-14 14:38:54 +00:00
Edward O'Callaghan
edea326896
Undo pthread patch from rev. 83930 & 83823. Credit to Paul Davey.
...
llvm-svn: 84083
2009-10-14 11:12:33 +00:00
Zhongxing Xu
8679481408
Now StoreManager::CastRegion() takes a MemRegion, returns a MemRegion.
...
llvm-svn: 84081
2009-10-14 06:55:01 +00:00
Evan Cheng
b3ccb6498c
Clear VisitedPHIs after use.
...
llvm-svn: 84080
2009-10-14 06:46:26 +00:00
Evan Cheng
c1eed9d120
Another BasicAA fix. If a value does not alias a GEP's base pointer, then it
...
cannot alias the GEP. GEP pointer alias rule states this clearly:
A pointer value formed from a getelementptr instruction is associated with the
addresses associated with the first operand of the getelementptr.
llvm-svn: 84079
2009-10-14 06:41:49 +00:00
Zhongxing Xu
969242948f
Add comments to test.
...
llvm-svn: 84078
2009-10-14 06:05:09 +00:00
Chris Lattner
4f8a2e22c0
fix some cfstring related issues:
...
1) -fwritable-string does affect the non-utf16 version of cfstrings
just not the utf16 ones.
2) utf16 strings should always be marked constant, as the __TEXT segment
is readonly.
3) The name of the global doesn't matter, remove it from TargetInfo.
4) Trust the asmprinter to drop cstrings into the right section, like llvmgcc does now.
This fixes rdar://7115750
llvm-svn: 84077
2009-10-14 05:55:45 +00:00
Edward O'Callaghan
4ae411e096
AuroraUX needs special Solaris system header.
...
llvm-svn: 84076
2009-10-14 05:55:03 +00:00
Chris Lattner
734351d214
unbreak test/CodeGen/builtins.c, reverting Devang's change.
...
llvm-svn: 84075
2009-10-14 05:49:21 +00:00
Evan Cheng
f92f5557ee
More code clean up based on patch feedback.
...
llvm-svn: 84074
2009-10-14 05:22:03 +00:00
Zhongxing Xu
9eb2706101
Remove dead code.
...
llvm-svn: 84073
2009-10-14 05:07:51 +00:00
Evan Cheng
31565b3e9f
Change VisitedPHIs into an instance variable that's freed by each alias() call.
...
llvm-svn: 84072
2009-10-14 05:05:02 +00:00
Zhongxing Xu
7d6387bb24
* Remove unused GRState* parameter
...
* Make all Base value the last argument.
llvm-svn: 84071
2009-10-14 03:33:08 +00:00
Ted Kremenek
0a62381d41
Add test case for <rdar://problem/7257223>, and XFAIL this test until it passes.
...
llvm-svn: 84070
2009-10-14 01:54:16 +00:00
Evan Cheng
c745bf2d87
Replace test with a simpler hand crafted one.
...
llvm-svn: 84069
2009-10-14 01:45:10 +00:00
Fariborz Jahanian
31481d8b22
Handle ambiguity of reference initialization.
...
Removes a FIXME.
llvm-svn: 84068
2009-10-14 00:52:43 +00:00
Edward O'Callaghan
153d23f4cd
Provide AuroraUX triple support in configure. Credit to - Paul Davey.
...
llvm-svn: 84067
2009-10-14 00:44:50 +00:00
Dale Johannesen
d2d4f6cad4
Use llvmgxx for C++ test.
...
llvm-svn: 84066
2009-10-14 00:34:56 +00:00