Argyrios Kyrtzidis
773894ccec
Replace a parser assertion with a warning, suggestion by Doug.
...
llvm-svn: 110568
2010-08-09 10:54:26 +00:00
Argyrios Kyrtzidis
13257c5527
Support ObjC implementation decls for PCH.
...
Strictly speaking, implementations don't go in headers but there's no law against it.
llvm-svn: 110567
2010-08-09 10:54:20 +00:00
Argyrios Kyrtzidis
5b6a03f490
Refactor into functions PCH reading/writing the CXXBaseOrMemberInitializers. No functionality change.
...
llvm-svn: 110566
2010-08-09 10:54:12 +00:00
Nick Lewycky
ec846ac2cc
Stop the JIT from refusing to work just because the program it was compiled into
...
was built with -static.
llvm-svn: 110564
2010-08-09 07:20:20 +00:00
Oscar Fuentes
a6c1337239
CMake: llvm_map_components_to_libraries now returns system libs too.
...
llvm-svn: 110563
2010-08-09 03:47:11 +00:00
Zhongxing Xu
8f4ce879f4
Change the Interval type to signed in ImmutableIntervalMap.h.
...
llvm-svn: 110562
2010-08-09 03:43:39 +00:00
Oscar Fuentes
43c6321340
CMake: document how to incorporate LLVM into the cmake project of an
...
external project.
llvm-svn: 110561
2010-08-09 03:26:48 +00:00
Oscar Fuentes
a389c58598
CMake: system for providing llvm-config-like features to the user.
...
The user can use a cmake function for obtaining the LLVM libraries
corresponding to a list of LLVM components.
llvm-svn: 110560
2010-08-09 03:26:43 +00:00
Oscar Fuentes
c9793795f7
CMake: documented testing procedure
...
llvm-svn: 110559
2010-08-09 02:49:39 +00:00
Michael J. Spencer
4c0895893b
llc: Fix help typo as pointed out by Nick Lewycky.
...
llvm-svn: 110556
2010-08-08 23:26:49 +00:00
Rafael Espindola
fb1f29acf9
Add a opt-args option that can be used to pass arguments to every opt
...
invocation. Fixes PR7793:
bugpoint -debug test.ll --opt-args -unroll-count=4
llvm-svn: 110555
2010-08-08 22:14:20 +00:00
Alexis Hunt
9350d51518
Remove C++0x concept keyword tokens since concepts were removed from C++0x.
...
llvm-svn: 110553
2010-08-08 21:19:33 +00:00
Rafael Espindola
717cd17f6f
s/libLLVMgold/LLVMgold/g
...
llvm-svn: 110552
2010-08-08 21:14:26 +00:00
Benjamin Kramer
7fc5a94f4e
Remove unused variable.
...
llvm-svn: 110551
2010-08-08 19:54:10 +00:00
Duncan Sands
67f8b16067
Remove the ValueMap copy constructor. It's not used anywhere,
...
and removing it catches the mistake of passing a ValueMap by
copy rather than by reference.
llvm-svn: 110549
2010-08-08 12:57:48 +00:00
Eric Christopher
41983c6f1d
Regenerate.
...
llvm-svn: 110548
2010-08-08 09:20:39 +00:00
Eric Christopher
e8f47dd13a
Add a bit of a hack to avoid multiple defines of variables in
...
config.h and llvm-config.h. This could probably be improved.
llvm-svn: 110547
2010-08-08 09:18:29 +00:00
Chandler Carruth
42cf818be1
Fix a few more typos. Amusingly, GCC made the same mistake around version 3.2.
...
llvm-svn: 110546
2010-08-08 08:44:32 +00:00
Chandler Carruth
7579c008ec
Fix some typos I made when adding alternate intrinsic names.
...
llvm-svn: 110545
2010-08-08 08:30:05 +00:00
Douglas Gregor
618e64a23b
Revert r110440, the fix for PR4897. Chris claims to have a better way.
...
llvm-svn: 110544
2010-08-08 07:49:23 +00:00
Nick Lewycky
bb10e90487
Add optimization to Target/README.txt.
...
llvm-svn: 110543
2010-08-08 07:04:25 +00:00
Chandler Carruth
9b41823177
Fix a crash on template delete operators.
...
llvm-svn: 110542
2010-08-08 07:04:00 +00:00
Nick Lewycky
7f36ac54d7
Reject unrepresentable pointer types in intrinsics. Fixes PR7316.
...
llvm-svn: 110541
2010-08-08 06:12:09 +00:00
Eli Friedman
9129b00c5f
Make this test check a few more cases which didn't work correctly before
...
r110526.
llvm-svn: 110540
2010-08-08 05:07:06 +00:00
Bill Wendling
798617b1ab
Use the "isCompare" machine instruction attribute instead of calling the
...
relatively expensive comparison analyzer on each instruction. Also rename the
comparison analyzer method to something more in line with what it actually does.
This pass is will eventually be folded into the Machine CSE pass.
llvm-svn: 110539
2010-08-08 05:04:59 +00:00
Nick Lewycky
fbd2757cde
Do more to modernize MergeFunctions. Refactor in response to Chris' code review.
...
llvm-svn: 110538
2010-08-08 05:04:23 +00:00
Chandler Carruth
9c524c1d53
Silence GCC warning about && and || without explicit grouping.
...
llvm-svn: 110537
2010-08-08 05:02:51 +00:00
Oscar Fuentes
2b1077fb1d
CMake: set configure macro LLVM_PREFIX
...
llvm-svn: 110536
2010-08-08 04:32:21 +00:00
Oscar Fuentes
74f92e1102
CMake: configure header llvm-config.h
...
This is the cmake equivalent of r110532, which fixed bug #7809 .
llvm-svn: 110535
2010-08-08 04:17:18 +00:00
Rafael Espindola
33e81a8221
Most of bugpoint now only needs to know the pass names.
...
llvm-svn: 110534
2010-08-08 03:55:08 +00:00
Eric Christopher
97014d8a8b
Regenerate.
...
llvm-svn: 110533
2010-08-08 02:44:25 +00:00
Eric Christopher
f24446d0c5
Fix PR7809 by creating a header for just llvm variables that can be
...
included in exported interfaces. Update a couple of exported interfaces.
llvm-svn: 110532
2010-08-08 02:44:17 +00:00
Bill Wendling
18e853f458
Add back in r109901, which adds a Compare flag to the target instructions. It's
...
useful after all.
llvm-svn: 110531
2010-08-08 01:49:35 +00:00
Eric Christopher
6ff7161d51
Thread local variables aren't considered common linkage.
...
llvm-svn: 110530
2010-08-08 01:37:14 +00:00
Rafael Espindola
8aa19b05ee
Use %shlibext instead of .so
...
llvm-svn: 110529
2010-08-08 00:55:59 +00:00
Rafael Espindola
414de85274
Try to fix cmake build.
...
llvm-svn: 110528
2010-08-08 00:50:57 +00:00
Eric Christopher
87947f7729
Fix a couple of warnings.
...
llvm-svn: 110527
2010-08-08 00:00:34 +00:00
Eli Friedman
aab1fda91f
PR7800: both virtual and non-virtual bases must be marked as used for VTTs.
...
llvm-svn: 110526
2010-08-07 23:11:44 +00:00
Eric Christopher
f387dbde81
Make -funroll-loops turn on loop unrolling in the optimizer instead
...
of just ignoring it.
llvm-svn: 110525
2010-08-07 23:08:14 +00:00
Rafael Espindola
bbdce49c2a
Run opt instead of bugpoint itself.
...
llvm-svn: 110524
2010-08-07 23:03:21 +00:00
Benjamin Kramer
d05f31d059
Push location through the MacroUndefined PPCallback and use it to print #undefs in -dD mode. (PR7818)
...
llvm-svn: 110523
2010-08-07 22:27:00 +00:00
Rafael Espindola
225801cd32
Another missing file :-(
...
llvm-svn: 110522
2010-08-07 21:58:44 +00:00
Rafael Espindola
16db6a5651
Add missing file.
...
llvm-svn: 110521
2010-08-07 21:53:04 +00:00
Rafael Espindola
92a4a833f9
Move the bugpoint test passes to a plugin in preparation for having bugpoint
...
use opt.
llvm-svn: 110520
2010-08-07 21:48:09 +00:00
Douglas Gregor
f58ff32c16
Integral-to-pointer conversions are not always null -> member pointer
...
conversions. Fixes PR7443.
llvm-svn: 110519
2010-08-07 13:36:37 +00:00
Benjamin Kramer
a7d0ccfe7f
Roll back my last two commits, valgrind complains.
...
llvm-svn: 110518
2010-08-07 13:27:41 +00:00
Benjamin Kramer
b9525dea59
A reference to the Timer's name is safe, it outlives the contents of the vector.
...
llvm-svn: 110517
2010-08-07 13:07:57 +00:00
Benjamin Kramer
591a79fb2f
Kill rarely used std::sort.
...
llvm-svn: 110516
2010-08-07 12:37:00 +00:00
Douglas Gregor
114e55df5b
Fix an Objective-C crasher, PR7839.
...
llvm-svn: 110515
2010-08-07 12:29:18 +00:00
Douglas Gregor
22da8ebafc
Add some more tests for reference binding of Objective-C objects
...
llvm-svn: 110514
2010-08-07 11:56:45 +00:00