Alexey Samsonov
731eb477c1
Clang docs update: list command-line flags that control the size of generated debug information. Reviewed by chandlerc@ and echristo@.
...
llvm-svn: 157681
2012-05-30 06:55:10 +00:00
Craig Topper
9ee12508ca
SSE4A should not imply LZCNT and POPCNT. FMA4 should imply SSE4A. Add missing break at the end of btver1 feature list.
...
llvm-svn: 157680
2012-05-30 05:54:54 +00:00
Filipe Cabecinhas
22889540dc
Mark the test as failing on both architectures, since LLDB won't handle the function to clang.
...
llvm-svn: 157679
2012-05-30 05:44:59 +00:00
Filipe Cabecinhas
51c277876a
Make the test suite work again on Mac OS X without the LLDB_BUILD_TYPE env var
...
llvm-svn: 157678
2012-05-30 05:40:23 +00:00
Filipe Cabecinhas
f96964b6ef
Clean all files when executing 'make clean'
...
llvm-svn: 157677
2012-05-30 05:35:14 +00:00
Craig Topper
9fd12db1c0
Update FIXME. ABM is already covered by LZCNT and POPCNT.
...
llvm-svn: 157676
2012-05-30 04:49:49 +00:00
Craig Topper
85e100ff37
Mark extrqi and insertqi immediate arguments as being ICE.
...
llvm-svn: 157675
2012-05-30 04:45:24 +00:00
Daniel Jasper
41acbc62fb
Test commit - Fix typo in comment.
...
llvm-svn: 157674
2012-05-30 04:30:08 +00:00
Andrew Trick
a3f9043196
SCEV: Handle a corner case reducing AddRecExpr * AddRecExpr
...
If integer overflow causes one of the terms to reach zero, that can
force the entire expression to zero.
Fixes PR12929: cast<Ty>() argument of incompatible type
llvm-svn: 157673
2012-05-30 03:35:20 +00:00
Andrew Trick
946f76bf33
Reformat the loop that does AddRecExpr * AddRecExpr reduction.
...
No functionality.
llvm-svn: 157672
2012-05-30 03:35:17 +00:00
Filipe Cabecinhas
9f84da9b52
Clean renamed files on 'make clean'
...
llvm-svn: 157669
2012-05-30 02:52:29 +00:00
Jim Ingham
3ee12ef26e
We were accessing the ModuleList in the target without locking it for tasks like
...
setting breakpoints. That's dangerous, since while we are setting a breakpoint,
the target might hit the dyld load notification, and start removing modules from
the list. This change adds a GetMutex accessor to the ModuleList class, and
uses it whenever we are accessing the target's ModuleList (as returned by GetImages().)
<rdar://problem/11552372>
llvm-svn: 157668
2012-05-30 02:19:25 +00:00
Eric Christopher
13586ab6d8
Remove some extra braces.
...
llvm-svn: 157667
2012-05-30 01:14:28 +00:00
Richard Trieu
01cf09302d
Add new -Wunique-enum which will warn on enums which all elements have the
...
same value and were initialized with literals. Clang will warn on code like
this:
enum A {
FIRST = 1,
SECOND = 1
};
llvm-svn: 157666
2012-05-30 01:01:11 +00:00
Filipe Cabecinhas
970c6f39da
Make dbgnub-config.pl work with multiline env vars.
...
llvm-svn: 157664
2012-05-30 00:44:14 +00:00
Evan Cheng
bc2453dd3d
Teach taildup to update livein set. rdar://11538365
...
llvm-svn: 157663
2012-05-30 00:42:39 +00:00
Evan Cheng
50954fb3e1
If-converter models predicated defs as read + write. The read should be marked as 'undef' since it may not already be live. This appeases -verify-machineinstrs.
...
llvm-svn: 157662
2012-05-30 00:42:02 +00:00
Chris Lattner
747482c579
typo fix
...
llvm-svn: 157661
2012-05-30 00:40:23 +00:00
Anna Zaks
869aeccada
Add fixits for memory access warnings.
...
Also, do not display the builtin name and macro expansion when the
function is a builtin.
llvm-svn: 157659
2012-05-30 00:34:21 +00:00
Johnny Chen
f728f40873
For dump_register_value() sub-routine, issue a return after an error condition occurs.
...
llvm-svn: 157656
2012-05-30 00:29:12 +00:00
Bob Wilson
33e5188c27
Add an insertPass API to TargetPassConfig. <rdar://problem/11498613>
...
Besides adding the new insertPass function, this patch uses it to
enhance the existing -print-machineinstrs so that the MachineInstrs
after a specific pass can be printed.
Patch by Bin Zeng!
llvm-svn: 157655
2012-05-30 00:17:12 +00:00
Jakob Stoklund Olesen
45601d1742
Make DiffListIterator public to unbreak the gcc buildbots.
...
Apparently, a friend can't derive from a private class according to gcc.
llvm-svn: 157654
2012-05-30 00:05:03 +00:00
Jim Ingham
1afbfd0c76
Check for NULL modules coming into the SearchFilter's ModulePasses & PlatformDarwin::ModuleIsExcludedForNonModuleSpecificSearches functions.
...
llvm-svn: 157653
2012-05-29 23:48:51 +00:00
Sean Callanan
53bacf2130
Insert dynamic checks only if the appropriate
...
checker functions exist.
llvm-svn: 157652
2012-05-29 23:46:46 +00:00
Jakob Stoklund Olesen
850ef99516
Use MCRegUnitIterator to compute regsOverlap().
...
The register unit lists are typically much shorter than the register
overlap lists, and the backing table for register units has better cache
locality because it is smaller.
This makes llc about 0.5% faster. The regsOverlap() function isn't that hot.
llvm-svn: 157651
2012-05-29 23:40:02 +00:00
Jakob Stoklund Olesen
7f381bd26d
Emit register unit lists for each register.
...
Register units are already used internally in TableGen to compute
register pressure sets and overlapping registers. This patch makes them
available to the code generators.
The register unit lists are differentially encoded so they can be reused
for many related registers. This keeps the total size of the lists below
200 bytes for most targets. ARM has the largest table at 560 bytes.
Add an MCRegUnitIterator for traversing the register unit lists. It
provides an abstract interface so the representation can be changed in
the future without changing all clients.
llvm-svn: 157650
2012-05-29 23:40:00 +00:00
Nuno Lopes
8bd45f8ecd
bounds checking:
...
- hoist checks out of loops where SCEV is smart enough
- add additional statistics to measure how much we loose for not supporting interprocedural and pointers loaded from memory
llvm-svn: 157649
2012-05-29 22:32:51 +00:00
Johnny Chen
6d4d4f7db3
rdar://problem/11541676
...
Do not show the derived registers like "eax", ... for the vanilla "register read" command.
Also add a test scenario for that.
llvm-svn: 157647
2012-05-29 21:55:08 +00:00
Fariborz Jahanian
b6499eb60d
objc: position of 'fixit' was off by one.
...
This patch fixes it. // rdar://11488351
llvm-svn: 157646
2012-05-29 21:52:45 +00:00
Douglas Gregor
fd2d3c49c0
DenseMap's move assignment operator needs to return *this
...
llvm-svn: 157644
2012-05-29 20:33:09 +00:00
Johnny Chen
797a1b37e5
Fix arch_helper() to return the list of supported architectures.
...
llvm-svn: 157643
2012-05-29 20:04:10 +00:00
Fariborz Jahanian
836914c0aa
fixes radar no. in this test.
...
llvm-svn: 157642
2012-05-29 19:59:25 +00:00
Fariborz Jahanian
b5dd2cb13c
objective-c: fix a sema and IRGen crash when property
...
getter result type is safe but does not match with property
type resulting in spurious warning followed by crash in
IRGen. // rdar://11515196
llvm-svn: 157641
2012-05-29 19:56:01 +00:00
Evan Cheng
76f6e2671a
Optional def can be either a def or a use (of reg0).
...
llvm-svn: 157640
2012-05-29 19:40:44 +00:00
Benjamin Kramer
1ab16ba501
Install ammintrin.h in the cmake build.
...
llvm-svn: 157639
2012-05-29 19:36:17 +00:00
Benjamin Kramer
ba6e2528fa
Add an ammintrin.h header for SSE4a intrinsics.
...
This is a clean-room implementation based on public documentation and
I tried to validate it as much as possible against gcc.
llvm-svn: 157638
2012-05-29 19:10:17 +00:00
Simon Atanasyan
217dc2d8dd
MIPS: Pass -KPIC argument to MIPS assembler if necessary.
...
llvm-svn: 157635
2012-05-29 19:07:33 +00:00
Benjamin Kramer
ef479ea854
Add intrinsics, code gen, assembler and disassembler support for the SSE4a extrq and insertq instructions.
...
This required light surgery on the assembler and disassembler
because the instructions use an uncommon encoding. They are
the only two instructions in x86 that use register operands
and two immediates.
llvm-svn: 157634
2012-05-29 19:05:25 +00:00
Simon Atanasyan
a16b7fd029
Factor out the code retrieves the last PIC related argument from
...
the Clang::ConstructJob() to the new ArgList::getLastArg() routine
with eight argument. That simplifies reusing of this code.
llvm-svn: 157633
2012-05-29 18:50:33 +00:00
Lang Hames
e256f71937
Clear the entering, exiting and internal ranges of a bundle before collecting
...
ranges for the instruction about to be bundled. This fixes a bug in an external
project where an assertion was triggered due to spurious 'multiple defs' within
the bundle.
Patch by Ivan Llopard. Thanks Ivan!
llvm-svn: 157632
2012-05-29 18:19:54 +00:00
Enrico Granata
de4ca5b789
rdar://problem/10996978 - Fixing an issue where crash reports for the expression parser might include symbols from the user's application
...
llvm-svn: 157631
2012-05-29 18:06:49 +00:00
Benjamin Kramer
8ac9c22391
Define __SSE4A__ when targeting new AMD CPUs.
...
This doesn't really fit the existing SSELevel so it gets an extra flag.
llvm-svn: 157630
2012-05-29 17:48:39 +00:00
Peter Collingbourne
64fe1c559e
Add pow builtin.
...
llvm-svn: 157629
2012-05-29 17:42:56 +00:00
David Blaikie
48b812854e
Fix indenting.
...
llvm-svn: 157628
2012-05-29 17:05:42 +00:00
Chad Rosier
68d2ca7ecc
Revert r155737, restoring the MaxDepth in the BalancedDelimiterTracker to 256.
...
r155737 turned out to be a temporary work around. The correct fix was in r155823.
llvm-svn: 157627
2012-05-29 16:57:50 +00:00
Roman Divacky
67030280f9
Sparc is bigendian.
...
llvm-svn: 157626
2012-05-29 16:10:50 +00:00
Dmitry Vyukov
92d917d91c
tsan: prevent recursive signal handlers
...
llvm-svn: 157625
2012-05-29 15:51:27 +00:00
Nicolas Geoffray
312b28ce9d
Update CPPBackend to new API for AttrListPtr::get.
...
llvm-svn: 157624
2012-05-29 15:07:18 +00:00
Filipe Cabecinhas
3de2a75997
Commit Charles Davis' patch with some additional modifications.
...
llvm-svn: 157621
2012-05-29 14:08:19 +00:00
Filipe Cabecinhas
54d730430c
Update the Makefile to expect the lldb package
...
llvm-svn: 157620
2012-05-29 14:06:40 +00:00