Tobias Grosser
7a16c895ac
CodeGeneration: Remove -polly-codegen-only
...
If we only want to optimize a single function, we should extract this function
into a separate .ll file. This simplifies the code.
llvm-svn: 131353
2011-05-14 19:01:55 +00:00
Tobias Grosser
8c4cfc327b
CodeGeneration: Do not delete the old version of the Scop.
...
Instead of deleting the old code, keep it on the side in an if-branch. It will
either be deleted by the dead code elimination or we can use it as fallback.
llvm-svn: 131352
2011-05-14 19:01:49 +00:00
Tobias Grosser
76d7c529fb
CodeGeneration: Support only simple regions
...
llvm-svn: 131351
2011-05-14 19:01:37 +00:00
Stuart Hastings
3c2fd1cf62
Disable this test while I revise it. rdar://problem/9267970
...
llvm-svn: 131350
2011-05-14 18:39:05 +00:00
Alexis Hunt
22b5b13ce3
Make sure we actually generate defaulted copy constructors; caught by
...
Howard Hinnant. Thanks!
llvm-svn: 131349
2011-05-14 18:20:50 +00:00
Howard Hinnant
b12c37b302
Fix type-o found by Justin Hibbits
...
llvm-svn: 131348
2011-05-14 18:20:45 +00:00
Francois Pichet
6744e14d9c
In Microsoft mode, allow template function explicit specialization at class scope.
...
Necessary to parse MFC and MSVC standard lib code.
Example:
struct X {
template<class T> void f(T) { }
template<> void f(int) { }
}
llvm-svn: 131347
2011-05-14 17:46:46 +00:00
Howard Hinnant
6db38ae05c
Fix type-o found by Justin Hibbits
...
llvm-svn: 131346
2011-05-14 17:24:22 +00:00
Benjamin Kramer
d96205c4e5
SimplifyCFG: Use ComputeMaskedBits to prune dead cases from switch instructions.
...
llvm-svn: 131345
2011-05-14 15:57:25 +00:00
Howard Hinnant
af6c26b366
Warning suppression in test.
...
llvm-svn: 131344
2011-05-14 15:38:08 +00:00
Howard Hinnant
3962348edf
Warning suppression in test.
...
llvm-svn: 131343
2011-05-14 15:36:25 +00:00
Richard Smith
0c4a34b1a0
PR9908: Fix the broken fix for PR9902 to get the template argument lists in the right order.
...
Also, don't reject alias templates in all ElaboratedTypes: some ElaboratedTypes do not correspond to elaborated-type-specifiers.
llvm-svn: 131342
2011-05-14 15:04:18 +00:00
Howard Hinnant
6c4c6a8047
Warning suppression in test.
...
llvm-svn: 131341
2011-05-14 14:53:12 +00:00
Howard Hinnant
c6b9ff1169
Correction to hexfloat hack.
...
llvm-svn: 131340
2011-05-14 14:33:56 +00:00
Stuart Hastings
66a82b966e
Avoid combining GEPs that might overflow at runtime.
...
rdar://problem/9267970
Patch by Julien Lerouge!
llvm-svn: 131339
2011-05-14 05:55:10 +00:00
Alexis Hunt
c9a5573ef1
What I hope to be an implementation of defaulted copy assignment
...
operators.
llvm-svn: 131338
2011-05-14 05:23:28 +00:00
Alexis Hunt
b2f2780a16
More progress towards defaulted copy assignment
...
llvm-svn: 131337
2011-05-14 05:23:24 +00:00
Alexis Hunt
119f365d31
Start implementing defaulted copy assignment
...
llvm-svn: 131336
2011-05-14 05:23:20 +00:00
John McCall
9e8bb000d8
Objective-C vtables are not taking the world by storm; call them
...
out as "v-table" message sends and stop calling normal messages "legacy"
message sends.
Also, fix some comments to reveal the true state of affairs.
llvm-svn: 131335
2011-05-14 03:10:52 +00:00
Greg Clayton
2a48f525cd
Expand the ABI prepare trivial function call to allow 6 simple args.
...
llvm-svn: 131334
2011-05-14 01:50:35 +00:00
Jim Ingham
a16b5be727
Breakpoint::Description with eDescriptionLevelBrief should just print the number of locations, printing the list of locations is pointless.
...
llvm-svn: 131333
2011-05-14 01:11:02 +00:00
Eli Friedman
8f1e11cde9
Fix a FIXME by moving the fast-isel implementation of the objectsize intrinsic from the x86 code to the generic code.
...
llvm-svn: 131332
2011-05-14 00:47:51 +00:00
Jim Ingham
67eb68d260
For the purposes of setting breakpoints treat methods defined in the class and methods defined in a category on the class as the same.
...
llvm-svn: 131331
2011-05-14 00:40:37 +00:00
Rafael Espindola
df9db7ed92
Don't produce a vmovntdq if we don't have AVX support.
...
llvm-svn: 131330
2011-05-14 00:30:01 +00:00
Eli Friedman
f080a57b81
Zap useless code; this hasn't done anything useful since fast-isel switched to being bottom-up (a very long time ago).
...
llvm-svn: 131329
2011-05-14 00:19:32 +00:00
Howard Hinnant
e0d67710e9
Fix test bug.
...
llvm-svn: 131328
2011-05-14 00:07:53 +00:00
Howard Hinnant
fe7cffaf57
Suppress some warings in the tests.
...
llvm-svn: 131327
2011-05-14 00:04:05 +00:00
Howard Hinnant
a7fa0710cb
Suppress some warings in the tests.
...
llvm-svn: 131326
2011-05-13 23:59:50 +00:00
John McCall
8a2548f6e0
Add an operator+= for appending StringRefs onto std::strings.
...
Previously this pattern would be compiled using an implicit conversion
to std::string.
llvm-svn: 131325
2011-05-13 23:58:45 +00:00
Johnny Chen
c8134cee01
Clean up the test a little bit; and use lldbutil.get_GPRs(frame) to retrieve the general purpose register set.
...
llvm-svn: 131324
2011-05-13 23:42:44 +00:00
John McCall
234eac88ae
Reorganize this method to avoid multiple calls for computing CGFunctionInfo
...
and to decrease the amount of effort in appending strings.
llvm-svn: 131323
2011-05-13 23:16:18 +00:00
Jim Grosbach
f6b1846f39
Be a bit more permissive about symbols we don't understand. Just skip them
...
rather than throwing an error.
llvm-svn: 131322
2011-05-13 23:11:30 +00:00
Joerg Sonnenberger
be7850dd8a
Simplify
...
llvm-svn: 131321
2011-05-13 22:58:37 +00:00
Dylan Noblesmith
0bd34fbd01
ExecutionEngine: move createJIT() definition (v2)
...
As an ExecutionEngine class function, its definition
really belongs in ExecutionEngine.cpp, not JIT.cpp.
llvm-svn: 131320
2011-05-13 22:02:53 +00:00
Johnny Chen
b411b980ac
Test commit from a git-svn-cloned lldb/trunk repository.
...
llvm-svn: 131319
2011-05-13 21:55:30 +00:00
Howard Hinnant
fb7f07e3bd
http://llvm.org/bugs/show_bug.cgi?id=9854 . Also created an emulated hexfloat literal for use in some of the tests. <sigh> And cleaned up some harmless but irritating warnings in the tests.
...
llvm-svn: 131318
2011-05-13 21:52:40 +00:00
Dylan Noblesmith
8418fdcd59
ExecutionEngine: push TargetMachine creation into clients (v2)
...
In particular, into EngineBuilder. This should only impact
the private API between the EE and EB classes, not external
clients, since JITCtor and MCJITCtor are both protected members.
llvm-svn: 131317
2011-05-13 21:51:29 +00:00
Dylan Noblesmith
1756faa472
ExecutionEngine: fix JIT/MCJIT selectTarget() duplication (v2)
...
This prepares for making JITCtor/MCJITCtor take a
TargetMachine* directly from clients like EngineBuilder.
llvm-svn: 131316
2011-05-13 21:36:16 +00:00
Rafael Espindola
8255d1e223
Move test.
...
llvm-svn: 131315
2011-05-13 21:35:17 +00:00
Rafael Espindola
a9289bedf8
Move test.
...
llvm-svn: 131314
2011-05-13 21:33:32 +00:00
Johnny Chen
13e8e1c37d
This patch add a "fake" attach waiting for a real implementation and
...
solve the build break due to the lack of this method.
It also propose a solution to the API changes in RegisterContext.
I upgraded also the the python version in the makefile. My linux
installation has python2.7 and AFAIK also the latest ubuntu
has this version of python so maybe is worth upgrading.
Patch by Marco Minutoli <mminutoli@gmail.com>
[Note: I had to hand merge in the diffs since patch thinks it is a corrupt patch.]
llvm-svn: 131313
2011-05-13 21:29:50 +00:00
Joerg Sonnenberger
caf8ffd8e3
Bug 8765: Honor assembler labels for builtins. Ensure that the label is
...
mangled to avoid doing it twice for platforms that use prefixes like
Darwin.
llvm-svn: 131311
2011-05-13 21:12:10 +00:00
Joerg Sonnenberger
b9c79ad333
Include assembler label for functions in the XML dump
...
llvm-svn: 131310
2011-05-13 21:10:39 +00:00
Alexis Hunt
b5b14c8b8f
Fix copy constructor deletion detection with array types.
...
This fixes PR9910
llvm-svn: 131309
2011-05-13 21:10:11 +00:00
Peter Collingbourne
d5d410faa8
Introduce __has_extension macro
...
__has_extension is a function-like macro which takes the same set
of feature identifiers as __has_feature. It evaluates to 1 if the
feature is supported by Clang in the current language (either as a
language extension or a standard language feature) or 0 if not.
At the same time, add support for the C1X feature identifiers
c_generic_selections (renamed from generic_selections) and
c_static_assert, and document them.
Patch by myself and Jean-Daniel Dupas.
llvm-svn: 131308
2011-05-13 20:54:45 +00:00
Tobias Grosser
c0b259ad90
www: Update status of our move to the LLVM infrastructure
...
llvm-svn: 131307
2011-05-13 20:51:45 +00:00
Johnny Chen
4bee32e53a
Headers have been moved to /includes/lldb/Interpreter. This patch
...
reflects this change.
Marco Minutoli <mminutoli@gmail.com>
llvm-svn: 131306
2011-05-13 20:21:08 +00:00
Jim Grosbach
65ed49dfc7
Teach the RtDyld to tell the memory manager about how much space a function
...
actually takes rather than how much memory was allocated for it. This
is more accurate and should help the manager pack things more effectively.
llvm-svn: 131305
2011-05-13 20:12:14 +00:00
Johnny Chen
a566355482
PATH_MAX is in limits.h on Linux.
...
Patch by Marco Minutoli <mminutoli@gmail.com>
llvm-svn: 131304
2011-05-13 20:07:25 +00:00
Johnny Chen
709a060411
This method has been removed from the API. This fix the compilation
...
breakage due to its presence.
Patch by Marco Minutoli <mminutoli@gmail.com>
llvm-svn: 131303
2011-05-13 19:57:45 +00:00