Enrico Granata
eb36cadb68
Fixing an over-substitution of text
...
llvm-svn: 155556
2012-04-25 16:35:54 +00:00
Enrico Granata
85ce21c04d
Make the C++ formatters importable by having them use the right package to import and reference the Logger
...
llvm-svn: 155555
2012-04-25 16:32:39 +00:00
Jakob Stoklund Olesen
60d660fe94
Simplify LiveIntervals::getApproximateInstructionCount().
...
This function is only used for a heuristic during -join-physregs. It
doesn't need floating point.
llvm-svn: 155554
2012-04-25 16:32:23 +00:00
Jakob Stoklund Olesen
e64664e178
Remove a dead function.
...
llvm-svn: 155553
2012-04-25 16:32:20 +00:00
Jakob Stoklund Olesen
983dd43b15
Remove the -disable-cross-class-join option.
...
Cross-class joins have been normal and fully supported for a while now.
With TableGen generating the getMatchingSuperRegClass() hook, they are
unlikely to cause problems again.
llvm-svn: 155552
2012-04-25 16:17:50 +00:00
Jakob Stoklund Olesen
d11cf9677f
Cross-class joining is winning.
...
Remove the heuristic for disabling cross-class joins. The greedy
register allocator can handle the narrow register classes, and when it
splits a live range, it can pick a larger register class.
Benchmarks were unaffected by this change.
<rdar://problem/11302212>
llvm-svn: 155551
2012-04-25 16:17:47 +00:00
Manuel Klimek
85e60b5dc9
Adds documentation for how to use the tooling library.
...
llvm-svn: 155550
2012-04-25 14:20:13 +00:00
Manuel Klimek
06b0a7369f
Adds a document describing the various tooling approaches and their pros and
...
cons.
llvm-svn: 155549
2012-04-25 13:57:00 +00:00
Tobias Grosser
460e9a463d
ScheduleOptimizer: Move functions into class
...
llvm-svn: 155548
2012-04-25 13:22:43 +00:00
Hongbin Zheng
8a8466106c
Refactor: Move the code generation related header files to include/polly/CodeGen.
...
llvm-svn: 155547
2012-04-25 13:18:28 +00:00
Hongbin Zheng
3b11a16a44
Refactor: Move the declaration of the BlockGenerator/VectorBlockGenerator
...
to standalone header and source files.
llvm-svn: 155546
2012-04-25 13:16:49 +00:00
Hongbin Zheng
39645abf4c
ScopStmt: Provide a function to allow users look up the corresponding
...
memory access of a particular instruction, the function will return
null if no such memory access.
llvm-svn: 155544
2012-04-25 09:34:33 +00:00
Evgeniy Stepanov
0a0655affa
Make asan-ld test windows-safe.
...
llvm-svn: 155543
2012-04-25 09:28:10 +00:00
Manuel Klimek
3778a435d1
Fixes the header search logic for tools:
...
The driver needs to get the correct path to the executable to deduce
the header search path.
llvm-svn: 155542
2012-04-25 09:25:41 +00:00
Evgeniy Stepanov
7786671b5a
Clang driver support for linking on Android.
...
llvm-svn: 155541
2012-04-25 08:59:22 +00:00
Evgeniy Stepanov
78eaa2cd1b
Fix default cpu for -march=armv5e.
...
llvm-svn: 155540
2012-04-25 08:35:56 +00:00
Hongbin Zheng
86a37745eb
Minor change: Replace convertInt in ScopInfo.cpp by utostr_32, which is
...
defined in StringExtras.h.
llvm-svn: 155539
2012-04-25 08:01:38 +00:00
Craig Topper
3ec7c2aa84
Add ifdef around getSubtargetFeatureName in tablegen output file so that only targets that want the function get it. This prevents other targets from getting an unused function warning.
...
llvm-svn: 155538
2012-04-25 06:56:34 +00:00
Craig Topper
5ff6dc34b9
Use vector_shuffles instead of target specific unpack nodes for AVX ZERO_EXTEND/ANY_EXTEND combine. These will be converted to target specific nodes during lowering. This is more consistent with other code.
...
llvm-svn: 155537
2012-04-25 06:39:39 +00:00
Chris Lattner
07d9073df2
openbsd doesn't support soname, patch by Brad Smith!
...
llvm-svn: 155536
2012-04-25 06:37:20 +00:00
Chris Lattner
024e12df52
OpenBSD: Remove incorrect -pthread preprocessor define _POSIX_THREADS and replace
...
with _REENTRANT. Also remove undef _POSIX_THREADS in phread.h.
Patch by Brad Smith!
llvm-svn: 155535
2012-04-25 06:12:24 +00:00
Chris Lattner
7073c47dc4
don't use soname on OpenBSD, it doesn't support it. Patch by
...
Brad Smith!
llvm-svn: 155534
2012-04-25 06:09:30 +00:00
Chandler Carruth
eeb9e5810a
Actually delete now-empty file.
...
llvm-svn: 155532
2012-04-25 02:30:00 +00:00
Lang Hames
2fd0c69125
Reverting r155468. Chris and Chandler have convinced me that it's dangerous and
...
in poor taste.
Talking through some alternate solutions with Chandler.
llvm-svn: 155530
2012-04-25 02:16:54 +00:00
Greg Clayton
ed3eee6e55
Now that we have an LLDB package, make the "lldb.macosx.crashlog" module work with all of the new module paths.
...
llvm-svn: 155528
2012-04-25 01:49:50 +00:00
Jason Molenda
68b922590d
Bump to lldb-144.
...
llvm-svn: 155527
2012-04-25 01:44:49 +00:00
Enrico Granata
28399adad8
Making the Cocoa formatters comply with the new on-disk layout of the Python resources - This is one of the steps towards making the data formatters work again
...
llvm-svn: 155526
2012-04-25 01:39:27 +00:00
Enrico Granata
5b4ab4c848
Ensure that lldb/runtime is not a dead point in the Python package hierarchy - This is a first preliminary step in fixing data formatters after Greg's changes to the Python resources on-disk layout
...
llvm-svn: 155525
2012-04-25 01:26:37 +00:00
Greg Clayton
938aa00795
Remove unneeded files.
...
llvm-svn: 155524
2012-04-25 01:25:22 +00:00
Greg Clayton
81e9ebf798
Move the source and Makefile into a directory so it will be easier to install.
...
llvm-svn: 155523
2012-04-25 01:25:04 +00:00
Akira Hatanaka
2020e27d6d
Do not use $gp as a dedicated global register if the target ABI is not O32.
...
llvm-svn: 155522
2012-04-25 01:24:52 +00:00
Johnny Chen
6381f01012
Renaming to rid of the '++' in the test file name and simplify the Makefile.
...
llvm-svn: 155521
2012-04-25 01:20:15 +00:00
Greg Clayton
b1ba1bb194
Make the Makefile stand alone.
...
llvm-svn: 155520
2012-04-25 01:19:20 +00:00
Andrew Trick
aac706240f
typo in declaration from earlier today
...
llvm-svn: 155519
2012-04-25 01:11:22 +00:00
Jim Ingham
c9efdbb0d4
Fix the docs for "breakpoint command add" to specify the arguments passed into the python function.
...
llvm-svn: 155517
2012-04-25 01:05:21 +00:00
Sean Callanan
dd42e097eb
Removed a binary that I accidentally committed.
...
llvm-svn: 155516
2012-04-25 01:04:34 +00:00
Sean Callanan
7457f8d7c9
Recognize Objective-C classes with runtime class
...
ObjCPlusPlus as Objective-C classes. Really the
compiler should say they have Objective-C runtime
class, but we should be a little more resilient
(we were refusing to find ivars in those classes
before).
Also added a test case.
llvm-svn: 155515
2012-04-25 01:03:57 +00:00
Greg Clayton
6d98f56c58
Maked LLDB into a package so we can import things without poluting the global namespace.
...
Enrico will follow this up with fixing the data formatter test cases that are failing.
llvm-svn: 155514
2012-04-25 00:58:03 +00:00
Dan Gohman
62079b43cc
Simplify the known retain count tracking; use a boolean state instead
...
of a precise count. Also, move RRInfo's Partial field into PtrState,
now that it won't increase the size.
llvm-svn: 155513
2012-04-25 00:50:46 +00:00
Sean Callanan
374bd0c9e5
Made it safe to re-import a Python module, allowing
...
the same test to be run multiple times in the same
session.
llvm-svn: 155511
2012-04-25 00:21:42 +00:00
Enrico Granata
45034810aa
Fixing a bunch of i386 testsuite failures
...
llvm-svn: 155510
2012-04-25 00:13:06 +00:00
Jason Molenda
216d91f16e
Change Target::ReadMemoryFromFileCache to not read from the file
...
if the section is marked as encrypted. It will likely be readable
in live memory.
<rdar://problem/11305675>
llvm-svn: 155509
2012-04-25 00:06:56 +00:00
Nico Weber
cb93142e1f
Expand #include_next in float.h from mingw to _msc_ver.
...
A test for this is checking if this compiles:
#include <float.h>
inline bool IsFinite(const double& number) {
return _finite(number) != 0;
}
That depends however on either mingw or msvc being installed, and
chapuni tells me there might be issues with float.h on mingw, so
no automated test is added.
llvm-svn: 155507
2012-04-24 23:43:40 +00:00
Johnny Chen
c4f4d056ab
Make the test case more robust in terms of remote testsuite execution.
...
rdar://problem/11312971
llvm-svn: 155505
2012-04-24 23:33:16 +00:00
Sean Callanan
dfc066d274
Forgo the selector test on i386, where we can't
...
test whether an object responds to a selector
from outside the process.
llvm-svn: 155504
2012-04-24 23:31:54 +00:00
Sean Callanan
72546f01d3
Create an NSAutoreleasePool correctly in a test
...
case so that the Objective-C runtime doesn't
complain about lack of one, causing the test case
to fail.
llvm-svn: 155503
2012-04-24 23:18:47 +00:00
Chad Rosier
47c6c9de50
Add acos, asin, ceil, fabs, floor, fmax, fmin, round, and tan to the builtin
...
math library functions.
rdar://11251464
llvm-svn: 155502
2012-04-24 23:06:26 +00:00
Johnny Chen
8da4ddf990
Add a suffix rule for compiling objc++ files and a sample directory under test/lang/objcxx.
...
llvm-svn: 155501
2012-04-24 23:05:07 +00:00
Dan Gohman
c24c66f21c
Build custom predecessor and successor lists for each basic block.
...
These lists exclude invoke unwind edges and loop backedges which
are being ignored. This makes it easier to ignore them
consistently.
llvm-svn: 155500
2012-04-24 22:53:18 +00:00
Jim Grosbach
5117ef7453
ARM: improved assembler diagnostics for missing CPU features.
...
When an instruction match is found, but the subtarget features it
requires are not available (missing floating point unit, or thumb vs arm
mode, for example), issue a diagnostic that identifies what the feature
mismatch is.
rdar://11257547
llvm-svn: 155499
2012-04-24 22:40:08 +00:00