Daniel Malea
e33c4ba05c
Add LLVM license headers to lldb ui frontend
...
llvm-svn: 192466
2013-10-11 17:13:07 +00:00
Hans Wennborg
569e9b56a8
clang-cl: Mark /FA and /Fa as unsupported options
...
llvm-svn: 192465
2013-10-11 17:11:51 +00:00
Rafael Espindola
f86925fa60
Don't hardcode the alias order in this test.
...
llvm-svn: 192464
2013-10-11 16:56:21 +00:00
Rafael Espindola
5c8becd1fd
Fix handling of CHECK-DAG inside of CHECK-LABEL.
...
llvm-svn: 192463
2013-10-11 16:48:02 +00:00
Ed Maste
27738bec75
Eliminate integer sign comparison warning
...
llvm-svn: 192462
2013-10-11 16:30:20 +00:00
Renato Golin
dd943a8919
Better info when debugging vectorizer
...
llvm-svn: 192460
2013-10-11 16:14:39 +00:00
Amara Emerson
ac6950863f
[ARM] Fix FP ABI attributes with no VFP enabled.
...
llvm-svn: 192458
2013-10-11 16:03:43 +00:00
Matthias Braun
b542fa514b
fix typo in comment
...
llvm-svn: 192455
2013-10-11 15:40:14 +00:00
Matthias Braun
94b88b8851
Tests: Be less dependent on a specific schedule/regalloc
...
llvm-svn: 192454
2013-10-11 15:40:12 +00:00
Sergey Matveev
53e61b1acf
[sanitizer] Define kPthreadDestructorIterations on POSIX systems.
...
llvm-svn: 192453
2013-10-11 14:19:14 +00:00
Dmitry Vyukov
6dc0775f1f
tsan: catch more races on file descriptors
...
llvm-svn: 192452
2013-10-11 14:13:11 +00:00
Matheus Almeida
3372c6adb1
This reverts 192447 because of compiler warning generated on darwin build.
...
llvm-svn: 192451
2013-10-11 13:58:32 +00:00
Matheus Almeida
599446af66
This reverts r192449 because of compiler warning generated on darwin build.
...
llvm-svn: 192450
2013-10-11 13:56:12 +00:00
Matheus Almeida
aa5138b538
[mips][msa] Direct Object Emission for the majority of the ELM instructions.
...
llvm-svn: 192449
2013-10-11 13:39:49 +00:00
Dmitry Vyukov
c9f9ada48d
tsan: fix epoll_ctl interceptor
...
Currently data-race-test unittests fail with the following false positive:
WARNING: ThreadSanitizer: data race (pid=20365)
Write of size 8 at 0x7da000008050 by thread T54:
#0 close tsan_interceptors.cc:1483 (racecheck_unittest-linux-amd64-O0+0x0000000eb34a)
#1 NegativeTests_epoll::Worker2() unittest/posix_tests.cc:1148 (racecheck_unittest-linux-amd64-O0+0x0000000cc6b1)
#2 MyThread::ThreadBody(MyThread*) unittest/./thread_wrappers_pthread.h:367 (racecheck_unittest-linux-amd64-O0+0x000000097500)
Previous read of size 8 at 0x7da000008050 by thread T49:
#0 epoll_ctl tsan_interceptors.cc:1646 (racecheck_unittest-linux-amd64-O0+0x0000000e9fee)
#1 NegativeTests_epoll::Worker1() unittest/posix_tests.cc:1140 (racecheck_unittest-linux-amd64-O0+0x0000000cc5b5)
#2 MyThread::ThreadBody(MyThread*) unittest/./thread_wrappers_pthread.h:367 (racecheck_unittest-linux-amd64-O0+0x000000097500)
llvm-svn: 192448
2013-10-11 13:33:22 +00:00
Matheus Almeida
3d0933c425
[mips][msa] Direct Object Emission of INSERT.{B,H,W} instruction.
...
INSERT is the first type of MSA instruction that requires a change to the way MSA registers are parsed.
This happens because MSA registers may be suffixed by an index in the form of an immediate or a
general purpose register. The changes to parseMSARegs reflect that requirement.
llvm-svn: 192447
2013-10-11 13:29:36 +00:00
Matheus Almeida
49b7564717
[mips][msa] Improves robustness of the test by enhancing pattern matching.
...
llvm-svn: 192446
2013-10-11 13:18:01 +00:00
Justin Holewinski
a51418c1ca
[NVPTX] Switch from StrongPHIElimination to PHIElimination in NVPTXTargetMachine, and add some missing optimization passes to addOptimizedRegAlloc
...
Fixes PR17529
llvm-svn: 192445
2013-10-11 12:39:39 +00:00
Justin Holewinski
660597d190
Make AsmPrinter::emitImplicitDef a virtual method so targets can emit custom comments for implicit defs
...
For NVPTX, this fixes a crash where the emitImplicitDef implementation was expecting physical registers,
while NVPTX uses virtual registers (with a couple of exceptions). Now, the implicit def comment will be
emitted as a true PTX register name. Other targets can use this to customize the output of implicit def
comments.
Fixes PR17519
llvm-svn: 192444
2013-10-11 12:39:36 +00:00
Sergey Matveev
6c5e943953
[sanitizer] Ninja style fix to r192442.
...
llvm-svn: 192443
2013-10-11 12:15:45 +00:00
Sergey Matveev
dc75cf3368
[sanitizer] Move the PTHREAD_DESTRUCTOR_ITERATIONS constant to sanitizer_linux.h.
...
Add a test.
llvm-svn: 192442
2013-10-11 12:09:49 +00:00
Alexey Samsonov
0cd96165f1
[Sanitizer] StackTrace: kill CopyTo and reimplement CopyFrom
...
llvm-svn: 192441
2013-10-11 11:14:20 +00:00
Amara Emerson
cc00dd4d5d
[ARM] Add a test case for disabled neon/fpu features.
...
llvm-svn: 192440
2013-10-11 11:07:00 +00:00
Robert Lytton
8b1cf73c9a
remove path separator from test/Driver/xcore-opts.c
...
llvm-svn: 192439
2013-10-11 10:55:53 +00:00
Daniel Sanders
50e5ed3d08
[mips][msa] Added support for matching maddv.[bhwd], and msubv.[bhwd] from normal IR (i.e. not intrinsics)
...
llvm-svn: 192438
2013-10-11 10:50:42 +00:00
Robert Lytton
cf1dd692ae
XCore target: add an xcore toolchain implementation
...
llvm-svn: 192437
2013-10-11 10:29:40 +00:00
Robert Lytton
2d1969584a
XCore : Fix bug in XCoreABIInfo::EmitVAArg()
...
Incorrect handling of 'double' and 'long long int'
llvm-svn: 192436
2013-10-11 10:29:34 +00:00
Daniel Sanders
e67bd87c48
[mips][msa] Added support for matching fmsub.[wd] from normal IR (i.e. not intrinsics)
...
llvm-svn: 192435
2013-10-11 10:27:32 +00:00
Robert Lytton
4eec834c2b
XCore target fix bug in emitArrayBound() causing segmentation fault
...
llvm-svn: 192434
2013-10-11 10:27:13 +00:00
Robert Lytton
117deb9695
XCore target does not emit '.hidden' or '.protected' attributes
...
llvm-svn: 192433
2013-10-11 10:27:00 +00:00
Robert Lytton
9715375c25
XCore target: fix bug in XCoreLowerThreadLocal.cpp
...
When a ConstantExpr which uses a thread local is part of a PHI node
instruction, the insruction that replaces the ConstantExpr must
be inserted in the predecessor block, in front of the terminator instruction.
If the predecessor block has multiple successors, the edge is first split.
llvm-svn: 192432
2013-10-11 10:26:48 +00:00
Robert Lytton
3139db02c8
XCore target: add XCoreTargetLowering::isZExtFree()
...
llvm-svn: 192431
2013-10-11 10:26:29 +00:00
Daniel Sanders
d7103f3187
[mips][msa] Added support for matching fmadd.[wd] from normal IR (i.e. not intrinsics)
...
llvm-svn: 192430
2013-10-11 10:14:25 +00:00
Daniel Sanders
015972bd95
[mips][msa] Added support for matching ffint_[us].[wd], and ftrunc_[us].[wd] from normal IR (i.e. not intrinsics)
...
llvm-svn: 192429
2013-10-11 10:00:06 +00:00
Alexey Samsonov
9d8385453b
[Sanitizer] Simplify StackTrace::FastUnwindStack interface and fix a bug with one-frame stack traces
...
llvm-svn: 192428
2013-10-11 09:58:30 +00:00
Rui Ueyama
8e5c2788f6
Simplify unique_ptr instantiation. No functionality change.
...
llvm-svn: 192427
2013-10-11 07:42:08 +00:00
Tobias Grosser
49457d2767
Move to CLooG 0.18.1 and isl 0.12.1
...
llvm-svn: 192426
2013-10-11 07:38:50 +00:00
Craig Topper
81034928c6
Remove another unnecessary filter from the disassembler.
...
llvm-svn: 192425
2013-10-11 06:59:57 +00:00
Rui Ueyama
2ad117db97
Propagate Resolver::resolveUndefines()'s failure to caller.
...
llvm-svn: 192424
2013-10-11 06:26:16 +00:00
Rui Ueyama
f1e266846d
Remove excessive allowRemainingUndefines() check.
...
allowRemainingUndefines() is already checked in Resolver::resolve(), so we
don't need to check it again after returning from it. It's actually not only
superfluous but buggy because a failure of resolve() does not always mean that
there is a remaining undefines.
llvm-svn: 192423
2013-10-11 06:16:35 +00:00
Rui Ueyama
ee366042e9
Return true from Resolver::resolve() on success.
...
llvm-svn: 192422
2013-10-11 06:16:33 +00:00
NAKAMURA Takumi
d5d16d57eb
LiveRangeCalc.h: Update a description corresponding to r192396. [-Wdocumentation]
...
llvm-svn: 192421
2013-10-11 04:52:03 +00:00
Jason Molenda
7b54a4cfeb
Expand some embedded tab chars to spaces - no changes other than whitespace.
...
llvm-svn: 192420
2013-10-11 04:29:38 +00:00
Douglas Gregor
71fe0e8a83
Diagnose by-copy captures of abstract classes.
...
Fixes <rdar://problem/14468891>.
llvm-svn: 192419
2013-10-11 04:25:21 +00:00
Rui Ueyama
ced511b7c1
Replace a recursive tail call with an infinite loop.
...
This eliminates _elements's size check from the loop.
llvm-svn: 192418
2013-10-11 04:20:29 +00:00
Nick Lewycky
ce6a4aacb4
The emitted IR is the same, we need these flags to actually use the LLVM target.
...
Mark it as requiring the x86 target.
llvm-svn: 192417
2013-10-11 03:52:43 +00:00
Rui Ueyama
a4770543f1
Remove an unused variable added in r192415.
...
llvm-svn: 192416
2013-10-11 03:51:19 +00:00
Rui Ueyama
d542b9e53a
Use switch instead of if, and handle all enum values.
...
This patch also handles errors other than no_more_files error. They were silently
ignored.
llvm-svn: 192415
2013-10-11 03:48:06 +00:00
Shankar Easwaran
80c33aa3d7
Fix return after llvm_unreachable
...
llvm-svn: 192414
2013-10-11 03:41:24 +00:00
Nick Lewycky
3a410fe085
Add -fno-function-sections and -fno-data-sections. Since
...
-f{function,data}-sections had no tests at all, add some, and verify that the
-fno variants work as well.
llvm-svn: 192413
2013-10-11 03:35:10 +00:00