Bernard Ogden
4400cde89a
Add subtarget feature support for Cortex-A53
...
Some previous implicit defaults have changed, for example FP and NEON
are now on by default.
llvm-svn: 192590
2013-10-14 13:16:57 +00:00
Matheus Almeida
2102188cfc
[mips][msa] Direct Object Emission support for BIT instructions.
...
List of instructions:
bclri.{b,h,w,d}
binsli.{b,h,w,d}
binsri.{b,h,w,d}
bnegi.{b,h,w,d}
bseti.{b,h,w,d}
sat_s.{b,h,w,d}
sat_u.{b,h,w,d}
slli.{b,h,w,d}
srai.{b,h,w,d}
srari.{b,h,w,d}
srli.{b,h,w,d}
srlri.{b,h,w,d}
llvm-svn: 192589
2013-10-14 13:07:39 +00:00
Matheus Almeida
5be0cd8720
[mips][msa] Direct Object Emission support for VEC instructions.
...
List of instructions:
and.v, bmnz.v, bmz.v, bsel.v, nor.v, or.v, xor.v.
llvm-svn: 192588
2013-10-14 12:57:18 +00:00
Matheus Almeida
7d65ea76ea
[mips][msa] Direct Object Emission of INSVE.{b,h,w,d}.
...
llvm-svn: 192587
2013-10-14 12:38:17 +00:00
Matheus Almeida
bc189eb318
[mips][msa] Direct Object Emission for the majority of the ELM instructions.
...
List of instructions:
copy_s.{b,h,w}
copy_u.{b,h,w}
sldi.{b,h,w,d}
splati.{b,h,w,d}
llvm-svn: 192586
2013-10-14 12:22:43 +00:00
Sergey Matveev
da9f5e7e7f
[asan] Improve thread lifetime tracking on POSIX systems.
...
Call AsanThread::Destroy() from a late-running TSD destructor.
Previously we called it before any user-registered TSD destructors, which caused
false positives in LeakSanitizer.
llvm-svn: 192585
2013-10-14 12:01:05 +00:00
Evgeniy Stepanov
7aacd9c172
[msan] Intercept strto(d|f|ld)_l and glibc-specific __strto(d|f|ld)_l.
...
llvm-svn: 192583
2013-10-14 11:52:40 +00:00
Matheus Almeida
b74293dc55
[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: 192582
2013-10-14 11:49:30 +00:00
Alexey Samsonov
df6e6569c0
[ASan] Don't die with internal ASan error on large buffer overflows
...
Summary:
Out-of-bound access may touch not-yet allocated or already freed
and recycled from quarantine chunks. We should treat this situation as
a "free-range memory access" and avoid printing any data about that
irrelevant chunk (which may be inconsistent).
This should fix https://code.google.com/p/address-sanitizer/issues/detail?id=183
Reviewers: kcc
Reviewed By: kcc
CC: timurrrr, llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1893
llvm-svn: 192581
2013-10-14 11:13:54 +00:00
Deepak Panickal
421e884b31
Remove added file for the test commit
...
llvm-svn: 192580
2013-10-14 10:12:30 +00:00
Deepak Panickal
531912d8e4
Test commit
...
llvm-svn: 192579
2013-10-14 10:07:04 +00:00
Andy Gibbs
7f14630f4a
Suppress "using extended field designator is an extension" warning in use of offsetof.
...
llvm-svn: 192578
2013-10-14 10:00:11 +00:00
Evgeniy Stepanov
054d533d8d
[msan] Regression test for r192575.
...
llvm-svn: 192577
2013-10-14 09:53:39 +00:00
Dmitry Vyukov
4314e319ab
tsan: allow to override OnPrint() callback in Go runtime
...
llvm-svn: 192576
2013-10-14 09:52:40 +00:00
Evgeniy Stepanov
9b5517b127
[msan] Fix handling of scalar select of vectors.
...
llvm-svn: 192575
2013-10-14 09:52:09 +00:00
Alexey Samsonov
c7ae7529e7
[Sanitizer] Return implementation of StackTrace::CopyFrom to header
...
llvm-svn: 192574
2013-10-14 07:36:10 +00:00
Elena Demikhovsky
82a46ebe0a
Fixed a bug in dynamic allocation memory on stack.
...
The alignment of allocated space was wrong, see Bugzila 17345.
Done by Zvi Rackover <zvi.rackover@intel.com>.
llvm-svn: 192573
2013-10-14 07:26:51 +00:00
Alexey Samsonov
05747f3734
Fix use-after-free in PPCallbacksTest detected by ASan bootstrap bot
...
llvm-svn: 192572
2013-10-14 07:13:59 +00:00
Carlo Kok
7438912fb8
Set the architecture from the remote executable when it's not set so the register info can be loaded properly (and thus the callstacks work)
...
llvm-svn: 192571
2013-10-14 07:09:13 +00:00
Andy Gibbs
d9ba47271d
Fixed "ArgSize may be used uninitialised" error when compiling with gcc.
...
llvm-svn: 192570
2013-10-14 07:02:04 +00:00
Dmitry Vyukov
abc416f326
tsan: allow to override OnFinalize() in front-ends that does not support weak functions (Go)
...
llvm-svn: 192569
2013-10-14 06:31:03 +00:00
Craig Topper
d7abdb6f12
Create classes to reduce the size of the tablegen entries for the CRC32 instructions.
...
llvm-svn: 192568
2013-10-14 05:19:58 +00:00
Craig Topper
a422b09ae3
Allow pinsrw/pinsrb/pextrb/pextrw/movmskps/movmskpd/pmovmskb/extractps instructions to parse either GR32 or GR64 without resorting to duplicating instructions.
...
llvm-svn: 192567
2013-10-14 04:55:01 +00:00
Craig Topper
4432208884
Add disassembler support for SSE4.1 register/register form of PEXTRW. There is a shorter encoding that was part of SSE2, but a memory form was added in SSE4.1. This is the register form of that encoding.
...
llvm-svn: 192566
2013-10-14 01:42:32 +00:00
Craig Topper
7158745e55
Mark MOVMSKPS/MOVMSKPD/VPINSRWrr64i as AsmParserOnly to remove them from the disassembler tables. Add PINSRWrr64i to complement the AVX version.
...
llvm-svn: 192565
2013-10-14 01:21:22 +00:00
David Majnemer
93fdc3fabf
Windows: Fix a typo in an assert
...
llvm-svn: 192564
2013-10-14 01:17:32 +00:00
Alexander Kornienko
e2e0387f3e
Keep track of indentation levels in static initializers for correct indentation with tabs.
...
Summary:
Store IndentationLevel in ParentState and use it instead of the
Line::Level when indening.
Also fixed incorrect indentation level calculation in formatFirstToken.
Reviewers: djasper
Reviewed By: djasper
CC: cfe-commits, klimek
Differential Revision: http://llvm-reviews.chandlerc.com/D1797
llvm-svn: 192563
2013-10-14 00:46:35 +00:00
Craig Topper
c4a5a3f65d
Don't use 64-bit versions of MOVMSKPD in CodeGen. The instructions only produce a 1-bit result so we can just use SUBREG_TO_REG to extend the 32-bit versions.
...
llvm-svn: 192562
2013-10-14 00:24:33 +00:00
David Majnemer
7af18578f8
Windows: Don't bother with pinning Kernel32.dll
...
We don't delay load it so it shouldn't be going anywhere.
llvm-svn: 192561
2013-10-14 00:06:58 +00:00
Richard Smith
d46d6dea68
Merge common pointers for redeclarations of the same template across modules.
...
llvm-svn: 192560
2013-10-13 23:50:45 +00:00
Richard Smith
f39720b26e
Don't get confused by a virt-specifier after a trailing-return-type - it's not
...
an accidentally-included name for the declarator.
llvm-svn: 192559
2013-10-13 22:12:28 +00:00
Will Dietz
5357df6290
MC: Don't assume incoming StringRef's are null terminated.
...
This can happen when processing command line arguments, which
are often stored as std::string's and later turned into
StringRef's via std::string::data(). Unfortunately this
is not guaranteed to return a null-terminated string
until C++11, causing breakage on platforms that don't do this.
llvm-svn: 192558
2013-10-13 22:09:26 +00:00
Vincent Lejeune
d6cbede9c5
R600: improve dump of S_WAITCNT
...
llvm-svn: 192557
2013-10-13 17:56:28 +00:00
Vincent Lejeune
4ee6dd6136
R600/SI: Add SinkingPass before ISel
...
llvm-svn: 192556
2013-10-13 17:56:21 +00:00
Vincent Lejeune
d623644d17
R600/SI: Support byval arguments
...
llvm-svn: 192555
2013-10-13 17:56:16 +00:00
Vincent Lejeune
fa58a5fb60
R600: Use masked read sel for texture instructions
...
llvm-svn: 192554
2013-10-13 17:56:10 +00:00
Vincent Lejeune
301beb80d4
R600: fix swizzle export
...
llvm-svn: 192553
2013-10-13 17:56:04 +00:00
Vincent Lejeune
533352f696
R600: Clear the VPM bit of export instructions.
...
It makes apparently no change it to set this bit or not but the
docs recommand to left it cleared.
llvm-svn: 192552
2013-10-13 17:55:57 +00:00
Benjamin Kramer
e28815758e
Fix typo: inccrementally
...
llvm-svn: 192551
2013-10-13 12:02:16 +00:00
David Majnemer
a5732844a6
Windows: Use GetModuleHandleEx instead of LoadLibrary
...
We were using an anti-pattern of:
- LoadLibrary
- GetProcAddress
- FreeLibrary
This is problematic because of several reasons:
- We are holding on to pointers into a library we just unloaded.
- Calling LoadLibrary results in an increase in the reference count of
the library in question and any libraries that it depends on and
so-on and so-forth. This is none too quick.
Instead, use GetModuleHandleEx with GET_MODULE_HANDLE_EX_FLAG_PIN. This
is done because because we didn't bring the reference for the library
into existence and therefor shouldn't count on it being around later.
llvm-svn: 192550
2013-10-13 10:34:21 +00:00
Will Dietz
ae726a93e3
TargetLowering: Don't index into empty string.
...
(This is triggered by current lit tests)
llvm-svn: 192549
2013-10-13 03:08:49 +00:00
Marshall Clow
9f21325ac7
Patch from GM to make more implicit bools explicit since we can't stop MSVC warning about this in headers and to warn is the MSVC default. No functionality change.
...
llvm-svn: 192548
2013-10-13 01:02:45 +00:00
Ismail Pazarbasi
8d0f2f3ae3
Relax header guard mismatch warning with edit distance heuristic.
...
If the edit distance between the two macros is more than 50%, DefinedMacro may not be header guard or can be header guard of another header file or it might be defining something completely different set by the build environment.
llvm-svn: 192547
2013-10-12 23:17:37 +00:00
Marshall Clow
96bb15f464
Updated status of issues and features
...
llvm-svn: 192546
2013-10-12 22:57:58 +00:00
Marshall Clow
c3776b1ce0
LWG Issue 2087: iostream_category() and noexcept
...
llvm-svn: 192545
2013-10-12 22:49:56 +00:00
Marshall Clow
d58daf9433
LWG Issue 2097: packaged_task constructors should be constrained
...
llvm-svn: 192544
2013-10-12 22:49:17 +00:00
Manuel Klimek
b212f3baa1
Automatically munch semicolons after blocks.
...
While it is mostly a user error to have the extra semicolon,
formatting it graciously will correctly format in the cases
where we do not fully understand the code (macros).
llvm-svn: 192543
2013-10-12 22:46:56 +00:00
Will Dietz
0b48c738e6
yaml2coff/elf: Touchup for compatibility.
...
* std::string::append(int, int) can be ambiguous.
* std::vector<>::data() is a C++11 feature, use ArrayRef abstraction.
llvm-svn: 192542
2013-10-12 21:29:16 +00:00
Ismail Pazarbasi
ebcc0a004b
Reverted Test commit; added new line to the end of README.txt
...
llvm-svn: 192541
2013-10-12 20:43:36 +00:00
Ismail Pazarbasi
cdc244bcd8
Test commit; added new line to the end of README.txt
...
llvm-svn: 192540
2013-10-12 20:42:31 +00:00