Douglas Gregor
1fc79dda69
More tests for explicit template specialization
...
llvm-svn: 83896
2009-10-12 20:45:50 +00:00
Chris Lattner
bf43817408
allow this testcase to pass with recent changes. The test hasn't been
...
producing any stores at all for a long time, but ".store." was in some
IR instruction names until recently. This removal caused the test to
start failing. Just make it reject any stores.
llvm-svn: 83895
2009-10-12 20:42:35 +00:00
Bob Wilson
196bf32ab0
Remove redundant parameter.
...
llvm-svn: 83894
2009-10-12 20:37:23 +00:00
Douglas Gregor
00bb0cbfa5
Add test for last commit
...
llvm-svn: 83893
2009-10-12 20:23:10 +00:00
Douglas Gregor
06db9f50a2
Diagnose the declaration of explicit specializations after an implicit
...
instantiation has already been required. To do so, keep track of the
point of instantiation for anything that can be instantiated.
llvm-svn: 83890
2009-10-12 20:18:28 +00:00
Fariborz Jahanian
e7196431c1
Handle built-in unary operators when reporting ambiguities.
...
wip - To prune excessive reporting.
llvm-svn: 83889
2009-10-12 20:11:40 +00:00
Anders Carlsson
bcee4a7b6b
Fix test.
...
llvm-svn: 83888
2009-10-12 20:06:34 +00:00
Anders Carlsson
a1b54fdbe1
Even more devirtualization cleverness.
...
llvm-svn: 83886
2009-10-12 19:59:15 +00:00
Ted Kremenek
a81b3256a4
Allow BumpVectorContext to conditionally own the underlying BumpPtrAllocator.
...
llvm-svn: 83884
2009-10-12 19:54:17 +00:00
Anders Carlsson
2a01709204
More devirtualization improvements.
...
llvm-svn: 83883
2009-10-12 19:51:33 +00:00
Anders Carlsson
b61301f353
Devirtualize calls on temporaries. A().f() for example.
...
llvm-svn: 83882
2009-10-12 19:45:47 +00:00
Anders Carlsson
d7432dfb0a
Factor out devirtualization checking into a separate function and make it handle references correctly.
...
llvm-svn: 83880
2009-10-12 19:41:04 +00:00
Bob Wilson
3a7326e705
Use early exit to reduce indentation.
...
llvm-svn: 83874
2009-10-12 19:04:03 +00:00
Bob Wilson
3af34312d4
Change to return a value by reference.
...
llvm-svn: 83873
2009-10-12 19:01:12 +00:00
Bob Wilson
c7a3cf4066
Add a typedef for an iterator.
...
llvm-svn: 83872
2009-10-12 18:52:13 +00:00
Dale Johannesen
06243d7bf2
Revert the kludge in 76703. I got a clean
...
bootstrap of FSF-style PPC, so there is some
reason to believe the original bug (which was
never analyzed) has been fixed, probably by
82266.
llvm-svn: 83871
2009-10-12 18:49:00 +00:00
Dale Johannesen
4c9f0e8f53
Fix warning.
...
llvm-svn: 83870
2009-10-12 18:45:32 +00:00
Fariborz Jahanian
65694b413d
Use CanQualType (instead of QualType) to store collection of visible
...
canonical conversion types.
llvm-svn: 83869
2009-10-12 18:36:50 +00:00
Chris Lattner
6208bc171a
fix validation error pointed out by gabor (and the w3c :)
...
llvm-svn: 83868
2009-10-12 18:33:33 +00:00
Chris Lattner
7c6e0f22ad
Improve bugpoint doc, patch by Timo Lindfors!
...
llvm-svn: 83865
2009-10-12 18:12:47 +00:00
Fariborz Jahanian
574de2c5a4
If built-in operators could not be selected because of ambiguity in
...
user-defined type conversions, issue list of ambiguites in addition
to the diagnostic. So, clang now issues the following:
b.cpp:19:19: error: left hand operand to ->* must be a pointer to class compatible with the right hand operand, but is 'struct C1'
int i = c1->*pmf;
~~^
b.cpp:19:19: note: because of ambiguity in conversion of 'struct C1' to 'struct E *'
b.cpp:5:5: note: candidate function
operator E*();
^
b.cpp:11:5: note: candidate function
operator E*();
^
llvm-svn: 83862
2009-10-12 17:51:19 +00:00
Jeffrey Yasskin
406ac811ab
Fix http://llvm.org/PR5160 , to let CallbackVHs modify other ValueHandles on the
...
same Value without breaking things.
llvm-svn: 83861
2009-10-12 17:43:32 +00:00
Gabor Greif
001d74c312
another bunch of <tt>s
...
llvm-svn: 83860
2009-10-12 16:50:25 +00:00
Dan Gohman
32eed95a78
Remove a redundant member variable.
...
llvm-svn: 83857
2009-10-12 16:44:10 +00:00
Dan Gohman
a8bacea11b
Delete some obsolete declarations.
...
llvm-svn: 83856
2009-10-12 16:43:44 +00:00
Axel Naumann
a7e200e6f7
Don't install Makefiles nor tablegen input in include/.
...
Fix exclusion of .tmp, which in turn enables installation of $(PROJ_OBJ_ROOT)/tools/clang/include/*.inc.
llvm-svn: 83855
2009-10-12 16:42:18 +00:00
Gabor Greif
af28f0be41
even more <tt>s
...
llvm-svn: 83854
2009-10-12 16:40:25 +00:00
Dan Gohman
a698d7ac3c
Don't forget to mark RAX as live-out of the function when arranging for
...
it to hold the address of an sret return value, for x86-64 ABI purposes.
Also, fix the test that was originally intended to test this to actually
test it, using FileCheck.
llvm-svn: 83853
2009-10-12 16:36:12 +00:00
Gabor Greif
a80c5df3ea
more typewriter face
...
llvm-svn: 83852
2009-10-12 16:27:44 +00:00
Gabor Greif
1a093f3022
fix three validation errors, I leave the fourth to sabre :-)
...
llvm-svn: 83851
2009-10-12 16:13:36 +00:00
Gabor Greif
aa9b0ba7db
set some options in typewriter font
...
llvm-svn: 83850
2009-10-12 16:08:52 +00:00
Benjamin Kramer
0f4203861f
Documentation: Perform automated correction of common typos.
...
llvm-svn: 83849
2009-10-12 14:46:08 +00:00
Torok Edwin
7630f105a1
Fix typo, patch from Timo Juhani Lindfors.
...
llvm-svn: 83848
2009-10-12 13:37:29 +00:00
Edward O'Callaghan
e4ab8eacf7
Typo in AddGnuCPlusPlusIncludePaths.
...
llvm-svn: 83847
2009-10-12 12:02:47 +00:00
Benjamin Kramer
258c7fa33a
Eliminate some redundant llvm-as calls.
...
llvm-svn: 83837
2009-10-12 09:31:55 +00:00
Edward O'Callaghan
1c591f74c7
Missing CHECK: lines makes test exit abnormally.
...
llvm-svn: 83835
2009-10-12 09:01:26 +00:00
Edward O'Callaghan
8720e8c8f3
FileCheck not CheckFile, oops.
...
llvm-svn: 83834
2009-10-12 08:51:28 +00:00
Edward O'Callaghan
6d01608662
Convert InstCombine/call.ll to CheckFile.
...
llvm-svn: 83833
2009-10-12 08:46:47 +00:00
Edward O'Callaghan
cbf75a5dc3
Convert the rest of the InstCombine tests from notcast to FileCheck.
...
llvm-svn: 83828
2009-10-12 07:18:14 +00:00
Nick Lewycky
31a57ea0dd
Remove this part of the test, it never actually tested anything anyways. This
...
unbreaks make check after evocallaghan's changes.
llvm-svn: 83827
2009-10-12 06:32:42 +00:00
Edward O'Callaghan
940da903e2
Fix syntax error missed in converting zext.ll test. Convert 2003-11-13-ConstExprCastCall.ll to FileCheck from notcast.
...
llvm-svn: 83826
2009-10-12 06:23:56 +00:00
Edward O'Callaghan
484b6c2cfc
Convert InstCombine tests from notcast to FileCheck.
...
llvm-svn: 83825
2009-10-12 06:14:06 +00:00
Nate Begeman
a3ed9edd40
More heuristics for Combiner-AA. Still catches all important cases, but
...
compile time penalty on gnugo, the worst case in MultiSource, is down to
about 2.5% from 30%
llvm-svn: 83824
2009-10-12 05:53:58 +00:00
Edward O'Callaghan
8227b0512f
Haiku porting patches, Credit to Paul Davey.
...
llvm-svn: 83823
2009-10-12 04:57:20 +00:00
Chris Lattner
0840c823e4
Fix PR5087, patch by Jakub Staszak!
...
llvm-svn: 83822
2009-10-12 04:22:44 +00:00
Chris Lattner
40cf28d6eb
add some more hooks to the C bindings, patch by Kenneth Uildriks!
...
llvm-svn: 83821
2009-10-12 04:01:02 +00:00
Douglas Gregor
3a66952bea
Make ParallelJIT pthreads linking with CMake slightly less broken
...
llvm-svn: 83820
2009-10-12 04:00:13 +00:00
Edward O'Callaghan
396ed2bcaa
Fix LLVM CMake build system so that it may now work on Solaris and AuroraUX.
...
llvm-svn: 83819
2009-10-12 04:00:11 +00:00
Chris Lattner
8abd572dae
populate instcombine's initial worklist more carefully, causing
...
it to visit instructions from the start of the function to the
end of the function in the first path. This greatly speeds up
some pathological cases (e.g. PR5150).
Try #3 , this time with some unneeded debug info stuff removed
which was causing dead pointers to be added to the worklist.
llvm-svn: 83818
2009-10-12 03:58:40 +00:00
Chris Lattner
8ce6b36c86
revert r83814 for now, it is making the llvm-gcc bootstrap unhappy.
...
llvm-svn: 83817
2009-10-11 23:56:08 +00:00